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.
Recommended configuration
| Field | Value |
|---|---|
| Connection mode | OpenAI-compatible |
| OpenAI Base URL | https://api.model-gate.com/v1 |
| OpenAI API Key | Your Model Gate API key |
Use a short model alias in Cursor when full model IDs are rejected.
| Alias | Model |
|---|---|
ch-48 | claude-opus-4.8 |
ch-47 | claude-opus-4.7 |
ch-46 | claude-opus-4.6 |
ch-45 | claude-opus-4.5 |
ch-46s | claude-sonnet-4.6 |
ch-45s | claude-sonnet-4.5 |
ch-45h | claude-haiku-4.5 |
ch-g54 | gpt-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.