# Claude Sonnet 4 Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%), Sonnet 4 balances capability and computational efficiency, making it suitable for a broad range of applications from routine coding tasks to complex software development projects. Key enhancements include improved autonomous codebase navigation, reduced error rates in agent-driven workflows, and increased reliability in following intricate instructions. Sonnet 4 is optimized for practical everyday use, providing advanced reasoning capabilities while maintaining efficiency and responsiveness in diverse internal and external scenarios. Read more at the [blog post here](https://www.anthropic.com/news/claude-4) ## Model Information - **Organization**: [Anthropic](/llm.txt) - **Slug**: claude-sonnet-4 - **Available at Providers**: 64 - **Release Date**: May 22, 2025 ### Benchmark Scores - AIME 2025: 0.705 - GPQA: 0.754 - SWE Bench: 0.727 - Terminal: 0.355 ## Providers | Provider | Name | $ Input (per 1M) | $ Output (per 1M) | Free | Link | |----------|------|-----------------|------------------|------|------| | [AIMLAPI](/llm/aimlapi.txt) | Claude 4 Sonnet | | | | | | [FastRouter](/llm/fastrouter.txt) | Anthropic: Claude Sonnet 4 | 3.00 | 15.00 | | [View](https://fastrouter.ai/models/anthropic/claude-sonnet-4-20250514) | | [Helicone](/llm/helicone.txt) | Anthropic: Claude Sonnet 4 | 3.00 | 15.00 | | [View](https://www.helicone.ai/model/claude-sonnet-4) | | [GitHub Copilot](/llm/githubcopilot.txt) | Claude Sonnet 4 | 0.00 | 0.00 | Yes | | | [Abacus](/llm/abacus.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [Google Vertex AI](/llm/googlevertex.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [Cortecs](/llm/cortecs.txt) | Claude Sonnet 4 | 3.31 | 16.54 | | | | [Cloudflare AI Gateway](/llm/cloudflareaigateway.txt) | Claude Sonnet 4 (latest) | 3.00 | 15.00 | | | | [Anthropic](/llm/anthropic.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [Monica AI](/llm/monica.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [Nano-GPT](/llm/nanogpt.txt) | Claude 4 Sonnet | | | | | | [Nano-GPT](/llm/nanogpt.txt) | Claude 4 Sonnet Thinking | | | | | | [OpenRouter](/llm/openrouter.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | [View](https://openrouter.ai/anthropic/claude-4-sonnet-20250522) | | [OpenCode Zen](/llm/opencode.txt) | claude-sonnet-4 | 6.00 | 22.50 | | | | [Poe](/llm/poe.txt) | Claude-Sonnet-4 | 2.60 | 13.00 | | [View](https://poe.com/claude-sonnet-4/api) | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [Requesty](/llm/requesty.txt) | | 3.00 | 15.00 | | | | [ValorGPT](/llm/valorgpt.txt) | Claude Sonnet 4 | | | | [View](https://www.valorgpt.com/models/anthropic-claude-sonnet-4) | | [Vercel AI Gateway](/llm/vercel.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [Yupp](/llm/yupp.txt) | Claude Sonnet 4 (Vertex AI) | | | | | | [Yupp](/llm/yupp.txt) | Claude Sonnet 4 Online | | | | | | [Yupp](/llm/yupp.txt) | Claude Sonnet 4 (OpenRouter) | | | | | | [ZenMUX](/llm/zenmux.txt) | Anthropic: Claude Sonnet 4 | 3.00 | 15.00 | | | | [Routeway](/llm/routeway.txt) | Anthropic: Claude Sonnet 4 | 2.70 | 13.50 | | [View](https://routeway.ai/models) | | [Glama](/llm/glama.txt) | claude-sonnet-4-20250514 | 3.00 | 15.00 | | [View](https://glama.ai/gateway/models/claude-sonnet-4-20250514) | | [LangDB](/llm/langdb.txt) | claude-sonnet-4 | | | | [View](https://langdb.ai/app/models) | | [Kilo Code](/llm/kilocode.txt) | Anthropic: Claude Sonnet 4 | 3.00 | 15.00 | | | | [GMI Cloud](/llm/gmi.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [RedPill](/llm/redpill.txt) | Anthropic: Claude Sonnet 4 | 3.00 | 15.00 | | | | [302.AI](/llm/302ai.txt) | claude-sonnet-4-20250514 | 3.00 | 15.00 | | [View](https://302ai-en.apifox.cn/api-207705109) | | [Google Vertex AI](/llm/googlevertex.txt) | Claude Sonnet 4 | | | | | | [Blackbox AI](/llm/blackboxai.txt) | Anthropic: Claude Sonnet 4 | 3.00 | 15.00 | | | | [DeepInfra](/llm/deepinfra.txt) | claude-4-sonnet | 3.30 | 16.50 | | | | [JetBrains AI](/llm/jetbrains.txt) | Claude 4 Sonnet | | | | [View](https://www.jetbrains.com/help/ai-assistant/supported-llms.html) | | [Monica AI](/llm/monica.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [Monica AI](/llm/monica.txt) | Claude Sonnet 4 | 3.00 | 15.00 | | | | [Nano-GPT](/llm/nanogpt.txt) | Claude 4 Sonnet Thinking (1K) | | | | | | [Nano-GPT](/llm/nanogpt.txt) | Claude 4 Sonnet Thinking (8K) | | | | | | [Nano-GPT](/llm/nanogpt.txt) | Claude 4 Sonnet Thinking (32K) | | | | | | [Nano-GPT](/llm/nanogpt.txt) | Claude 4 Sonnet Thinking (64K) | | | | | | [Replicate](/llm/replicate.txt) | claude-4-sonnet | | | | | | [Arena AI](/llm/arenaai.txt) | | | | | | | [Jiekou.AI](/llm/jiekou.txt) | claude-sonnet-4-20250514 | 2.70 | 13.50 | | | | [Warp](/llm/warp.txt) | Claude Sonnet 4 | | | | [View](https://docs.warp.dev/agent-platform/capabilities/model-choice) | | [RouterLink](/llm/routerlink.txt) | Claude Sonnet 4 | | | | | | [CometAPI](/llm/cometapi.txt) | Claude 4 Sonnet | 2.40 | 12.00 | | | | [Windsurf](/llm/windsurf.txt) | Claude Sonnet 4 | | | | | | [Windsurf](/llm/windsurf.txt) | Claude Sonnet 4 (Thinking) | | | | | | [ApiYI](/llm/apiyi.txt) | claude-sonnet-4-20250514 | | | | | | [ApiYI](/llm/apiyi.txt) | claude-sonnet-4-20250514-thinking | | | | | | [WaveSpeed AI](/llm/wavespeed.txt) | claude-sonnet-4 | 3.30 | 16.50 | | | | [Writingmate](/llm/writingmate.txt) | Anthropic: Claude Sonnet 4 | | | | [View](https://writingmate.ai/models/anthropic/claude-sonnet-4) | | [LLM Stats](/llm/llmstats.txt) | Claude Sonnet 4 | | | | | --- [← Back to all providers](/llm.txt)