Cursor

Enter Relayvia's URL and your API key in Cursor's model settings.

Cursor connects through its OpenAI-compatible settings.

Install

Download Cursor from the official site.

Settings screen

Open Cursor Settings → Models, enter the OpenAI API Key under API Keys, turn on Override OpenAI Base URL and enter the URL below, then add the model name.

FieldValue
OpenAI API Keysk-...
Override OpenAI Base URLhttps://api.relayvia.dev/v1
Model namegpt-5.5

Replace sk-... with an API key from the console.

Environment variables

Note

This tool does not read environment variables; use the settings screen above.

Troubleshooting

SymptomCauseFix
401 invalid_api_keyWrong, disabled or expired API keyCheck the key's status in the console and copy the full string starting with sk-; create a new key if needed.
402 insufficient_quotaThe account's credits, the key's limit or the team member's limit is used up, or the account is frozenTop up, or ask an admin to raise the limit. Retrying will not help.
403 forbiddenThe key may not use the model, the source IP is not on the allowlist, or the account is disabledCheck the key's allowed models and IP allowlist; use official model names as listed by /v1/models.
429 rate_limitedToo many requestsWait for Retry-After and retry; contact us if you regularly need more.
Cannot connect (timeout, DNS error or 404)Wrong base URL or no network accessMake sure Override OpenAI Base URL is https://api.relayvia.dev/v1 and that you clicked Verify.