Back to the AI model catalog
ClaudeAvailable

Claude Sonnet 5 API

RouterLab publishes this Claude model under the model ID claude-sonnet-5. The facts below come from the active RouterLab catalog.

Model ID

claude-sonnet-5

Claude Messages API

Context window

1,000,000 tokens

Maximum output

128,000 tokens

Input / 1M tokens

$2.00

Output / 1M tokens

$10.00

Cache read / 1M tokens

$0.20

Cache write / 1M tokens

$2.50

Cache read reuses tokens already stored in the provider cache. Cache write creates or stores new cache tokens.

Catalog capabilities

  • Vision input
  • Tool calling
  • Structured output
  • Reasoning

Minimal API request

curl https://api.routerlab.ch/v1/messages \
  -H "x-api-key: $ROUTERLAB_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5","max_tokens":512,"messages":[{"role":"user","content":"Hello RouterLab"}]}'