Skip to main content
Zed supports custom OpenAI-compatible providers via settings.json. Models must be explicitly declared (Zed does not perform discovery), and the API key must be entered once via the Agent Panel or an environment variable.

Advanced Model Options

Troubleshooting

  • Provider not found — Invalid settings.json (comma/parentheses). Check zed: open log.
  • 401 — No key has been provided for the hostlinku provider, or the environment variable was exported after Zed Open; restart Zed.
  • Tool call ignored — make sure capabilities.tools: true is set for that model.
  • Full context is processed too quickly — max_tokens is too small compared to the model’s context_window; Adjust according to the catalog.