Compatible tools
AI editorWorks

Zed · Gatelum

Zed connects models through an OpenAI-compatible provider: the address and model list live in settings.json, the key is stored separately. The setup covers the agent, Inline Assistant and summaries, but not Edit Prediction.

Connection values · not an app screenshot

Example setup

ApplicationZed
GatelumAPI gateway
Model IDopenai/gpt-5.6-terra
Base URL
https://api.gatelum.com/v1
Your API key
glt_YOUR_KEY

Connection steps

  1. Open settings.json (macOS and Linux: ~/.config/zed/settings.json, Windows: %APPDATA%\Zed\settings.json); the provider panel opens with agent: open settings.

  2. Add the gatelum provider under language_models.openai_compatible: api_url holds the gateway address with /v1, available_models holds name with the catalog model ID and max_tokens with its context window.

  3. Enter the Gatelum key in the provider settings — it goes to the system keychain; alternatively set the GATELUM_API_KEY variable.

  4. Open the agent panel and pick the Gatelum model; restart Zed if the list did not refresh.

{
  "language_models": {
    "openai_compatible": {
      "gatelum": {
        "api_url": "https://api.gatelum.com/v1",
        "available_models": [
          {
            "name": "openai/gpt-5.6-terra",
            "display_name": "GPT-5.6 Terra",
            "max_tokens": 372000
          }
        ]
      }
    }
  }
}

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":"openai/gpt-5.6-terra","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 knowThe key is not written to settings.json: Zed reads it from the provider settings (system keychain) or from the GATELUM_API_KEY variable, whose name is the provider ID gatelum plus the _API_KEY suffix. max_tokens on a model is the context window, not the output limit. Defaults are tools on and images off; for a model marked “Understands images” turn on images in the capabilities block.
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.