TokenRate

Claude Sonnet 4 Pricing

Balanced

Anthropic · 200K tokens context

Claude Sonnet 4 from Anthropic costs $3.00 per 1 million input tokens and $15.00 per 1 million output tokens as of May 2026. The model supports a 200,000-token context window (approximately 150,000 words) with a 16K-token maximum output. A typical 1,000-token request costs $0.0030 in input charges; a 10,000-token request costs $0.0300.

Claude Sonnet 4 pricing and capability summary
Input price$3.00 / 1M tokens
Output price$15.00 / 1M tokens
Output / input ratio5.0×
Context window200,000 tokens (~150,000 words)
Maximum output16,000 tokens
Cost per 1K tokens (input)$0.0030
TierBalanced
Last verified

Claude Sonnet 4 is the sweet spot in Anthropic's lineup — fast, affordable, and capable enough for the vast majority of production workloads. It delivers near-Opus quality at a fraction of the cost.

Reference pricing · updated 2026-05-22

Input Price

$3.00

per 1 million tokens

Output Price

$15.00

per 1 million tokens

Context Window

200K tokens

max 16K output

Cost Examples

Request TypeTokensInput CostOutput Cost
1,000 word article1,333$0.004$0.006
10-page document (2,500 words)3,333$0.01$0.015
1,000 lines of code5,000$0.015$0.0225
100K token document100,000$0.30$0.45

Output cost estimated at 30% of input token count. Use the calculator for exact figures.

Strengths

  • Excellent quality-to-price ratio
  • Fast response times suitable for production apps
  • 200K context window
  • Strong at coding, writing, and analysis

Limitations

  • Less capable than Opus on very complex multi-step tasks
  • Output limit lower than Opus

Best Use Cases

Customer-facing AI applications
Code generation and review
Content creation at scale
Chat and conversational interfaces

Calculate Claude Sonnet 4 Costs

Use the TokenRate calculator to convert any budget, token count, or text into exact Claude Sonnet 4 costs — and compare across all models.

Open Calculator →

Claude Sonnet 4 — FAQ

Related Models

Related Guides