Add Quobit to the Zed editor as an OpenAI-compatible LLM provider. Tested with Zed 1.27.0.

Step 1 — Install

Install Zed from zed.dev.

Step 2 — Provide your API key

Create a key under API keys. Zed stores it in your system keychain, not in settings.json.

Create your own key under API keys and treat it as private: do not commit it, paste it into tickets or chat, or write it into logs.

Step 3 — Add the provider

Press Ctrl+Shift+P and run "agent: open settings", then click API Keys → Configure Providers. Zed opens Settings → AI → General: under LLM Providers click + Add Provider, choose OpenAI under Compatible APIs, fill in these fields and click Save Provider.

FieldValue
Provider NameQuobit Gateway
API URLhttps://api.quobit.ai/v1
API Key<your-api-key>
Model Nameglm-5.2
Max Completion Tokens8192
settings.json (written by Zed)
{
  "language_models": {
    "openai_compatible": {
      "Quobit Gateway": {
        "api_url": "https://api.quobit.ai/v1",
        "available_models": [
          {
            "name": "glm-5.2",
            "max_tokens": 200000,
            "max_completion_tokens": 8192,
            "capabilities": { "tools": true, "images": false, "parallel_tool_calls": false }
          }
        ]
      }
    }
  }
}

Zed writes this block into settings.json for you; the key is not in it.

Step 4 — Test the connection

Open the Agent panel, pick glm-5.2 from Quobit Gateway and send a short prompt.

Notes

  • Zed fills in a 200000-token context window for the model. Each request is still limited to the per-request context of your plan; on the Lite plan, lower max_tokens in settings.json to 128000.

Common errors

  • "Authentication Failed": update the key in Settings → AI → General → LLM Providers.
  • 404 or model not found: use a public model alias enabled for your plan, exactly as shown on the Models page.
  • 400 context too long: the conversation plus the requested output is longer than your plan allows per request. Start a new chat or shorten the conversation.
  • 429 rate_window_exceeded: you have reached your plan's 5-hour cost window. Wait for it to roll over, or upgrade your plan.