Cursor setup via the Kiree gateway
Connect Cursor to kiree.net: Override OpenAI Base URL, a sk-… key and catalog models in Chat and Composer.
Why the direct setup does not cover every case
Cursor normally uses its own subscription and OpenAI endpoint. Override the OpenAI Base URL to the gateway, set the key and add catalog models; Chat and Composer then run through kiree.net.
Steps to your first request
Get a key
Create a sk-… key in the kiree.net console.
Override the Base URL
Settings → Models: enable Override OpenAI Base URL, enter https://kiree.net/v1 and the key, add catalog model IDs.
Pick a model in the chat
Switch to the added model (e.g. claude-sonnet-4-6) in Chat/Composer and check the reply.
API key: "sk-…"
Models: "claude-sonnet-4-6, gpt-6-astra, gpt-4o-mini"
Custom models work in Chat and Composer. Part of Cursor agent features depend on Cursor own servers — for fully autonomous work see the terminal agents.
Check: ask a question in Chat with the selected custom model: the reply comes through the gateway, usage visible in the kiree.net console.
What to connect in Cursor
Any text model from the catalog works on one key. Below are popular options to start.
Common errors
Model does not appear in the list
IDs must be added manually in Settings → Models: copy the exact ID from the catalog.
401 / wrong key
Check the key and that Override Base URL is enabled (without it requests go to OpenAI).
Agent mode does not work with the custom model
Part of the agent features depend on Cursor servers: use Chat/Composer or terminal agents.
Frequently asked questions
How do I connect Cursor through the gateway?+
Chat and Composer with a custom key go to kiree.net directly.
Do I need a Cursor subscription?+
Working with your own key, no: usage is billed by tokens from the kiree.net balance.
Which models should I connect?+
Any catalog text model: claude-sonnet-4-6, gpt-6-astra, gpt-4o-mini, deepseek-v4-pro.
How is this different from a subscription?+
A Cursor subscription is a fixed prepaid plan; your own key pays per actual usage.
Create a key in a couple of minutes; pay only for actual usage, no subscription required.