Browse documentation

API Reference

Complete nRouter API reference: explore OpenAI and Anthropic compatible endpoints for chat completions, embeddings, audio, and intelligent multi-model routing.

nRouter exposes an OpenAI- and Anthropic-compatible API at https://api.nrouter.ai. Any SDK that talks to either provider works by changing the base URL and the key.

Try any endpoint from its page

Every endpoint page below carries a live request panel — set your key, send a real request, read the cost straight off the response headers.

Endpoints

15 of 15 endpoints

Video creation is billed; polling and download are not — you are charged once, when the job starts.

Authentication

Every request takes your virtual key as a bearer token:

curl https://api.nrouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $NROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Hello!"}]}'

Guides

Start with Chat Completions — streaming, function calling, and the request shape in full.

Was this page helpful?