Cursor
Cursor lets you bring your own OpenAI key for its chat and agent, and send those requests to a different base URL. Point it at Inferray to use any model in the catalogue on your Inferray balance.
Set it up
- Sign in to Cursor and open Cursor Settings → Models → API Keys.
- Under OpenAI API Key, paste your Inferray key.
- Turn on Override OpenAI Base URL and enter
https://api.inferray.com/v1. - Click Verify.
- Under Models, add a custom model with an ID from the catalogue, such as
claude-sonnet-4-6orgpt-5.5, and turn it on.
Select that model explicitly in a new chat and send a short prompt. The request appears in your logs within a moment.
What uses your key
Your key is used for chat and agent requests with the custom model. Tab completion and some background features keep using Cursor's own models, and Cursor still needs its own account sign-in. Requests made with your key are billed to your Inferray project, not your Cursor plan.
Troubleshooting
- Verification fails — check the base URL ends in
/v1and the key is active. - A model is rejected — copy its ID exactly from the catalogue; use a model with tool support for agent mode.
- Other providers stop working — the OpenAI base URL override applies to every OpenAI-format model in Cursor. Turn it off to go back.
Models that work well here
- Claude Opus 5.5$4 in · $20 out per 1M tokens
- Claude Sonnet 5.5$2 in · $10 out per 1M tokens
- GPT-6.1 Sol$2 in · $10 out per 1M tokens
- Gemini 4 Argon$4 in · $20 out per 1M tokens
- Kimi K3$3 in · $15 out per 1M tokens
- GLM-5.3$0.77 in · $2.42 out per 1M tokens
- Gemini 3.8 Flash$0.75 in · $3.75 out per 1M tokens
- DeepSeek V4.1 Flash$0.15 in · $0.6 out per 1M tokens
- Run it on a Token Plan$20 a month buys $60 of usage across these models, with no 5-hour windows or weekly caps.