Skip to content

Connect Cursor to Gonka Broker

Cursor is an AI code editor. It speaks the OpenAI API, so you can point it at Gonka Broker by overriding its OpenAI base URL and adding your own model. Your model then powers Cursor’s chat panel — both Ask and Agent modes — so you can chat about code and let the agent edit files, all on open-source models.

Cursor speaks the OpenAI API, so you can override its base URL and add your own model — no extension needed.

  1. Open Cursor Settings → Models. In the OpenAI API Key section, paste your Gonka key.
  2. Enable Override OpenAI Base URL and set it to https://proxy.gonkabroker.com/v1, then click Verify. Cursor sends a test request to Gonka Broker to confirm the key and URL.
  3. Click Add Custom Model and enter an exact Gonka Broker model id — MiniMaxAI/MiniMax-M2.7 or moonshotai/Kimi-K2.6. Add as many as you want; each must match a Gonka-supported id (see Supported Models).
  4. Open the chat panel (Cmd/Ctrl + L), switch the model dropdown off Auto, and pick your model. Use it in Ask mode to chat about code or Agent mode to edit files and run commands.

Your Gonka Broker model runs everywhere in Cursor’s chat panel — Ask, Agent, Plan, and Debug. The one exception is Tab autocomplete (the inline gray suggestions), which always uses Cursor’s own built-in model and can’t be pointed at a custom endpoint.

Because Cursor is built on VS Code, you can also run Gonka Broker through a coding extension, which gives you a full agent on your model.

Cline
An autonomous coding agent that edits files and runs commands.
Integration Guide

Continue
An open-source AI code assistant.
Integration Guide coming soon

More extensions will appear here as we publish their guides.

With your Gonka Broker model selected, send any message in Ask mode. A reply confirms the connection.

  • Verify fails / model not responding — re-check that Override OpenAI Base URL saved as https://proxy.gonkabroker.com/v1 and that the model id matches a model Gonka Broker serves exactly.
  • 401 / invalid API key — wrong or paused key. Create a fresh one from Create a Gonka API Key.
  • Errors after adding the model — make sure the Gonka Broker model is the one selected in the chat dropdown (not Auto). If Cursor’s own models are also enabled, leaving only your custom model selected avoids validation conflicts.