Skip to content
llmmodels

Anthropic: Claude Sonnet 4 vs o4-mini

o4-mini wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (145.2 vs 141.8). o4-mini is about 2.7× cheaper on a blended (3:1 input:output) token price.

SpecAnthropic: Claude Sonnet 4o4-mini
ProviderAnthropicOpenAI
ReleasedMay 22, 2025 (better)Apr 16, 2025
TypeReasoning LLMReasoning LLM
Parameters——
Context window200K200K
Max output64K100K (better)
Input price / 1M$2.60$1.10 (better)
Output price / 1M$13$4.40 (better)
Input modalitiestext, imagetext, image
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers417 (better)
Epoch Capabilities Index141.8145.2 (better)
GPQA Diamond—79.6%
Humanity's Last Exam—18.1%
Aider Polyglot—72.0%
OTIS Mock AIME—81.7%
MATH Level 5—97.8%
FrontierMath—36.1%
ARC-AGI-2—6.1%
SimpleQA Verified—19.6%
METR Time Horizon—77 min

Cost example

For a workload of 10M input + 2M output tokens per month: Anthropic: Claude Sonnet 4 costs $52.00 and o4-mini costs $19.80 at list price (poe / openai pricing).

About Anthropic: Claude Sonnet 4

Anthropic: Claude Sonnet 4 is a proprietary reasoning llm from Anthropic, released May 22, 2025. It has a 200K-token context window and accepts text, image input. API pricing starts at $2.60 per million input tokens and $13 per million output tokens. It is available from 4 API providers. It scores 141.8 on the Epoch Capabilities Index. Full Anthropic: Claude Sonnet 4 specs →

About o4-mini

o4-mini is a proprietary reasoning llm from OpenAI, released Apr 16, 2025. It has a 200K-token context window and accepts text, image input. API pricing starts at $1.10 per million input tokens and $4.40 per million output tokens. It is available from 17 API providers. It scores 145.2 on the Epoch Capabilities Index. Full o4-mini specs →

Compare other models

FAQ

Which is better, Anthropic: Claude Sonnet 4 or o4-mini?

o4-mini wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (145.2 vs 141.8). o4-mini is about 2.7× cheaper on a blended (3:1 input:output) token price.

Is Anthropic: Claude Sonnet 4 cheaper than o4-mini?

Anthropic: Claude Sonnet 4 costs $2.60 input / $13 output per 1M tokens; o4-mini costs $1.10 / $4.40. o4-mini is cheaper overall.

Which has a bigger context window?

Anthropic: Claude Sonnet 4: 200,000 tokens. o4-mini: 200,000 tokens.

Are Anthropic: Claude Sonnet 4 and o4-mini open source?

Anthropic: Claude Sonnet 4 is proprietary; o4-mini is proprietary.