Zed

Use Northern Inference in the Zed editor

Zed's assistant supports OpenAI-compatible providers as of v0.156+.

Config

Open Zed's settings (Cmd+,) and add:

{
  "language_models": {
    "openai": {
      "version": "1",
      "api_url": "https://northerninference.ca/v1",
      "available_models": [
        {
          "provider": "openai",
          "name": "anthropic/claude-sonnet-4.5",
          "display_name": "Claude Sonnet 4.5 (NI)",
          "max_tokens": 200000
        },
        {
          "provider": "openai",
          "name": "openai/gpt-4o",
          "display_name": "GPT-4o (NI)",
          "max_tokens": 128000
        }
      ]
    }
  },
  "assistant": {
    "default_model": {
      "provider": "openai",
      "model": "anthropic/claude-sonnet-4.5"
    }
  }
}

Then run Zed: assistant: sign in from the command palette and paste your ni_live_… key when prompted.

Caveats

issue an API key from NI's portal with a Default privacy tier set.


Source: tests/user_run_tests/integrations/zed.md. Spot a problem? Let us know.