- Text
- Billed per token
Pricing
Input price
$0.15
Original price $3.0094% offper 1M tokens
Output price
$0.15
Original price $15.0098% offper 1M tokens
Cache read price
$0.15
Original price $0.3048% offper 1M tokens
Cache write price
—
per 1M tokens
- Compatible APIs
- Anthropic Messages
- OpenAI Chat
- Provider
- Anthropic
- Currency
- USD
Quick start
Call it with the exact model ID below. Replace NIGHTROUTER_API_KEY with your API key.
curl https://api.nightrouter.ai/v1/messages \ -H "x-api-key: $NIGHTROUTER_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{"model":"claude-sonnet-4-6","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'
curl https://api.nightrouter.ai/v1/chat/completions \ -H "Authorization: Bearer $NIGHTROUTER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-4-6","messages":[{"role":"user","content":"Hello"}]}'