Claude Sonnet 4
Toolsanthropic/claude-sonnet-4Vision · 1M context · May 2025 · 2 upstreamsupstream上游
Claude Sonnet 4 is Anthropic's versatile model combining strong reasoning, coding and broad instruction following. It has a 1M-token context window, 64,000 max output tokens, tool use, and text, image and file input.
Needs your own keyTo use Claude Sonnet 4, add a key from OpenCode Zen or Cline. AnyRouter adds no fee.
- contextngữ cảnh上下文
- 1M
- inputđầu vào输入 / 1M (list)
- $3.00
- outputđầu ra输出 / 1M (list)
- $15.00
- routestuyến路由
- 2
- speed, 24htốc độ, 24h速度,24h
- No data yetChưa có dữ liệu暂无数据
Upstreams
2- 1OpenCode ZenYour keynot addedBilled to your key
- 2ClineYour keynot addedBilled to your key
Quick start
curl https://anyrouter.dev/api/v1/chat/completions \
-H "Authorization: Bearer $ANYROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-4",
"messages": [
{
"role": "user",
"content": "Say hi in 3 words."
}
]
}'Details
- Owner
- Anthropic
- Kind
- Vision
- Released
- May 2025
- Context
- 1M
- Data policy
- Provider retention
- Endpoint
/api/v1/chat/completions
- Tool-calling assistants
- Image + text questions
- Long-document Q&A (1M)
Upstreams and pricingUpstream và giá上游与价格
Share cards3 images



AliasesBí danh别名 (5)
claude-sonnet-4claude-sonnet-4-0anthropic/claude-sonnet-4-0claude-sonnet-4-20250514anthropic/claude-sonnet-4-20250514
Uptime + latency
—recent checks · all routes
No health checks recorded for this model yet.
24h
No traffic in the last 24h.
Across all upstreams
Loading usage…