Claude Sonnet 5
Anthropic's 25 Jun 2026 mid-tier model and the workhorse of the Claude 5 family. It carries most of the Opus-line coding and agent quality at roughly a third of the price: SWE-bench Verified 82.4%, Terminal-Bench 2.1 68.1%, Artificial Analysis Intelligence Index 57.2. List price is $3/$15 with a 90% caching discount, but an introductory rate of $2/$10 runs through 31 Aug 2026 — worth locking in evaluation work before it lapses. 1M-token context and the same tool-use API as the flagship line. The default pick for high-volume agent work where Opus 5 or Fable 5 would be overkill on cost.
1M
tokens
64K
tokens
$3
per 1M tokens
$15
per 1M tokens
98
tokens/sec
Jun 2026
2026-06-25
$9.00
per 1M tokens
10.3
quality per $
Capabilities
Benchmarks
Price vs Quality
Context Window in Context
- ▸ Claude Sonnet 51M
- GPT-4.11M
- Gemini 2.5 Pro1M
- Gemini 2.0 Flash1M
- Llama 4 Maverick1M
- GPT-5.51M
- GPT-5.5 Pro1M
- Claude Opus 4.71M
Not on our gateway yet
Swfte Connect does not hold a key for Claude Sonnet 5, so there is nothing to run here. Add your own provider key and call it with the same API as every other model in this directory.
curl https://api.swfte.com/agents/v2/gateway/chat/completions \
-H "Authorization: Bearer $SWFTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic:claude-sonnet-5",
"messages": [{"role": "user", "content": "Hello"}]
}'About Claude Sonnet 5
Claude Sonnet 5 is a balanced AI model by Anthropic, released on June 25, 2026. It supports a context window of 1000K tokens and can generate up to 64K output tokens.
At $3 per million input tokens and $15 per million output tokens, its blended cost of $9.00/1M tokens places it in the premium pricing tier. Its value score of 10.3 reflects the balance of quality and cost.
Using Claude Sonnet 5 with Swfte
Access Claude Sonnet 5 through Swfte Connect, our unified LLM gateway. Connect gives you a single API for 50+ models, with automatic routing, cost optimization, and fallback handling. You can also try Claude Sonnet 5 in our AI Playground before integrating.