Skip to content

Connecting programs to NordRouter ​

NordRouter works with programs that can access the OpenAI-compatible or Anthropic-compatible API. Usually three values are enough:

Field in the programWhat to indicate
Base URL / API URL / Endpointhttps://nordrouter.com/v1
API Key / Tokenyour key sk-nr-…
Model / Model IDfull ID from the directory, for example anthropic/claude-sonnet-4.6

Don't add /chat/completions

If the program specifically asks for Base URL, specify https://nordrouter.com/v1. She will add the path /chat/completions herself.

Choose your program ​

Editors and AI agents ​

Chats and mobile applications ​

API check ​

Automation and websites ​

Official SDKs ​

Frameworks ​

HTTP libraries ​

Which model to choose ​

For the first check use:

text
anthropic/claude-sonnet-4.6

When the connection works, copy another ID frommodel catalog. The name must be copied in its entirety, along with the part up to /.

Quick check without program ​

If it is not clear whether the problem is in the program or in the key, run the request in the terminal:

bash
curl https://nordrouter.com/v1/chat/completions \
  -H "Authorization: Bearer sk-nr-ВАШ-КЛЮЧ" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.6",
    "messages": [{"role": "user", "content": "Ответь одним словом: работает"}]
  }'

If curl responds but the program doesn't, check:

  1. there is no extra /chat/completions in the Base URL;
  2. in the end it didn’t work /v1/v1;
  3. Model ID is specified in full;
  4. the key starts with sk-nr- and is inserted without spaces;
  5. OpenAI Compatible mode is selected, rather than logging in through the account OpenAI.

There are more solutions on the pagecommon mistakes.