Overview
Cursor can work with EURI through its OpenAI-compatible provider settings. This lets you use your EURI API key and route requests through EURI’s unified endpoint instead of calling OpenAI directly. Use this setup if you want to:- Access EURI models from inside Cursor.
- Keep a single API gateway for billing and usage tracking.
- Switch providers through EURI without changing your Cursor workflow.
Prerequisites
Before setting up Cursor, make sure you have:- A valid EURI API key from euron.one/euri.
- Access to the EURI base URL:
Configure Cursor
- Open Cursor settings.
- Go to the Models section.
- Under OpenAI, paste your EURI API key into the OpenAI API key field.
- Enable Override OpenAI Base URL (when using key).
- Set the base URL to:
- Save the settings.
- If your Cursor version supports custom models, add the EURI model ID you want to use.
gpt-4o-minigemini-2.5-flashclaude-sonnet-4-6llama-4-scout-17b-16e-instruct
Verify the integration
After saving the configuration:- Open a new Cursor chat.
- Select the model you configured through the OpenAI provider.
- Send a simple prompt like:
How it works
Cursor sends OpenAI-compatible requests, and EURI routes them to the selected upstream model provider. That means you can keep using a familiar Cursor workflow while getting access to multiple providers behind one API.Troubleshooting
Verification fails in Cursor
Try the following:- Make sure your EURI API key is valid and active.
- Confirm the base URL is exactly
https://api.euron.one/api/v1/euri. - Ensure at least one OpenAI-compatible model is enabled in Cursor’s model settings.
Model not available
- Double-check that the model ID exactly matches a model from Models.
- If your Cursor version does not let you add a custom model ID, use one of the supported OpenAI provider model slots available in your current Cursor build.
Requests fail after setup
- Check that your account has sufficient quota or wallet balance for premium models.
- Try a non-premium model first, such as
gpt-4o-miniorgemini-2.5-flash. - If Cursor has network compatibility issues with a custom base URL, switch Cursor’s network compatibility mode to HTTP/1.1 and retry.
Recommended models for Cursor
| Use case | Recommended model |
|---|---|
| Fast everyday coding help | gpt-4o-mini |
| Large-context coding tasks | gemini-2.5-flash |
| Higher-quality reasoning | claude-sonnet-4-6 |
| Open-source option | llama-4-scout-17b-16e-instruct |
Next steps
- Authentication — Learn how EURI API keys work.
- Models — Browse all available model IDs.
- Chat Completions — See the underlying API format.