Cursor IDE

Connect Cursor through the OpenAI-compatible Model Gate API

Cursor IDE

Configure an OpenAI-compatible provider with Base URL https://api.model-gate.com/v1 and an mg_live_... API key. Custom API endpoints may require a paid Cursor plan.

FieldValue
Connection modeOpenAI-compatible
OpenAI Base URLhttps://api.model-gate.com/v1
OpenAI API KeyYour Model Gate API key

Use a short model alias in Cursor when full model IDs are rejected.

AliasModel
ch-48claude-opus-4.8
ch-47claude-opus-4.7
ch-46claude-opus-4.6
ch-45claude-opus-4.5
ch-46sclaude-sonnet-4.6
ch-45sclaude-sonnet-4.5
ch-45hclaude-haiku-4.5
ch-g54gpt-5.4

Troubleshooting

- Verify that your Cursor plan supports custom endpoints. - Use an alias such as ch-47, not the full model ID, when required. - Confirm that the Base URL ends with /v1.