Connecting Zed to NordRouter
Zed allows you to add OpenAI-compatible provider through the interface or settings.json.
Via interface
- Open Agent Panel → Settings.
- Add OpenAI-compatible provider.
- Name:
NordRouter. - Base URL:
https://nordrouter.com/v1. - Paste the key
sk-nr-…. - 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.