Anthropic
·Released on May 22, 2025

Claude Sonnet 4 API Benchmarks, Pricing & Provider Data

Compare Claude Sonnet 4 with another model

Choose a model to open its comparison page.

Share on X
LLM

Claude Sonnet 4 benchmark, API pricing, and provider data cover 222 API providers, with prices starting at $0.0027/request. Claude Sonnet 4 free API options are available from 5 providers. The page also shows measured API speed and first-token latency.

Anthropic Claude Sonnet 4 balances speed and intelligence for coding, analysis, and enterprise automation, with strong instruction following and long-context performance.

Quality
#44of 100
58.0
LMSpeed score
Speed
34char/s
4.93 s
Cost
#156of 181
$0.0027/ 1M · 8:1 in:out
$0.0004 in · $0.0023 out

Category Performance

Observed-capability estimates with uncertainty reported separately from independent benchmark families.

Coverage
6 / 8
Methodology
V3.0
Category PerformanceObserved-capability estimates with uncertainty reported separately from independent benchmark families.Agents44.4Coding46.4Reasoning47.4Knowledge49.4Math52.9Multilingual-Multimodal-Instruction following45
#1Math52.9Estimated2/4 Measured dimensions
80% interval: 41.164.7
foundational math53.9
math_500 · math_500
competition math51.9
aime · aime
proof frontierPrior only
applied tool mathPrior only
#2Knowledge49.4Provisional1/4 Measured dimensions
80% interval: 33.465.4
broad knowledge49.4
aa_omniscience · aa_omniscience_index
professional knowledgePrior only
factualityPrior only
retrieval open bookPrior only
#3Reasoning47.4RatedGlobal rank #503/4 Measured dimensions
80% interval: 38.856.1
abstract logicPrior only
scientific causal45.1
critpt · critpt / gpqa · gpqa / hle · hle
multistep constraints54.9
mmlu_pro · mmlu_pro
evidence verification42.3
lcr · lcr
#4Coding46.4Estimated2/4 Measured dimensions
80% interval: 35.357.6
code generation48.2
livecodebench · livecodebench / scicode · scicode
repository engineeringPrior only
debugging testing44.7
swe_verified · swe_verified
tooling qualityPrior only
#5Instruction following45Provisional1/4 Measured dimensions
80% interval: 29.061.0
constraint followingPrior only
structured outputPrior only
novel instruction generalization45
ifbench · aa_if_bench
long multiturn instructionPrior only
#6Agents44.4Estimated3/4 Measured dimensions
80% interval: 35.153.7
planning45.2
deep_planning · gert_labs
tool use43.8
tau · tau2_bench
environment executionPrior only
recovery reliability44.2
jobbench · job_bench
No data:MultilingualMultimodal

Specifications

Input and output token limits for this model, plus how it ranks on long-context understanding.

INPUT
1Mtokens
1.2K pages of text
OUTPUT
64Ktokens
8K128K1M4M
1M

Features

Technical Details

Input
Output
Released
May 2025
Knowledge cutoff
2025-01-31
Documentation
Tokenizer
Claude
Architecture
text+image+file->text
Moderated
Yes
Supported parameters
include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_ktop_p

Rankings

Excels at

It's decent at

Falls behind in

Detailed scores

Updated: Sep 1, 2026

Overall

undefined metric} other undefined metrics}}

Overall score58.0#44 / 100
Overall score
LMSpeed rank#44
Score58.0
UpdatedAug 20, 2026
Confidence1

Pricing

undefined metric} other undefined metrics}}

Input price$3.00/M#156 / 181Output price$15.00/M#156 / 181
Input price
LMSpeed rank#156
Score$3.00/M
UpdatedSep 1, 2026
Confidence4
Output price
LMSpeed rank#156
Score$15.00/M
UpdatedSep 1, 2026
Confidence4

Agents

V3.0

undefined metric} other undefined metrics}} · Estimated

Score44.480% interval35.1–53.73/4 Measured dimensionsΤ²-bench results52.3#66 / 82Gert Labs39.7#37 / 49
Dimensions and evidence
Planning & decomposition45.2
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
deep_planning · gert_labs · z -0.63 · q 1.00
Tool use43.8
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
tau · tau2_bench · z -0.94 · q 1.00
Environment & long-horizon executionPrior only
Recovery & completion reliability44.2
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
jobbench · job_bench · z -1.02 · q 1.00
Τ²-bench resultsV3 evidence
LMSpeed rank#66
Score52.3
UpdatedAug 20, 2026
Confidence1
Gert LabsV3 evidence
LMSpeed rank#37
Score39.7
UpdatedAug 20, 2026
Confidence1
JobBenchV3 evidence
LMSpeed rank#18
Score18.4
UpdatedAug 20, 2026
Confidence1

Coding

V3.0

undefined metric} other undefined metrics}} · Estimated

Score46.480% interval35.3–57.62/4 Measured dimensionsLiveCodeBench44.9%#66 / 115SciCode37.3%#110 / 206
Dimensions and evidence
Code generation48.2
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
livecodebench · livecodebench · z -0.09 · q 1.00
scicode · scicode · z -0.05 · q 1.00
Repository engineeringPrior only
Debugging & testing44.7
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
swe_verified · swe_verified · z -0.76 · q 1.00
Tool-assisted development & qualityPrior only
LiveCodeBenchV3 evidence
LMSpeed rank#66
Score44.9%
UpdatedSep 1, 2026
Confidence4
SciCodeV3 evidence
LMSpeed rank#110
Score37.3%
UpdatedSep 1, 2026
Confidence4
Coding score
LMSpeed rank#43
Score53.2
UpdatedAug 20, 2026
Confidence1
SWE-bench VerifiedV3 evidence
LMSpeed rank#39
Score72.7
UpdatedAug 20, 2026
Confidence1
AA-SciCodeV3 evidence
LMSpeed rank#82
Score37.3
UpdatedAug 20, 2026
Confidence1

Reasoning

V3.0

undefined metric} other undefined metrics}} · Rated

Score47.4#5080% interval38.8–56.13/4 Measured dimensionsMMLU-Pro83.7%#36 / 129GPQA68.3%#140 / 213
Dimensions and evidence
Abstract logicPrior only
Scientific & causal reasoning45.1
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
critpt · critpt · z -0.39 · q 1.00
gpqa · gpqa · z -0.42 · q 1.00
hle · hle · z -0.83 · q 1.00
Multi-step constraints54.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
mmlu_pro · mmlu_pro · z 0.45 · q 1.00
Evidence integration & verification42.3
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
lcr · lcr · z -1.38 · q 1.00
MMLU-ProV3 evidence
LMSpeed rank#36
Score83.7%
UpdatedSep 1, 2026
Confidence4
GPQAV3 evidence
LMSpeed rank#140
Score68.3%
UpdatedSep 1, 2026
Confidence4
HLEV3 evidence
LMSpeed rank#169
Score4.3%
UpdatedSep 1, 2026
Confidence4
AA-LCRV3 evidence
LMSpeed rank#84
Score45.7
UpdatedAug 20, 2026
Confidence1
CritPtV3 evidence
LMSpeed rank#65
Score1.1
UpdatedAug 20, 2026
Confidence1

Knowledge

V3.0

undefined metric} other undefined metrics}} · Provisional

Score49.480% interval33.4–65.41/4 Measured dimensionsArtificial Analysis Intelligence Index26.0#75 / 111AA-GPQA Diamond68.3#87 / 108
Dimensions and evidence
Broad knowledge49.4
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
aa_omniscience · aa_omniscience_index · z -0.17 · q 1.00
Professional knowledgePrior only
FactualityPrior only
Retrieval & open-book usePrior only
Artificial Analysis Intelligence IndexV3 evidence
LMSpeed rank#75
Score26.0
UpdatedAug 20, 2026
Confidence1
AA-GPQA Diamond
LMSpeed rank#87
Score68.3
UpdatedAug 20, 2026
Confidence1
AA-HLE
LMSpeed rank#95
Score4.3
UpdatedAug 20, 2026
Confidence1
AA-Omniscience Accuracy
LMSpeed rank#77
Score22.7
UpdatedAug 20, 2026
Confidence1
AA-Omniscience Hallucination Rate
LMSpeed rank#82
Score41.0
UpdatedAug 20, 2026
Confidence1

Math

V3.0

undefined metric} other undefined metrics}} · Estimated

Score52.980% interval41.1–64.72/4 Measured dimensionsAIME40.7%#33 / 68MATH-50093.4%#26 / 73
Dimensions and evidence
Foundational math53.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
math_500 · math_500 · z 0.56 · q 1.00
Competition math51.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
aime · aime · z 0.23 · q 1.00
Advanced proofsPrior only
Applied & tool-assisted mathPrior only
AIMEV3 evidence
LMSpeed rank#33
Score40.7%
UpdatedSep 1, 2026
Confidence4
MATH-500V3 evidence
LMSpeed rank#26
Score93.4%
UpdatedSep 1, 2026
Confidence4

Multilingual

V3.0

undefined metric} other undefined metrics}} · No data

No data80% interval30.8–69.20/4 Measured dimensions
Dimensions and evidence
Cross-language understandingPrior only
Multilingual generationPrior only
Reasoning transferPrior only
Low-resource robustnessPrior only

Multimodal

V3.0

undefined metric} other undefined metrics}} · No data

80% interval30.8–69.20/4 Measured dimensionsAA-MMMU-Pro62.4#54 / 65Design Arena Website1157.0#58 / 75
Dimensions and evidence
Perception & OCRPrior only
Document & spatial understandingPrior only
Visual reasoningPrior only
Video & grounded actionPrior only
AA-MMMU-Pro
LMSpeed rank#54
Score62.4
UpdatedAug 20, 2026
Confidence1
Design Arena Website
LMSpeed rank#58
Score1157.0
UpdatedAug 20, 2026
Confidence1

Instruction following

V3.0

undefined metric} other undefined metrics}} · Provisional

Score4580% interval29.0–61.01/4 Measured dimensionsAA-IFBench45.4#58 / 84
Dimensions and evidence
Constraint followingPrior only
Structured outputPrior only
Novel-instruction generalization45
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
ifbench · aa_if_bench · z -0.94 · q 1.00
Multi-turn & long instructionsPrior only
AA-IFBenchV3 evidence
LMSpeed rank#58
Score45.4
UpdatedAug 20, 2026
Confidence1

OpenRouter endpoints

5 endpoints

Third-party OpenRouter endpoint data, shown separately from LMSpeed measurements. Some 30-minute live performance fields only appear after syncing with an OpenRouter API key.

Provider endpointInputOutput1d uptime30m latency30m throughputContext / output
Google
google-vertex/global
$3/M$15/M100.0%undefined tokens / undefined tokens
Amazon Bedrock
amazon-bedrock
$3/M$15/M100.0%undefined tokens / undefined tokens
Amazon Bedrock
amazon-bedrock/eu-west-1
$3/M$15/M96.7%undefined tokens / undefined tokens
Google
google-vertex
$3/M$15/Mundefined tokens / undefined tokens
Google
google-vertex/europe
$3/M$15/Mundefined tokens / undefined tokens

Pricing Comparison

Compare Claude Sonnet 4 API pricing across 217 providers. Prices range from $0.0027/request to $9600.00/M. 钠 API offers the lowest rate at $0.0027/request. 5 providers offer free API credits or a free tier.

ProviderHealthModel VariantGroupInput ($/M)Output ($/M)Speed (t/s)First tokenAudit
L1
100%
claude-sonnet-4-20250514
default
-93%$0.205/M
Cache read$0.021/M
-93%$1.03/M
L1
100%
claude-sonnet-4-20250514
default
-86%$0.410/M
Cache read$0.041/MCache write$0.512/MCache write 1h$0.820/M
-86%$2.05/M
L1
100%
claude-sonnet-4
default
-86%$0.411/M
-86%$2.05/M
L1
100%
claude-sonnet-4-20250514
default
-86%$0.411/M
-86%$2.05/M
L1
100%
claude-sonnet-4-all
claude_official_re_19
-74%$0.781/M
-74%$3.90/M
L1
100%
claude-sonnet-4-20250514
default
-86%$0.411/M
Cache read$0.041/M
-86%$2.05/M
L1
100%
claude-sonnet-4-20250514
default
$3.00/M
Cache read$0.300/MCache write$3.75/MCache write 1h$6.00/M
$15.00/M
L1
100%
claude-sonnet-4-20250514
default
Free
Free
L1
100%
claude-sonnet-4-20250514-c
default
$0.114/request
-
L1
100%
claude-sonnet-4-20250514
default
$3.00/M
Cache read$0.300/MCache write$3.75/MCache write 1h$6.00/M
$15.00/M
L1
100%
L2
0%
claude-sonnet-4
default
$3.00/M
Cache read$0.300/M
$15.00/M
L1
100%
claude-sonnet-4-20250514
default
$3.00/M
Cache read$0.300/MCache write$3.75/MCache write 1h$6.00/M
$15.00/M
L1
99%
[按次特价]claude-sonnet-4
default
$0.0027/request
-
L1
100%
claude-sonnet-4-20250514
default
-93%$0.205/M
Cache read$0.021/M
-93%$1.03/M
L1
100%
claude-4-sonnet-20250514
test
-86%$0.411/M
-86%$2.05/M
L1
100%
claude-sonnet-4-20250514
test
-86%$0.411/M
Cache read$0.041/MCache write$0.514/MCache write 1h$0.822/M
-86%$2.05/M
L1
100%
claude-sonnet-4-20250514
default
$3.00/M
$15.00/M
L1
100%
claude-sonnet-4-20250514
claude-offical
$3.00/M
Cache read$0.300/MCache write$3.75/MCache write 1h$6.00/M
$15.00/M
L1
99%
claude-sonnet-4-latest
default
-97%$0.104/M
Cache read$0.010/MCache write$0.130/MCache write 1h$0.208/M
-97%$0.521/M
L1
99%
claude-sonnet-4
default
-97%$0.104/M
Cache read$0.010/MCache write$0.130/MCache write 1h$0.208/M
-97%$0.521/M
Showing 20 model IDs of 74.

Alternatives & Similar Models

Frequently Asked Questions

What benchmark data does Claude Sonnet 4 include?
LMSpeed shows Claude Sonnet 4 benchmark context, API price, output speed, first-token latency, and provider data across 222 providers when those signals are available.
What is the Claude Sonnet 4 API price?
Claude Sonnet 4 has pricing from 222 providers, ranging from $0.0027/request to $9600.00/M. 钠 API has the lowest listed price.
What does the Claude Sonnet 4 API pricing table include?
The Claude Sonnet 4 API pricing table compares 222 providers by input price, output price, free tier status, speed, first-token latency, and recent health data when available.
Which provider has the cheapest Claude Sonnet 4 API pricing?
钠 API currently has the lowest listed Claude Sonnet 4 price at $0.0027/request across 222 providers.
Can I compare Claude Sonnet 4 API price and speed together?
Yes. LMSpeed shows Claude Sonnet 4 API price, output speed, first-token latency, and provider health on the same page so you can compare cost and performance together.
Is Claude Sonnet 4 API free?
Yes, Claude Sonnet 4 free API options are available through 5 providerundefined other undefined} on LMSpeed, including 兔子API, 兔子API, 兔子API, 兔子API, Dext API. These providers offer free API credits or a free tier with no per-token charges.
Where can I get Claude Sonnet 4 free API access?
LMSpeed currently lists 5 free API providerundefined other undefined} for Claude Sonnet 4: 兔子API, 兔子API, 兔子API, 兔子API, Dext API. Check each provider row before using it because free tier limits can change.

Also known as

42API/claude-sonnet-4-20250514[hm]q|薄甲逆/claude-sonnet-4-20250514[mt]u|anthropic/claude-sonnet-4-or[按次特价]claude-sonnet-4anthropic/claude-4-sonnet

Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.Standard benchmark data may include BenchLM and other public sources.

Build with LMSpeed Data

Free

Free public API for LLM pricing, benchmarks & provider data

  • Real-time pricing & availability
  • Speed & latency benchmarks
  • 300+ models, 600+ providers
  • 1,000 requests/day
View API Documentation