Skip to content

Anthropic · model passport

Anthropic: Claude Sonnet 4

claude-4-sonnet
  • 200,000 context
  • Released 2025-05-22(curated)
5/27axes covered
Best percentile
90.8SWE-bench Verified (live board)
Cohort standing
69.0median 50.3

What the data says

Benchmarked on 5 of 27 tracked axes. Every figure below is the model's own published result on that board.

Strongest axes

  • 90.8 pct — SWE-bench Verified (live board) (75.2%)
  • 89.7 pct — LiveBench (73.8%)
  • 88 pct — MMLU-Pro (Artificial Analysis) (84.2%)

Uneven: 27.5 percentile points between its best and worst axis — 90.8 pct on SWE-bench Verified (live board) versus 63.3 pct on IFBench (Artificial Analysis).

  • SWE-bench Verified (live board)90.8 pct75.2%Verify →
  • LiveBench89.7 pct73.8%Verify →
  • MMLU-Pro (Artificial Analysis)88 pct84.2%Verify →
  • LiveCodeBench (Artificial Analysis)70.2 pct65.5%Verify →
  • IFBench (Artificial Analysis)63.3 pct54.7%Verify →
  • OverallNot benchmarked
  • WebDev ArenaNot benchmarked
  • Vision ArenaNot benchmarked
  • Factuality ArenaNot benchmarked
  • Search ArenaNot benchmarked
  • Document ArenaNot benchmarked
  • Agent ArenaNot benchmarked
  • GPQA DiamondNot benchmarked
  • AIME (math)Not benchmarked
  • FrontierMathNot benchmarked
  • SimpleQA VerifiedNot benchmarked
  • ARC-AGI-2Not benchmarked
  • Humanity's Last ExamNot benchmarked
  • SimpleBenchNot benchmarked
  • BFCL v4 (function calling)Not benchmarked
  • Terminal-Bench 4.0Not benchmarked
  • HHEM Hallucination (Vectara)Not benchmarked
  • SWE-bench VerifiedNot benchmarked
  • Terminal-BenchNot benchmarked
  • CodingNot benchmarked
  • Instruction followingNot benchmarked
  • Hard promptsNot benchmarked

Percentiles are the model's standing within each board's own population. Axes marked "not benchmarked" have no published result for this model — that is an absence of data, not a low score.

How to run it

Use it hosted

API model IDanthropic/claude-sonnet-4
Context length200,000 tokens
Max output64,000 tokens
Acceptsimage, text, file
Input price$3 per 1M tokens
Cached input price$0.30 per 1M tokens
Output price$15 per 1M tokens

API parameters this endpoint supports

Include reasoningMax tokensReasoningStop sequencesTemperatureTool choiceTool callingTop-kTop-p

Example request

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-4","messages":[{"role":"user","content":"Hello"}]}'

View on OpenRouter →

Identifiers, limits and prices are synced from the upstream source shown above. Any field we haven't synced is left out entirely rather than guessed.

  • claude-4-sonnet-20250514-thinking-64k stands at 69 (raw mean 80.4) — measured on 5 of 27 axes.

    standingtemplateVerify →
  • claude-4-sonnet-20250514-thinking-64k stands at 69 versus a cohort median of 50.3 across 146 models released within 180 days — above the peer median.

    cohorttemplateVerify →

Every claim is a computed fact from the current board data, phrased by a low-temperature model call and rejected by a validation gate if any number is not in the source row. How the leaderboards work →