Skip to content

Connecting Zed to NordRouter

Zed allows you to add OpenAI-compatible provider through the interface or settings.json.

Via interface

  1. Open Agent Panel → Settings.
  2. Add OpenAI-compatible provider.
  3. Name: NordRouter.
  4. Base URL: https://nordrouter.com/v1.
  5. Paste the key sk-nr-….
  6. Add model anthropic/claude-sonnet-4.6.

Example settings.json

json
{
  "language_models": {
    "openai_compatible": {
      "NordRouter": {
        "api_url": "https://nordrouter.com/v1",
        "available_models": [
          { "name": "anthropic/claude-sonnet-4.6", "max_tokens": 200000 }
        ]
      }
    }
  }
}

The key is entered through the Zed secure screen and is not saved in this file.

Official information:Use API access in Zed.

All programs