Claude Sonnet 4.6 API

Claude Sonnet 4.6 is a language model from anthropic, available on Routeriva under the model ID claude-sonnet-4-6. You call it with the same sk- key you use for every other model — no separate anthropic account is needed.

On Routeriva it costs $0.30 per 1M input tokens and $1.50 per 1M output tokens, compared with the official list price of $3.00 / $15.00 — about 90% less. Prices shown are the lowest across the routes that serve this model (5 routes); your key is charged at its own route's price.

The context window is 1,000,000 tokens, so you can send long documents, codebases or chat histories in a single request.

Because Routeriva speaks the native Anthropic /v1/messages format, Claude Sonnet 4.6 works directly in Claude Code, Cline and the Anthropic SDK, with extended thinking and prompt caching passed through unchanged. It also works through the OpenAI-compatible /v1/chat/completions endpoint.

Anthropic's balanced reasoning model with extended thinking.

Key facts

Good for

Prices by route

RouteInput / 1MOutput / 1M
Claude KIRO ENT DISC$0.30$1.50
Claude KIRO ENTERPRISE$0.45$2.25
Claude CC 0$1.35$6.75
Claude Offical$1.50$7.50
CLAUDE CC 2$1.20$6.00

Code sample

from openai import OpenAI
client = OpenAI(base_url="https://api.routeriva.com/v1", api_key="sk-your-key")
r = client.chat.completions.create(model="claude-sonnet-4-6", messages=[{"role": "user", "content": "Hello"}])
print(r.choices[0].message.content)

Claude Code: export ANTHROPIC_BASE_URL=https://api.routeriva.com and export ANTHROPIC_AUTH_TOKEN=sk-your-key, then pick claude-sonnet-4-6.

FAQ

How much does the Claude Sonnet 4.6 API cost on Routeriva?

From $0.30 per 1M input tokens and $1.50 per 1M output tokens (official list $3.00 / $15.00, about 90% less). Live prices are on routeriva.com/models/claude-sonnet-4-6.

What model ID do I use for Claude Sonnet 4.6?

Use "claude-sonnet-4-6" as the model value with base URL https://api.routeriva.com/v1 and your sk- key.

Which endpoints support Claude Sonnet 4.6?

/v1/chat/completions, /v1/responses, /v1/messages on https://api.routeriva.com.

What is the context window of Claude Sonnet 4.6?

1,000,000 tokens.

More from anthropic