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 undefined API provider} other undefined API providers}}, with prices starting at $0.037/M. Claude Sonnet 4 free API options are available from undefined provider} other undefined 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
#61of 112
58.0
LMSpeed score
Speed
34char/s
4.93 s
Cost
#159of 186
$0.037/ 1M · 8:1 in:out
$0.0059 in · $0.031 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.4Coding45.1Reasoning47.1Knowledge49.2Math52.9Multilingual-Multimodal-Instruction following45.1
#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.2Provisional1/4 Measured dimensions
80% interval: 33.265.2
broad knowledge49.2
aa_omniscience · aa_omniscience_index
professional knowledgePrior only
factualityPrior only
retrieval open bookPrior only
#3Reasoning47.1RatedGlobal rank #523/4 Measured dimensions
80% interval: 38.555.8
abstract logicPrior only
scientific causal44.9
critpt · critpt / gpqa · gpqa / hle · hle
multistep constraints54.9
mmlu_pro · mmlu_pro
evidence verification41.5
lcr · lcr
#4Coding45.1Estimated2/4 Measured dimensions
80% interval: 33.956.2
code generation45.8
livecodebench · livecodebench / scicode · aa_sci_code
repository engineeringPrior only
debugging testing44.3
swe_verified · swe_verified
tooling qualityPrior only
#4Instruction following45.1Provisional1/4 Measured dimensions
80% interval: 29.161.1
constraint followingPrior only
structured outputPrior only
novel instruction generalization45.1
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.6
tau · tau2_bench
environment executionPrior only
recovery reliability44.4
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 13, 2026

Overall

undefined metric} other undefined metrics}}

Overall score58.0#61 / 112
Overall score
LMSpeed rank#61
Score58.0
UpdatedAug 20, 2026
Confidence1

Pricing

undefined metric} other undefined metrics}}

Input price$3.00/M#159 / 186Output price$15.00/M#159 / 186
Input price
LMSpeed rank#159
Score$3.00/M
UpdatedSep 13, 2026
Confidence4
Output price
LMSpeed rank#159
Score$15.00/M
UpdatedSep 13, 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.6
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
tau · tau2_bench · z -0.96 · q 1.00
Environment & long-horizon executionPrior only
Recovery & completion reliability44.4
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
jobbench · job_bench · z -0.91 · 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#19
Score18.4
UpdatedAug 20, 2026
Confidence1

Coding

V3.0

undefined metric} other undefined metrics}} · Estimated

Score45.180% interval33.9–56.22/4 Measured dimensionsLiveCodeBench44.9%#66 / 115Coding score53.2#44 / 87
Dimensions and evidence
Code generation45.8
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
livecodebench · livecodebench · z -0.09 · q 1.00
scicode · aa_sci_code · z -0.61 · q 1.00
Repository engineeringPrior only
Debugging & testing44.3
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 13, 2026
Confidence4
Coding score
LMSpeed rank#44
Score53.2
UpdatedAug 20, 2026
Confidence1
SWE-bench VerifiedV3 evidence
LMSpeed rank#39
Score72.7
UpdatedAug 20, 2026
Confidence1
AA-SciCodeV3 evidence
LMSpeed rank#86
Score37.3
UpdatedAug 20, 2026
Confidence1

Reasoning

V3.0

undefined metric} other undefined metrics}} · Rated

Score47.1#5280% interval38.5–55.83/4 Measured dimensionsMMLU-Pro83.7%#36 / 129GPQA68.3%#145 / 218
Dimensions and evidence
Abstract logicPrior only
Scientific & causal reasoning44.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
critpt · critpt · z -0.41 · q 1.00
gpqa · gpqa · z -0.46 · q 1.00
hle · hle · z -0.87 · 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 & verification41.5
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
lcr · lcr · z -1.48 · q 1.00
MMLU-ProV3 evidence
LMSpeed rank#36
Score83.7%
UpdatedSep 13, 2026
Confidence4
GPQAV3 evidence
LMSpeed rank#145
Score68.3%
UpdatedSep 13, 2026
Confidence4
HLEV3 evidence
LMSpeed rank#175
Score4.3%
UpdatedSep 13, 2026
Confidence4
AA-LCRV3 evidence
LMSpeed rank#90
Score45.7
UpdatedAug 20, 2026
Confidence1
CritPtV3 evidence
LMSpeed rank#69
Score1.1
UpdatedAug 20, 2026
Confidence1

Knowledge

V3.0

undefined metric} other undefined metrics}} · Provisional

Score49.280% interval33.2–65.21/4 Measured dimensionsArtificial Analysis Intelligence Index26.0#60 / 117AA-GPQA Diamond68.3#92 / 113
Dimensions and evidence
Broad knowledge49.2
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
aa_omniscience · aa_omniscience_index · z -0.19 · q 1.00
Professional knowledgePrior only
FactualityPrior only
Retrieval & open-book usePrior only
Artificial Analysis Intelligence IndexV3 evidence
LMSpeed rank#60
Score26.0
UpdatedAug 20, 2026
Confidence1
AA-GPQA Diamond
LMSpeed rank#92
Score68.3
UpdatedAug 20, 2026
Confidence1
AA-HLE
LMSpeed rank#101
Score4.3
UpdatedAug 20, 2026
Confidence1
AA-Omniscience Accuracy
LMSpeed rank#81
Score22.7
UpdatedAug 20, 2026
Confidence1
AA-Omniscience Hallucination Rate
LMSpeed rank#85
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 13, 2026
Confidence4
MATH-500V3 evidence
LMSpeed rank#26
Score93.4%
UpdatedSep 13, 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#56 / 68Design Arena Website1157.0#61 / 78
Dimensions and evidence
Perception & OCRPrior only
Document & spatial understandingPrior only
Visual reasoningPrior only
Video & grounded actionPrior only
AA-MMMU-Pro
LMSpeed rank#56
Score62.4
UpdatedAug 20, 2026
Confidence1
Design Arena Website
LMSpeed rank#61
Score1157.0
UpdatedAug 20, 2026
Confidence1

Instruction following

V3.0

undefined metric} other undefined metrics}} · Provisional

Score45.180% interval29.1–61.11/4 Measured dimensionsAA-IFBench45.4#58 / 84
Dimensions and evidence
Constraint followingPrior only
Structured outputPrior only
Novel-instruction generalization45.1
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
ifbench · aa_if_bench · z -0.95 · 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%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/M99.9%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 160 providers. Prices range from $0.037/M to $219.00/M. Omini Api offers the lowest rate at $0.037/M. 3 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
default
-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
-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-all
claude_official_re_19
-74%$0.781/M
Cache read$0.078/MCache write$0.976/MCache write 1h$1.56/M
-74%$3.90/M
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
$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
claude-offical
$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-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%
claude-sonnet-4-20250514
default
-86%$0.411/M
Cache read$0.041/M
-86%$2.05/M
L1
100%
claude-sonnet-4-20250514
claude
-93%$0.205/M
Cache read$0.021/MCache write$0.257/MCache write 1h$0.411/M
-93%$1.03/M
L1
100%
claude-sonnet-4-20250514
AWS-Claude-2
-74%$0.785/M
Cache read$0.078/M
-74%$3.92/M
L1
100%
claude-sonnet-4-20250514
claude-awsb-企业版
-58%$1.25/M
Cache read$0.125/MCache write$1.56/MCache write 1h$2.50/M
-58%$6.24/M
L1
100%
claude-sonnet-4-20250514
default
-73%$0.822/M
Cache read$0.082/MCache write$1.03/MCache write 1h$1.64/M
-73%$4.11/M
L1
100%
claude-sonnet-4-20250514
default
$3.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-4-sonnet
default
$6.00/M
$30.00/M
L1
100%
claude-sonnet-4-20250514
default
$6.00/M
Cache write$7.50/MCache write 1h$12.00/M
$30.00/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
99%
claude-sonnet-4-20250514
Claudecode-求稳分组
$3.60/M
$18.00/M
Showing 20 model IDs of 65.

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 163 providers when those signals are available.
What is the Claude Sonnet 4 API price?
Claude Sonnet 4 has pricing from undefined provider} other undefined providers}}, ranging from $0.037/M to $219.00/M. Omini Api has the lowest listed price.
What does the Claude Sonnet 4 API pricing table include?
The Claude Sonnet 4 API pricing table compares 163 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?
Omini Api currently has the lowest listed Claude Sonnet 4 price at $0.037/M across undefined provider} other undefined 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 3 providerundefined other undefined} on LMSpeed, including 兔子API, 兔子API, 兔子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 3 free API providerundefined other undefined} for Claude Sonnet 4: 兔子API, 兔子API, 兔子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