AI Model Pricing Calculator

Models

Monthly Cost Comparison

GPT-5-nano
$9.00
Mistral Small 3.2
$10.50
Llama 4 Scout (Groq)
$11.70
GPT-4.1-nano
$12.00
Grok 4.1 Fast
$19.50
Grok 4 Fast
$19.50
Llama 4 Maverick (Groq)
$21.00
DeepSeek Chat (V3.2)
$23.10
DeepSeek Reasoner (V3.2)
$23.10
Gemini 3.1 Flash-Lite
$37.50
GPT-5-mini
$45.00
GPT-4.1-mini
$48.00
Mistral Large 3
$52.50
Mistral Medium 3.1
$54.00
Gemini 2.5 Flash
$55.50
Gemini 3 Flash
$75.00
Claude Haiku 4.5
$135.00
Gemini 2.5 Pro
$225.00
o3
$240.00
GPT-4.1
$240.00
Gemini 3.1 Pro
$300.00
GPT-5.3-Codex
$315.00
GPT-5.4
$375.00
Claude Sonnet 4.6
$405.00
Claude Sonnet 4.5
$405.00
Grok 4
$405.00
Claude Opus 4.6
$675.00

Cheapest: GPT-5-nano at $9.00/mo · Most expensive: Claude Opus 4.6 at $675.00/mo

Cost Summary

ModelDailyMonthlyYearly
GPT-5-nanoCHEAPEST$0.300$9.00$109.50
Mistral Small 3.2$0.350$10.50$127.75
Llama 4 Scout (Groq)$0.390$11.70$142.35
GPT-4.1-nano$0.400$12.00$146.00
Grok 4.1 Fast$0.650$19.50$237.25
Grok 4 Fast$0.650$19.50$237.25
Llama 4 Maverick (Groq)$0.700$21.00$255.50
DeepSeek Chat (V3.2)$0.770$23.10$281.05
DeepSeek Reasoner (V3.2)$0.770$23.10$281.05
Gemini 3.1 Flash-Lite$1.25$37.50$456.25
GPT-5-mini$1.50$45.00$547.50
GPT-4.1-mini$1.60$48.00$584.00
Mistral Large 3$1.75$52.50$638.75
Mistral Medium 3.1$1.80$54.00$657.00
Gemini 2.5 Flash$1.85$55.50$675.25
Gemini 3 Flash$2.50$75.00$912.50
Claude Haiku 4.5$4.50$135.00$1,642.50
Gemini 2.5 Pro$7.50$225.00$2,737.50
o3$8.00$240.00$2,920.00
GPT-4.1$8.00$240.00$2,920.00
Gemini 3.1 Pro$10.00$300.00$3,650.00
GPT-5.3-Codex$10.50$315.00$3,832.50
GPT-5.4$12.50$375.00$4,562.50
Claude Sonnet 4.6$13.50$405.00$4,927.50
Claude Sonnet 4.5$13.50$405.00$4,927.50
Grok 4$13.50$405.00$4,927.50
Claude Opus 4.6PRICIEST$22.50$675.00$8,212.50

Break-Even Calculator

How much do you charge per API call to your users?

Pricing data last updated: April 12, 2026. All prices per 1M tokens.

What This Tool Does

AI Model Pricing Calculator is built for deterministic developer and agent workflows.

Compare AI API costs across OpenAI, Anthropic, Google, xAI, and DeepSeek. Monthly spend calculator for GPT, Claude, Gemini, and more.

Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.

Last updated:

This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.

Agent Invocation

Best Path For Builders

Browser workflow

Runs instantly in the browser with private local processing and copy/export-ready output.

Browser Workflow

This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.

/ai-pricing/

For automation planning, fetch the canonical contract at /api/tool/ai-pricing.json.

How to Use AI Model Pricing Calculator

  1. 1

    Enter your token usage

    Input your estimated prompt tokens (input) and completion tokens (output) per request. If you're unsure, use the token counter tool first.

  2. 2

    Select models to compare

    Choose multiple models (GPT, Claude, Gemini, Llama, etc.). The calculator shows cost per request for each.

  3. 3

    View cost breakdowns

    See per-request cost, monthly cost (at different request volumes), and total cost of ownership. Filter by budget or use case.

  4. 4

    Check volume discounts and batch pricing

    Some providers offer batch processing or volume discounts. Compare standard API vs. batch pricing if you have high-volume workloads.

  5. 5

    Export and share cost comparison

    Download the comparison as a CSV or screenshot to share with stakeholders. Use this to justify model and provider selection.

Frequently Asked Questions

What is AI Pricing Calculator?
AI Pricing Calculator helps you compare AI API costs across providers for your specific workload. Enter your expected token usage and see real costs for OpenAI, Anthropic, Google, and other providers side by side.
How do I use AI Pricing Calculator?
Enter your expected input and output token counts, select the models you want to compare, and the calculator shows you the cost per request and monthly estimates. Adjust parameters to see how costs change with different usage patterns.
Is AI Pricing Calculator free?
Yes. This tool is free to use with immediate access—no account required.
Does AI Pricing Calculator store or send my data?
No. All processing happens entirely in your browser. Your data never leaves your device — nothing is sent to any server.
How current are the pricing figures?
Pricing data is refreshed weekly to reflect the latest rates from all major AI API providers. This includes per-token costs for both input and output, as well as any batch or cached pricing tiers when available.

AI Model Pricing — April 12, 2026

Current API pricing per 1 million tokens for 37 models across 7 providers. Prices in USD.

Model Provider Input / 1M Output / 1M Caching Tier
GPT-5.4 OpenAI $2.50 $15.00 premium
GPT-5.4 Pro OpenAI $30.00 $180.00 premium
GPT-5.3-Codex OpenAI $1.75 $14.00 premium
GPT-5.2 OpenAI $1.75 $14.00 premium
GPT-5.1 OpenAI $1.25 $10.00 premium
GPT-5-mini OpenAI $0.25 $2.00 budget
GPT-5-nano OpenAI $0.050 $0.40 budget
o3 OpenAI $2.00 $8.00 mid
GPT-4.1 OpenAI $2.00 $8.00 mid
GPT-4.1-mini OpenAI $0.40 $1.60 budget
GPT-4.1-nano OpenAI $0.10 $0.40 budget
GPT-5 OpenAI $1.25 $10.00 premium
o3-pro OpenAI $20.00 $80.00 premium
o4-mini OpenAI $1.10 $4.40 mid
o3-mini OpenAI $1.10 $4.40 mid
Claude Opus 4.6 Anthropic $5.00 $25.00 premium
Claude Sonnet 4.6 Anthropic $3.00 $15.00 mid
Claude Sonnet 4.5 Anthropic $3.00 $15.00 mid
Claude Haiku 4.5 Anthropic $1.00 $5.00 budget
Claude Opus 4.5 Anthropic $5.00 $25.00 premium
Claude Sonnet 4 Anthropic $3.00 $15.00 mid
Gemini 3.1 Pro Google $2.00 $12.00 premium
Gemini 3 Flash Google $0.50 $3.00 mid
Gemini 3.1 Flash-Lite Google $0.25 $1.50 budget
Gemini 2.5 Pro Google $1.25 $10.00 mid
Gemini 2.5 Flash Google $0.30 $2.50 budget
Gemini 2.0 Flash Google $0.10 $0.40 budget
DeepSeek Chat (V3.2) DeepSeek $0.28 $0.42 budget
DeepSeek Reasoner (V3.2) DeepSeek $0.28 $0.42 mid
Mistral Large 3 Mistral $0.50 $1.50 mid
Mistral Medium 3.1 Mistral $0.40 $2.00 mid
Mistral Small 3.2 Mistral $0.10 $0.30 budget
Llama 4 Maverick (Groq) Meta/Groq $0.20 $0.60 mid
Llama 4 Scout (Groq) Meta/Groq $0.11 $0.34 budget
Grok 4 xAI $3.00 $15.00 premium
Grok 4.1 Fast xAI $0.20 $0.50 budget
Grok 4 Fast xAI $0.20 $0.50 budget

OpenAI — Includes flagship reasoning/coding models plus mini and nano budget tiers for high-volume workloads.

Anthropic — Claude family offers premium, balanced, and budget tiers, with strong prompt-caching support.

Google — Gemini family spans high-capability Pro options and low-cost Flash variants.

DeepSeek — Often among the most cost-efficient options for bulk inference and large-scale processing.

xAI — Provides flagship and fast-cost tiers, including high-context-window variants.

Open Source — Llama and Mistral ecosystems remain strong for cost-sensitive, flexible deployments.