All AI models · LLM benchmarks · Methodology

Anthropic

Claude Sonnet 4

Balanced Claude model for coding, analysis, agent workflows, and cost control

Model facts

Context window
2K tokens
Maximum output
64K tokens
Cheapest paid input
$2.6 per 1M tokens
Cheapest paid output
$13 per 1M tokens
Open weights
no
Providers
18

Capabilities and modalities

reasoning, tool calling, structured output, attachments, temperature control, text, image, pdf.

Artificial Analysis benchmarks

Compare this model on the full LLM benchmark leaderboard.

ConfigurationAAICodingMathOutput tokens/s
Reasoning29.837.674.3not measured
Non-reasoning26.0not measured38.0not measured

Observed price history

  • 2026-08-24: $2.6 input / $13 output per 1M tokens

API providers

  • Poe — model id anthropic/claude-sonnet-4; $2.6 input / $13 output per 1M tokens; provider documentation
  • Cortecs (latest) — model id claude-sonnet-4; $2.9 input / $14.49 output per 1M tokens; provider documentation
  • Abacus — model id claude-sonnet-4-20250514; $3 input / $15 output per 1M tokens; provider documentation
  • DigitalOcean — model id anthropic-claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • FastRouter — model id anthropic/claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • GitHub Copilot (latest) — model id claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • Helicone (Anthropic) — model id claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • Kilo Gateway (Anthropic) — model id anthropic/claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • Merge Gateway — model id anthropic/claude-sonnet-4-20250514; $3 input / $15 output per 1M tokens; provider documentation
  • NanoGPT — model id claude-sonnet-4-20250514; $3 input / $15 output per 1M tokens; provider documentation
  • OpenCode Zen — model id claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • OpenRouter — model id anthropic/claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • Requesty (latest) (EU) — model id claude-sonnet-4@eu; $3 input / $15 output per 1M tokens; provider documentation
  • SAP AI Core — model id anthropic--claude-4-sonnet; $3 input / $15 output per 1M tokens; provider documentation
  • Vercel AI Gateway — model id anthropic/claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation
  • Vertex — model id claude-sonnet-4@20250514; $3 input / $15 output per 1M tokens; provider documentation
  • Vertex (Anthropic) — model id claude-sonnet-4@20250514; $3 input / $15 output per 1M tokens; provider documentation
  • ZenMux — model id anthropic/claude-sonnet-4; $3 input / $15 output per 1M tokens; provider documentation