Anthropic: Claude Sonnet 4

Public pricingIntelligence 77/100Huge memoryVisionDeep thinkingTool use

Anthropic: Claude Sonnet 4 is a multimodal model for coding, debugging, and technical work. It combines multimodal input handling and strong coding performance with a 1M+ tokens context window and a premium profile. Use it for coding, debugging, and technical writing when accuracy, context, and control matters.

Input

$3.00/1M

Output

$15.00/1M

Cached

$0.30/1M

Batch

$1.50/1M

Calculate your Claude Sonnet 4 bill.

Set your workload — see cost at your exact volume.

What would Claude Sonnet 4 cost you?

Adjust the workload to see your monthly bill.

1,00010,00050,000250,0001M10M

Technical specifications

Claude Sonnet 4 at a glance.

Memory

1,000,000

tokens

Max reply

64,000

tokens

Memory tier

Huge

multiple books or whole repositories

Tokenizer

anthropic

Released

May 2025

Training cutoff

Mar 2025

Availability

Public pricing

Status

active

Benchmarks

Quality benchmarks

Independent evaluations from public leaderboards. Higher is better.

  • gpqa_diamond

    75
  • swe_bench_verified

    72.7
  • aime_2025

    70
  • humanitys_last_exam

    7.76

What it can do

Capabilities & limits.

  • Understands images
  • Deep step-by-step thinking
  • Uses tools / calls functions
  • Strict JSON output
  • Streams replies
  • Fine-tunable on your data

When to pick Claude Sonnet 4

  • Multi-step reasoning, research agents, or hard math.
  • Screenshot analysis, image understanding, or document OCR.
  • Agentic workflows that call tools or APIs.
  • Long documents, full codebases, or extensive chat histories.

When to look elsewhere

  • Very latency-sensitive, real-time apps where every millisecond counts.

FAQ

Claude Sonnet 4 — the questions we see most.

Pricing, capabilities, alternatives — generated from the same data that powers the calculator above.

Get instant answers from our AI agent

At a typical workload of 50,000 conversations a month with 1,500-token prompts and 800-token replies, Claude Sonnet 4 costs roughly $825 per month. Input is $3.00 /1M tokens and output is $15.00 /1M tokens.
Claude Sonnet 4 has a 1,000,000-token context window (huge memory — multiple books or whole repositories). That means you can fit about 187,500 words of input and history in a single call.
Beyond text generation, Claude Sonnet 4 supports understanding images, deep step-by-step reasoning, calling functions / tools, strict JSON output. It streams replies by default.
Claude Sonnet 4 was released in May 2025, with training data cut off around March 2025.
Models in a similar class include Claude 3.7 Sonnet (thinking), Claude Sonnet 4.5, Claude Sonnet 4.6. The "Similar models" section below this FAQ links into each.

Still unsure?

Compare Claude Sonnet 4 against 100+ other models.

Open the full wizard — pick a use case, set your usage, and see side-by-side monthly costs in under a minute.