TryLLMCost
All 20 Calculators/Head-to-Head Comparisons
Reasoning Model Comparison

DeepSeek R1 vs OpenAI o3 & o4-mini Cost Calculator

Calculate real reasoning API bills across DeepSeek R1, OpenAI o3, o4-mini, and Grok 3 Mini with explicit chain-of-thought output token budgeting.

Reference public API rates (2025–2026) — editable inline
29 tok
33 tok
~1,620 tok
30%
0–90%
Async Batch API (24h SLA)
Live Token EstimatorEnglish Prose
OpenAI (o200k)
62
Claude (~1.08x)
67
Gemini (~1.03x)
64
Input Words
37
Characters
277
Out Tokens
1,620
Cheapest Match (1k calls):Llama 3.1 8B Instant (Groq) · $0.14
#Model & ProviderContext / SpeedInput $/1M (edit)Output $/1M (edit)Cached $/1M1 Call1,000 Calls100,000 Callsvs GPT-4o
1
Llama 3.1 8B Instant (Groq)
Meta (Groq)·Fast / Budget
128K ctx
560 tok/s
N/A$0.0001$0.14$13.93-99%
2
Gemini 2.0 Flash-Lite
Google·Fast / Budget
1.0M ctx
210 tok/s
$0.019$0.0005$0.50$50.44-97%
3
Mistral Small 3.1
Mistral·Fast / Budget
128K ctx
150 tok/s
N/A$0.0005$0.54$53.66-97%
4
Llama 4 Scout 17B (Groq)
Meta (Groq)·Fast / Budget
131K ctx
460 tok/s
N/A$0.0006$0.58$57.99-96%
5
GPT-4.1 nano
OpenAI·Fast / Budget
1.0M ctx
170 tok/s
$0.025$0.0007$0.65$65.28-96%
6
Grok 3 MiniFocus
xAI·Reasoning
131K ctx
155 tok/s
$0.075$0.0008$0.84$84.06-95%
7
GPT-4o mini
OpenAI·Fast / Budget
128K ctx
135 tok/s
$0.075$0.0010$0.98$97.99-94%
8
Gemini 2.5 Flash
Google·Balanced
1.0M ctx
165 tok/s
$0.037$0.0010$1.01$100.88-94%
9
Llama 3.3 70B (Groq)
Meta (Groq)·Balanced
128K ctx
280 tok/s
N/A$0.0014$1.38$138.21-92%
10
Llama 4 Maverick (Together)
Meta (Together)·Balanced
1M ctx
140 tok/s
N/A$0.0014$1.45$144.95-91%
11
DeepSeek V3 (Chat)
DeepSeek·Balanced
128K ctx
68 tok/s
$0.070$0.0018$1.83$183.04-89%
12
GPT-4.1 mini
OpenAI·Fast / Budget
1.0M ctx
115 tok/s
$0.10$0.0026$2.61$261.12-84%
13
DeepSeek R1Focus
DeepSeek·Reasoning
128K ctx
54 tok/s
$0.14$0.0036$3.64$364.48-78%
14
Amazon Nova Pro (Bedrock)
Amazon·Balanced
300K ctx
98 tok/s
$0.20$0.0054$5.43$543.17-67%
15
Claude 3.5 Haiku
Anthropic·Fast / Budget
200K ctx
120 tok/s
$0.080$0.0070$7.04$703.91-57%
16
OpenAI o4-miniFocus
OpenAI·Reasoning
200K ctx
95 tok/s
$0.28$0.0072$7.18$718.09-56%
17
Mistral Large 2
Mistral·Frontier
128K ctx
65 tok/s
N/A$0.01$10.73$1,073.20-34%
18
GPT-4.1
OpenAI·Frontier
1.0M ctx
78 tok/s
$0.50$0.01$13.06$1,305.61-20%
19
OpenAI o3Focus
OpenAI·Reasoning
200K ctx
52 tok/s
$0.50$0.01$13.06$1,305.61-20%
20
GPT-4o
OpenAI·Frontier
128K ctx
85 tok/s
$1.25$0.02$16.33$1,633.18Baseline
21
Gemini 2.5 ProFocus
Google·Reasoning
1.0M ctx
88 tok/s
$0.31$0.02$16.75$1,675.20+3%
22
Grok 3
xAI·Frontier
131K ctx
74 tok/s
$0.75$0.02$24.93$2,492.65+53%
23
Claude Sonnet 4
Anthropic·Frontier
200K ctx
72 tok/s
$0.30$0.03$26.40$2,639.67+62%
24
Claude 3.7 Sonnet
Anthropic·Frontier
200K ctx
75 tok/s
$0.30$0.03$26.40$2,639.67+62%
25
Claude Opus 4
Anthropic·Frontier
200K ctx
42 tok/s
$1.50$0.13$131.98$13,198.37+708%

Tip: Click any Input or Output $/1M cell to test custom enterprise discounts, Bedrock/Vertex tiers, or Gemini 2.5 Pro >200k long-context rates inline.

Key Cost Benchmarks & Pricing Dynamics

Output Rate Gap
3.65x Cheaper on R1

DeepSeek R1 ($2.19/1M output) costs 72% less per output/reasoning token than OpenAI o3 ($8.00/1M).

Hidden Reasoning Tokens
60%–80% of Total Bill

Both o3 and R1 bill internal thinking tokens at the output rate—making output pricing the dominant cost driver.

Dark Horse Budget Reasoner
Grok 3 Mini ($0.50 Out)

For structured logic and math checks, Grok 3 Mini ($0.30/$0.50) and o4-mini ($1.10/$4.40) slash reasoning spend.

Focused Models in This Calculator

DeepSeek R1DeepSeek
Input/1M
$0.55
Output/1M
$2.19
Cached/1M
$0.14
128K context~54 tok/s

Open-weights reasoning, math, algorithmic codegen

OpenAI o3OpenAI
Input/1M
$2.00
Output/1M
$8.00
Cached/1M
$0.50
200K context~52 tok/s

Deep math, architecture planning, complex code

OpenAI o4-miniOpenAI
Input/1M
$1.10
Output/1M
$4.40
Cached/1M
$0.28
200K context~95 tok/s

Fast STEM reasoning, agentic tool verification

Grok 3 MinixAI
Input/1M
$0.30
Output/1M
$0.50
Cached/1M
$0.075
131K context~155 tok/s

Low-cost reasoning, structured logic, math verification

Gemini 2.5 ProGoogle
Input/1M
$1.25
Output/1M
$10.00
Cached/1M
$0.31
1.0M context~88 tok/s

1M-context repo analysis, PDF/video ingestion, reasoning

Production FinOps Optimization Playbook

Always Model 2.5x Output Tokens for Reasoning Calls

A 400-word final response (~540 tokens) often consumes 1,200–2,500 hidden reasoning tokens. Set Expected Output Words to 1,200+ in this calculator to avoid under-forecasting by 3x.

Don't Use Reasoning Models for Simple Extraction

Running o3 or R1 on tasks that don't require multi-hop logic burns output tokens unnecessarily. Route only planning, math, debugging, and verification steps to reasoners.

Compare o4-mini vs DeepSeek R1 on Latency-Sensitive Flows

OpenAI o4-mini runs significantly faster (~95 tok/s) with reliable tool-calling, whereas DeepSeek R1 wins on raw cost per reasoning token.

Frequently Asked Questions

Are hidden chain-of-thought tokens billed on OpenAI o3 and DeepSeek R1?

Yes. Both OpenAI (o3, o4-mini) and DeepSeek (R1) bill all internal reasoning/thinking tokens at the output token price.

How much cheaper is DeepSeek R1 than OpenAI o3?

Per token, DeepSeek R1 ($0.55/$2.19) is ~72% cheaper than OpenAI o3 ($2.00/$8.00). Note that if R1 emits slightly more thinking tokens on a specific prompt, net savings typically land between 55% and 70%.

How does Gemini 2.5 Pro compare to o3 and DeepSeek R1?

Gemini 2.5 Pro ($1.25/$10.00 up to 200k tokens) sits right alongside o3 on output cost while providing a 1M context window for repository-wide reasoning.

Can I reduce reasoning costs with prompt caching?

Prompt caching cuts repeated input costs by 75% on o3/o4-mini/DeepSeek R1, though output reasoning tokens are never cached and remain the biggest cost component.

Transparent SaaS Pricing

Free Forever Calculator. Upgrade When Spend Scales.

Model 25 LLMs with zero login today. Upgrade to Pro or Team for automated API price-drop alerts, saved CFO scenarios, and live usage overrun guards.

Free

No Signup
$0/ forever

Everything you need for architecture sizing, prompt tokenization, and SaaS margin checks.

  • Unlimited comparisons across 25+ models
  • Live client-side prompt token counter (EN/Code/CJK)
  • Prompt caching (0–90%) & Batch API 50% toggles
  • AI Agent & SaaS Gross Margin Simulator
  • 80/20 Model Routing Optimizer + inline rate edits
  • Unlimited CSV financial exports
Use Free Calculator Now
Most Popular

Pro

Founders & PMs
$15/ month

Never get blindsided by provider price changes or margin erosion across investor reviews.

  • Everything in Free, plus cloud-saved scenarios
  • Compare multiple multi-agent architecture versions
  • Weekly API price-drop & new-model email alerts
  • 1-click branded CFO / Board Deck PDF export
  • Custom enterprise discount profiles (AWS/Vertex/OpenAI)
  • Historical token price tracker & depreciation notices

Team

Live Guardrails
$39/ month

Connect real production token telemetry and catch runaway agent loops before the bill lands.

  • Everything in Pro for up to 10 team seats
  • Zero-latency live usage telemetry proxy endpoint
  • Real-time Slack & webhook budget overrun alerts
  • Per-customer / per-tenant gross margin leaderboard
  • Automatic anomaly detection on infinite agent loops
  • Scheduled weekly FinOps digest to #ai-infra