Compatible tools
AI editorWorks

Cursor · Gatelum

Cursor can send requests to its own OpenAI-compatible address. A Gatelum key works in chat and the agent, but not in Tab suggestions.

Connection values · not an app screenshot

Example setup

ApplicationCursor
GatelumAPI gateway
Model IDdeepseek/deepseek-v4.1-flash
Base URL
https://api.gatelum.com/v1
Your API key
glt_YOUR_KEY

Connection steps

  1. In Cursor open Settings (Ctrl+, on Windows and Linux; Cmd+, on macOS), then the Models tab.

  2. Tick Override OpenAI Base URL, then paste our address with /v1.

  3. Paste the Gatelum key into OpenAI API Key: requests go to the address above.

  4. Add the model ID to the list by hand — Cursor does not fetch the Gatelum catalog.

  5. Make sure chat answers before you switch agent mode on, since that mode depends on function calling.

Settings → Models
Override OpenAI Base URL: https://api.gatelum.com/v1
OpenAI API Key:           glt_YOUR_KEY
Model:                    deepseek/deepseek-v4.1-flash

Connection check

Send one short request: it checks the key, the address and the chosen model.

curl
curl https://api.gatelum.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer glt_YOUR_KEY" \
  -d '{"model":"deepseek/deepseek-v4.1-flash","messages":[{"role":"user","content":"ping"}]}'

A normal answer means the setup is correct. 401 points to the key, 404 to the address or model, 400 to the request format.

Good to knowCursor models keep serving Tab and inline suggestions — the editor is built that way, and your key cannot redirect them. For a full agent within Cursor, add Cline or Roo Code; editor preferences remain untouched.
Gateway capabilities and limitsAgentic modes work because the gateway can call functions. JSON output (response_format) is accepted on OpenAI-compatible routes, while a model reachable only through a direct Anthropic or Google connection answers unsupported_capability. The retired functions format behaves differently: it returns parameter_not_supported, so no parameter disappears without an explanation. Only models the catalog tags "Understands images" may accept pictures — they travel as an image_url part holding a data:image/png;base64,… address (PNG, JPEG and WebP are allowed, a file may weigh up to 5 MB, and a request carries at most 50). Remote addresses are never downloaded, while a model lacking the tag answers bad_request. Each error, bad_request as well as parameter_not_supported, states the reason plainly.
Integration details

Cursor lets you replace the OpenAI address in model settings. That makes Gatelum available in chat and the agent while the rest of the editor stays unchanged.

What works through Gatelum

Chat and the agent use your address and key. Function calling is supported, so the agent can read and edit files.

Next step

Choose a model for your task

Pick a task and a priority to see a recommended model, two alternatives, and the reason behind the choice.

Open model catalog

Common questions

Why do Tab suggestions ignore my key?

Tab and inline suggestions run on Cursor models; the Base URL setting does not affect them.

Can the whole agent use Gatelum?

Yes, enable Override OpenAI Base URL and add the model ID. For an agent inside Cursor, install Cline or Roo Code.

What if no models appear?

Cursor does not load the Gatelum catalog. Enter the model ID by hand, with the prefix before “/”.

Need a key?

Create an account and issue a key in the cabinet.