Loading...

Docs · Integrations

Cursor with TopxAI: override the OpenAI base URL

In Cursor, paste a TopxAI key as the OpenAI key, turn on the base URL override with https://ai.topxea.com/v1 and add the model ids you want to chat with.

Cursor lets you bring your own OpenAI-compatible endpoint for chat. The override applies to the models you add by name; Cursor's own features that run on its servers keep using Cursor's models.

Setup

  1. Open Cursor Settings → Models.
  2. Under OpenAI API Key, paste a TopxAI key (Auto route covers every model).
  3. Turn on Override OpenAI Base URL and enter https://ai.topxea.com/v1.
  4. Click Verify. Cursor sends one small request; the usage log at TopxAI shows it.
  5. Under the model list, Add model and type the catalogue id exactly: claude-sonnet-5-5, gpt-6.1-sol, grok-4.7, kimi-k3.1-pro, GLM-5.3-Abliterated. Enable the ones you want in the picker.

Cursor sends every added model to /v1/chat/completions, which serves every text model except Jev, so Claude models work here through the OpenAI format without a separate Anthropic key.

What to expect

If it fails

Models: claude-sonnet-5-5, gpt-6.1-sol · Models & pricing

Related

Previous: Codex CLI custom model provider: model_providers in config.toml for TopxAI · Next: Cline and Roo Code with TopxAI: the OpenAI-compatible provider

Other languages: 简体中文