Claude 3.5 SonnetvsGPT-4.1 mini
Claude 3.5 Sonnet | GPT-4.1 mini | |
|---|---|---|
| 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.40 |
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.60 |
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.10 |
Cheapest inputLowest input rate across third-party providers, excluding the lab itself. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | — | $0.40Azure |
Cheapest outputLowest output rate across third-party providers, excluding the lab itself. May come from a different provider than the cheapest input. | — | $1.60Azure |
| Benchmarks | ||
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. | 33.4% | 23.6% |
| BenchmarksPublished by one model only | ||
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. | 46% | — |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 59.4% | — |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | Jun 20 2024 | Apr 14 2025 |
| Access | Proprietary | Proprietary |
Other comparisons
Claude 3.5 SonnetvsGemini 3.8 FlashGPT-4.1 minivsGemini 3.8 FlashClaude 3.5 SonnetvsMuse Spark 1.3GPT-4.1 minivsMuse Spark 1.3Claude 3.5 SonnetvsGrok 4.6GPT-4.1 minivsGrok 4.6Claude 3.5 SonnetvsDeepSeek-V4.1-FlashGPT-4.1 minivsDeepSeek-V4.1-FlashClaude 3.5 SonnetvsMistral Medium 3.5GPT-4.1 minivsMistral Medium 3.5Claude 3.5 SonnetvsKimi K3GPT-4.1 minivsKimi K3
Frequently asked questions
Claude 3.5 Sonnet leads GPT-4.1 mini on 1 of the 1 benchmark they both report (SWE-Bench Verified). Only GPT-4.1 mini has a verified first-party API price: $0.40 per million input tokens and $1.60 per million output tokens. No pay-as-you-go API rate is tracked for Claude 3.5 Sonnet. Claude 3.5 Sonnet shipped 298 days before GPT-4.1 mini, 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 SWE-Bench Verified, Claude 3.5 Sonnet leads at 33.4% vs GPT-4.1 mini at 23.6%.