Cost Compare

Cost Compare

Compare AI API costs online. Estimate daily limits and monthly pricing across top LLM models like GPT-4o, Claude 3.5, Gemini, DeepSeek, and Kimi. Free LLM comparison grid.

1,000
100 100K
500
10 100K
10
1 10K
Filter Providers

DeepSeek V4 Flash (Chat)

deepseek
$0.0840/mo
Per Request: $0.0003
Daily: $0.00
Released Apr 24, 2026. 284B total / 13B active MoE params. model string: deepseek-chat (routes here). Replaces V3.2. deepseek-reasoner routes to V4 Flash thinking mode.

GPT-4.1 Nano

openai
$0.0900/mo
Per Request: $0.0003
Daily: $0.00
Cheapest model in OpenAI lineup. 1M context at $0.10 input.

Gemini 2.5 Flash-Lite

google
$0.0900/mo
Per Request: $0.0003
Daily: $0.00
Cheapest model from a Tier-1 provider. Batch: $0.05/$0.20.

Gemini 2.0 Flash

google
$0.0900/mo
Per Request: $0.0003
Daily: $0.00
DEPRECATED — shutting down June 1, 2026. Migrate to Gemini 2.5 Flash.

Llama 3.2 90B Vision

meta
$0.0900/mo
Per Request: $0.0003
Daily: $0.00

Llama 3.3 70B

meta
$0.0990/mo
Per Request: $0.0003
Daily: $0.00
Pricing based on typical Groq/Together AI rates. Can be self-hosted.

GPT-4o Mini

openai
$0.1350/mo
Per Request: $0.0004
Daily: $0.00
Legacy. GPT-5.4 Nano is newer and cheaper at $0.20 input.

Grok 4.1 Fast

x
$0.1350/mo
Per Request: $0.0004
Daily: $0.00
2M context is unique at this price tier. Prompt caching included automatically.

DeepSeek V3.2 (Chat)

deepseek
$0.1470/mo
Per Request: $0.0005
Daily: $0.00
LEGACY — model string routes to V4 Flash after Jul 24, 2026. Migrate to deepseek-v4-flash.

Grok 3 Mini

x
$0.1650/mo
Per Request: $0.0005
Daily: $0.01
Output at $0.50/M — 4x cheaper than GPT-5 Mini output.

GPT-5.4 Nano

openai
$0.2475/mo
Per Request: $0.0008
Daily: $0.01
Cheapest GPT-5.4 variant. Undercuts nearly every alternative on input price.

GPT-4.1 Mini

openai
$0.3600/mo
Per Request: $0.0012
Daily: $0.0120

Llama 3.1 405B

meta
$0.4050/mo
Per Request: $0.0014
Daily: $0.0135

Gemini 2.5 Flash

google
$0.4650/mo
Per Request: $0.0015
Daily: $0.0155
Outstanding value. Configurable reasoning depth. Flat pricing regardless of context.

DeepSeek R1

deepseek
$0.4935/mo
Per Request: $0.0016
Daily: $0.0165
model string: deepseek-reasoner (will deprecate Jul 24, 2026 — routes to V4 Flash thinking). 87.5% AIME.

Kimi K2.5

moonshot
$0.5550/mo
Per Request: $0.0019
Daily: $0.0185
1T total / 32B active MoE. Thinking and non-thinking modes. 50.2% Humanity's Last Exam. 76% cheaper than Claude Opus 4.5 on comparable tasks. OpenAI-compatible API.

Gemini 3.1 Flash

google
$0.5700/mo
Per Request: $0.0019
Daily: $0.0190
Released May 2026. Flash tier of Gemini 3.1 with configurable thinking. Flat pricing regardless of context length.

Kimi K2.6

moonshot
$0.7500/mo
Per Request: $0.0025
Daily: $0.0250
Released Apr 20, 2026. 58.6% SWE-bench Pro (beats GPT-5.4). 1T total / 32B active MoE. Open weights (Modified MIT). 256K context with MLA for efficient long-context inference.

Claude 3.5 Haiku

anthropic
$0.8400/mo
Per Request: $0.0028
Daily: $0.0280

GPT-5.4 Mini

openai
$0.9000/mo
Per Request: $0.0030
Daily: $0.0300
54.38% SWE-bench Pro — close to Standard at ~6x lower cost.

o4 Mini

openai
$0.9900/mo
Per Request: $0.0033
Daily: $0.0330
Replaced o3-mini. Best-value reasoning model in OpenAI lineup.

DeepSeek V4 Pro

deepseek
$1.04/mo
Per Request: $0.0035
Daily: $0.0348
1.6T total / 49B active MoE params. 80.6% SWE-bench Verified, 93.5 LiveCodeBench. 75% discount active until May 31 2026 (~$0.435/$0.87). Full price after: $1.74/$3.48. Open weights (MIT).

Claude Haiku 4.5

anthropic
$1.05/mo
Per Request: $0.0035
Daily: $0.0350
Budget tier of current Claude generation.

GPT-5.5 Mini

openai
$1.08/mo
Per Request: $0.0036
Daily: $0.0360
Released May 2026. Cost-efficient reasoning member of the GPT-5.5 family. ~6x cheaper than GPT-5.5 Standard at similar throughput.

Gemini 1.5 Pro

google
$1.13/mo
Per Request: $0.0037
Daily: $0.0375
Legacy. 2x pricing for prompts >128K tokens. Upgrade to Gemini 2.5 Pro.

GPT-4.1

openai
$1.80/mo
Per Request: $0.0060
Daily: $0.0600
1M token context at flat rate. Recommended replacement for GPT-4o.

o3

openai
$1.80/mo
Per Request: $0.0060
Daily: $0.0600
Reasoning model. Replaced o1 at 87% lower cost with better performance.

Gemini 2.5 Pro

google
$1.88/mo
Per Request: $0.0063
Daily: $0.0625
Pricing doubles above 200K tokens ($2.50/$15). Built-in "thinking" capability.

GPT-4o

openai
$2.25/mo
Per Request: $0.0075
Daily: $0.0750
Legacy model. GPT-5.4 or GPT-4.1 preferred for new projects.

Gemini 3.1 Pro Preview

google
$2.40/mo
Per Request: $0.0080
Daily: $0.0800
Latest flagship. 77.1% ARC-AGI-2. Pricing doubles above 200K tokens ($4/$18).

GPT-5.4

openai
$3.00/mo
Per Request: $0.0100
Daily: $0.1000
Current flagship. 57.7% SWE-bench Pro. Unified model for coding, reasoning, and computer use.

Claude Sonnet 4.6

anthropic
$3.15/mo
Per Request: $0.0105
Daily: $0.1050
Most popular production model. 1M token context at flat rate.

Claude 3.5 Sonnet

anthropic
$3.15/mo
Per Request: $0.0105
Daily: $0.1050
Previous generation. Upgrade to Sonnet 4.6 for new projects.

Grok 4

x
$3.15/mo
Per Request: $0.0105
Daily: $0.1050
Same pricing as Claude Sonnet 4.6. OpenAI-compatible API format.

Grok 4.1

x
$3.15/mo
Per Request: $0.0105
Daily: $0.1050
Released May 2026. Full-size upgrade over Grok 4 with reasoning and prompt caching. OpenAI-compatible API format.

Grok 3

x
$3.15/mo
Per Request: $0.0105
Daily: $0.1050

Claude Sonnet 4.7

anthropic
$3.47/mo
Per Request: $0.0116
Daily: $0.1155
Released May 2026. Sonnet tier of the Claude 4.7 generation. Uses the same new tokenizer as Opus 4.7 (~35% more tokens than 4.6), so token/cost estimates are adjusted. 1M context flat-rate.

Claude Opus 4.7

anthropic
$5.25/mo
Per Request: $0.0175
Daily: $0.1750
Released Apr 16, 2026. 87.6% SWE-bench Verified, 64.3% Terminal-Bench 2.0. New xhigh effort level. 3.75MP vision (3x previous). Task budgets beta. New tokenizer emits up to ~35% more tokens vs Opus 4.6, raising effective cost — token/cost estimates here are adjusted accordingly.

Claude Opus 4.6

anthropic
$5.25/mo
Per Request: $0.0175
Daily: $0.1750
Previous flagship. Now superseded by Opus 4.7. Extended thinking support. 1M context flat-rate, no surcharge.

GPT-5.5

openai
$6.00/mo
Per Request: $0.0200
Daily: $0.2000
Released Apr 24, 2026. 82.7% Terminal-Bench 2.0, 84.9% GDPval, 58.6% SWE-bench Pro. ~40% fewer output tokens per task vs GPT-5.4. Pricing doubles above 272K input tokens.

GPT-5.5 Pro

openai
$36.00/mo
Per Request: $0.1200
Daily: $1.20
Premium tier of GPT-5.5 family. For workloads where accuracy outweighs cost. Batch/Flex at 50% off.

Features

  • Comprehensive matrix comparing 30+ leading models across OpenAI, Anthropic, Google, Meta, Mistral, and xAI
  • Dynamic recalculation of monthly SaaS bills based on adjustable Input/Output ratio sliders
  • Instant cross-provider scaling: instantly see the financial impact of moving from GPT-4 to Llama 3
  • Visual indicators for the most cost-effective routing options based on real-time token economics
  • Granular filtering to isolate reasoning models, vision models, or ultra-fast sub-second latency models

Common Use Cases

  • Auditing a massive cloud AI bill to find exact drop-in replacement models that cut costs by 90%
  • Presenting a comparative financial dashboard to executive teams when requesting a monthly generative AI budget
  • Developing a Dynamic Model Routing system (LLM Router) that falls back to cheaper APIs for simple classification tasks
  • Evaluating whether the massive price premium of "Reasoning" models (like o1) is justified over fast "Pro" models
  • Calculating the profit margins of an AI wrapper application by modeling cost-per-user per month

Navigating the LLM Price Matrix

The generative AI market is currently segmented into three distinct pricing tiers. Choosing the wrong tier can bankrupt an AI startup overnight.

The Three Tiers of AI Economics:

  • Frontier/Reasoning Models (Premium): Examples include GPT-4o, Claude 3.5 Sonnet, and OpenAI o1. They cost between $3.00 and $15.00 per million tokens. Use these strictly for complex coding, deep logical reasoning, or final copy generation.
  • Fast/Mini Models (Commodity): Examples include GPT-4o-mini, Claude 3 Haiku, and Gemini 1.5 Flash. They cost between $0.15 and $0.60 per million tokens (often 50x cheaper than the premium tier). They are incredibly fast and perfectly capable of handling 80% of daily tasks like JSON extraction, summarization, and basic chat.
  • Open-Source Local Models (Free Compute): Examples include Llama 3.1 8B or Mistral. If you host them on your own GPU, you pay zero token API costs, paying only for the raw server electricity and hardware depreciation.

Examples

Valid - Tier 1 Routing (Complex)
Task: Write a full React application.
Model: Claude 3.5 Sonnet ($3.00 In / $15.00 Out)
Result: Expensive, but produces working code.
Valid - Tier 2 Routing (Simple)
Task: Extract names from this text into JSON.
Model: GPT-4o-mini ($0.150 In / $0.600 Out)
Result: Nearly free, highly accurate for data extraction.

Frequently Asked Questions

How much cheaper are "Mini" or "Flash" models compared to the flagship models?
They are astonishingly cheaper. For example, GPT-4o-mini is roughly 33x cheaper than GPT-4o. If your application processes 100 million tokens a month, switching from a flagship model to a mini model can drop your cloud bill from $1,000 to just $30.
Are open-source models always cheaper?
Not always. While you do not pay per-token API fees for open-source models (like Llama 3) if you host them yourself, you do pay for the GPU server (e.g., $1,000/month for an AWS instance). If your token volume is low, it is actually much cheaper to use a managed API like OpenAI or Anthropic than to rent your own dedicated GPU.
Do any providers offer bulk discounts?
Yes! Both OpenAI and Anthropic offer a "Batch API". If you submit a massive file of requests and are willing to wait up to 24 hours for the results, they will process the tokens at exactly a 50% discount. This is the ultimate hack for offline data processing.

💡 Tips

  • Use an "LLM Router" architecture: send all user inputs to a cheap Mini model first. If the Mini model fails or expresses low confidence, only then route the request to the expensive flagship model.
  • Pay close attention to "Cached Input" pricing. Providers like Anthropic offer massive 90% discounts if you repeatedly send the exact same long document over and over.