claude-sonnet-5 β API, Pricing & Context Window | Vivgrid
claude-sonnet-5 on Vivgrid: Anthropic's latest Sonnet model with a 1M-token context window, Messages API, and geo-distributed acceleration.
claude-sonnet-5 is Anthropic's latest Sonnet model, delivering near-Opus coding and reasoning quality at a fraction of the price and higher speed. With a 1M-token context window and lower rates than claude-sonnet-4-6, it's the new default workhorse for production agents.
On Vivgrid, claude-sonnet-5 is geo-distributed across AMER, EMEA, and APAC and reachable on the Messages API through the same unified key as the rest of the catalog.
Specifications
| Provider | Anthropic |
| Model ID | claude-sonnet-5 |
| Best for | Coding |
| Context window | 1,000,000 tokens |
| Max output | 128,000 tokens |
| Modalities | Text, Image |
| Tool / function calling | Yes |
| Knowledge cutoff | 2026-01 |
| Acceleration | β‘ Geo-Distributed β AMER, EMEA, APAC |
Pricing
Pricing in USD per 1M tokens, matching the provider's rates.
| Input | Cached input | Output |
|---|---|---|
| $2.00 | $0.20 | $10.00 |
Quick start
Call claude-sonnet-5 through Vivgrid's unified, OpenAI-compatible endpoint. Get an API key from the Vivgrid Console.
curl https://api.vivgrid.com/v1/messages \
-H "Authorization: Bearer $VIVGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Say hello in English, Chinese and Spanish." }
],
"stream": true
}'Ideal use cases
- Everyday coding agents balancing quality, speed, and cost
- High-volume reasoning and content workflows
- Long-context analysis within a 1M-token budget
- Production assistants needing reliable tool use
Related models
- claude-opus-4-8 β the frontier Opus model
- claude-sonnet-4-6 β the prior Sonnet release
- claude-haiku-4-5 β the fastest, cheapest Claude
claude-opus-4-6
claude-opus-4-6 on Vivgrid: Anthropic's high-end Opus coding model with a 1M-token context window, Messages API, and geo-distributed acceleration.
claude-sonnet-4-6
claude-sonnet-4-6 on Vivgrid: Anthropic's balanced Sonnet model with a 1M-token context window, Messages API, and geo-distributed acceleration.