Claude Sonnet 5
anthropic/claude-sonnet-5A chat model with a 1M-token context window, at $2.10 per million input tokens and $10.50 per million output tokens.
Details
- Maker
- anthropic
- Kind
- Chat
- Context window
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Input
- $2.10 per million tokens
- Cached input
- $0.21 per million tokens, 90% off
- Cache write
- $2.625 per million tokens
- Output
- $10.50 per million tokens
- Capabilities
- Reasoning, tool use, vision, file input, web search
- Takes
- Text, image, pdf
- Returns
- Text
- Zero data retention
- Yes, on every provider
- No training on requests
- Yes, on every provider
- Released
- 2026-06-29
- Newer model
- anthropic/claude-haiku-5.5Released later by the same maker, costs no more, and lists the same capabilities. Compare the two
Description
Sonnet 5 is an upgrade to Sonnet 4.6, with gains across agentic coding and professional work. It builds on the strengths of previous Sonnet models, bringing top-tier intelligence at Sonnet pricing for coding, agents, and everyday professional work at scale.
Call it
curl
curl https://phantom.codes/v1/chat/completions \
-H "Authorization: Bearer $PHANTOM_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"messages": [
{"role": "user", "content": "Hello"}
]
}'Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.