claude-sonnet-5ChatExamples verified 2026-09-25Claude Sonnet 5
Claude's workhorse at $3 / $15 with 1M context. The default choice for everyday coding in Claude Code and for the API.
- Official price
- $3 / $15/ 1M tokensInput / output
- Context window
- 1M tokens1,000,000
Notes
- Anthropic protocol only: the Base URL has no /v1, and /v1/chat/completions returns 404.
Pricing
Official price in USD. Actual charge = official price × group multiplier.
- Input
- $3 / 1M tokens
- Cached input
- $0.30 / 1M tokens
- Output
- $15 / 1M tokens
Endpoints
- POST
/v1/messages - POST
/v1/messages/count_tokens