Skip to content

Connect Zed to Gonka Broker

Zed is a fast, multiplayer code editor with a built-in AI agent. It supports OpenAI-compatible providers natively, so you can add Gonka Broker in its agent settings and run the agent on open-source models — no extension needed.

  1. Open the agent settings: run agent: open settings from the Command Palette (Cmd/Ctrl + Shift + P). Under LLM Providers, click Add Provider and choose OpenAI (this means an OpenAI-compatible API).
  2. In the Add LLM Provider dialog, fill in:
    • Provider NameGonka Broker
    • API URLhttps://proxy.gonkabroker.com/v1
    • API Key — your gnk-prx-… key
  3. Under Models, click Add Model and enter a Gonka Broker model id in Model Name — for example moonshotai/Kimi-K2.6. It must match a Gonka-supported id exactly (see Supported Models). Keep the token defaults (or set them to the model’s context window) and tick Supports tools so the agent can call tools; leave the other capability boxes at their defaults. Use Add Model again for any other model, e.g. MiniMaxAI/MiniMax-M2.7.
  4. Click Save Provider.

To change the provider later, edit it in your settings.json (run zed: open settings file — Zed saves the provider there), or remove it and add it again; there is no edit button in the UI.

Open the Agent panel, pick a Gonka Broker model from the model selector, and start a conversation or let the agent edit files and run commands — all on your open-source model.

In the Agent panel, with a Gonka Broker model selected, send any message. A reply confirms the connection.

  • Provider or models don’t appear — re-open agent: open settings and confirm the provider saved with API URL exactly https://proxy.gonkabroker.com/v1.
  • 401 / invalid API key — wrong or paused key, or it wasn’t saved. Re-enter it, or create a fresh one from Create a Gonka API Key.
  • Model not found / unsupported — the Model Name must match a model Gonka Broker serves exactly (see Supported Models).