Cursor

Step 1. Open Cursor Settings

In Cursor, open Settings and go to the Models tab. Scroll down to the API Keys section.

Models settings in Cursor
Models settings in Cursor

Step 2. Add Your SUNRISE API Key

Paste your SUNRISE API Key into the OpenAI API Key field, then set Override OpenAI Base URL to:

https://maas.phoeniqs.com/v1

Make sure both toggles are enabled (green).

SUNRISE API key and base URL in Cursor
SUNRISE API key and base URL in Cursor

Step 3. Add Your Model

At the bottom of the model list click on "Add a model". Get the exact model name from the SUNRISE Active Models list. For example:

inference-apertus-70b
inference-gpt-oss-120b
inference-glm5

Recommended: Use inference-glm5 for the best Cursor experience. GLM 5 is optimized for agentic engineering and long-horizon coding, and is the only model that fully supports Agent, Chat, and Plan modes in Cursor.

Paste the name into Cursor and enable the toggle for the newly added model.

Add SUNRISE model name in Cursor
Add SUNRISE model name in Cursor

Step 4. Test It

Open Ask mode with Cmd+L / Ctrl+L and select your model.

Send a message. All requests now route through your SUNRISE API, which uses our sovereign GPUs hosted in Switzerland.

Troubleshooting

Issue Solution
Model not responding Check base URL ends with /v1 and key has model access
Auth errors Regenerate key; ensure it starts with sk-
Agent mode not working Use inference-glm5; other models only support Ask and Plan modes