Claude 3.7 SonnetvsGPT-5.4 nano
Claude 3.7 Sonnet | GPT-5.4 nano | |
|---|---|---|
| API pricingUSD per 1M tokens · lower wins | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | — | $0.20 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | — | $1.25 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | — | $0.02 |
| Benchmarks | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 49% | 14% |
| BenchmarksPublished by one model only | ||
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 62.3% | — |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 68% | — |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | Feb 24 2025 | Mar 17 2026 |
| Access | Proprietary | Proprietary |
Frequently asked questions
Claude 3.7 Sonnet leads GPT-5.4 nano on 1 of the 1 benchmark they both report (BullshitBench v2). Only GPT-5.4 nano has a verified first-party API price: $0.20 per million input tokens and $1.25 per million output tokens. No pay-as-you-go API rate is tracked for Claude 3.7 Sonnet. Claude 3.7 Sonnet shipped 386 days before GPT-5.4 nano, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
On BullshitBench v2, Claude 3.7 Sonnet leads at 49% vs GPT-5.4 nano at 14%.
Claude 3.7 Sonnet was released by Anthropic on Feb 24 2025.
GPT-5.4 nano was released by OpenAI on Mar 17 2026.
Only GPT-5.4 nano has a verified first-party API price: $0.20 per million input tokens and $1.25 per million output tokens. No pay-as-you-go API rate is tracked for Claude 3.7 Sonnet. Rates are pay-as-you-go API prices verified on August 18, 2026.