Claude Sonnet 4
Claude Sonnet 4 balances impressive performance for coding with the right speed and cost for high-volume use cases: Coding: Handle everyday development tasks with enhanced performance-power code reviews, bug fixes, API integrations, and feature development with immediate feedback loops. AI Assistants: Power production-ready assistants for real-time applications—from customer support automation to operational workflows that require both intelligence and speed. Efficient research: Perform focused analysis across multiple data sources while maintaining fast response times. Ideal for rapid business intelligence, competitive analysis, and real-time decision support. Large-scale content: Generate and analyze content at scale with improved quality. Create customer communications, analyze user feedback, and produce marketing materials with the right balance of quality and throughput.
模态能力
价格明细
| 类型 | 费率 |
|---|---|
| 输入 | $3.60 每百万 Tokens |
| 输出 | $18.00 每百万 Tokens |
支持参数
API 使用示例
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "anthropic/claude-sonnet-4",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'