Connect Cursor to SuJin AI
This path sends Cursor’s custom models to an OpenAI-compatible base URL. The key is the one you create in the SuJin console. The connection is still not the official OpenAI or Anthropic console.
Calls use ordinary HTTPS. The OpenAI-compatible base URL is https://sujinai.com/v1. The Anthropic protocol and Claude Code use https://sujinai.com, with no /v1 suffix.
What to enter
- Register at /register, create an API key, and add credit at /purchase.
- Open Cursor’s Settings → Models.
- Paste the SuJin key into OpenAI API Key.
- Turn on Override OpenAI Base URL.
- Enter
https://sujinai.com/v1. The address without that suffix is the Anthropic base URL used by Claude Code, not this field. - Add a model id from the catalog. The homepage examples are
gpt-6.2-solandclaude-sonnet-5-5. Card names and USD rates are on Pricing.
OpenAI API Key: YOUR_API_KEY
Override OpenAI Base URL: https://sujinai.com/v1
Model (GPT): gpt-6.2-sol
Model (Claude): claude-sonnet-5-5
Check it
Open Cursor chat, select the model you added, and send a short message. That chat uses the base URL you set. Tab completion still uses Cursor’s own models. Custom models require a paid Cursor plan.
If chat returns an error, check three things: the URL ends in /v1 with nothing after it, the key is complete, and the model id matches the catalog. Then send the error text, without the key, to [email protected].
Cline and Cherry Studio
Both clients use the same OpenAI-compatible URL and key.
- Cline: in the VS Code extension settings, set API Provider to OpenAI Compatible, Base URL to
https://sujinai.com/v1, and Model to an id from the catalog. - Cherry Studio: in Settings → Model Services, add an OpenAI provider, set the API address to
https://sujinai.com/v1, add models, and turn on the enable switch at the top right.
Claude Code uses a different base URL. See Claude Code.
Related pages
FAQ
Which base URL does Cursor use?
https://sujinai.com/v1, in Override OpenAI Base URL under Settings → Models.
Which model ids should I add?
Ids from the catalog. The homepage examples are gpt-6.2-sol and claude-sonnet-5-5. Cards and USD rates are on Pricing. The catalog is GPT and Claude only.
Why doesn’t Tab completion use SuJin?
Tab completion still uses Cursor’s own models. Custom models are for chat, and they require a paid Cursor plan.
How do Cline or Cherry Studio connect?
Use the same https://sujinai.com/v1 URL and SuJin key. Cline’s provider is OpenAI Compatible. Cherry Studio adds an OpenAI provider.
Register and create a key
Register with your email, create an API key in the console, then add credit. You can also reach [email protected].
Register to start Add credit