AI Model, API & GPU Real-Time Pricing Calculator
Estimate real monthly AI infrastructure costs using live official direct pricing and OpenRouter gateway feeds. Model prompt caching hit rates, cache-write surcharges, 24-hour Batch API discounts, reasoning token multipliers, and self-hosted GPU break-even thresholds in one place.
Real-Bill Workload Simulator
Models realistic bills with prompt cache hits, cache writes, batch API discounts, and hidden thinking tokens.
| Model | Basis | ||||||
|---|---|---|---|---|---|---|---|
google/lyria-3-pro-preview | Direct | $0.00 | $0.00 | — | 1.05M | $0.0000 | 0% |
google/lyria-3-clip-preview | Direct | $0.00 | $0.00 | — | 1.05M | $0.0000 | 0% |
google/gemma-4-31b-itReasoning | Direct | $0.00 | $0.00 | — | 262.1K | $0.0000 | 0% |
google/gemma-3-27b-it | Direct | $0.00 | $0.00 | — | 131.1K | $0.0000 | 0% |
Google: Gemma 4 26B A4B (free) google/gemma-4-26b-a4b-it:freeReasoning | Gateway | $0.00 | $0.00 | — | 262.1K | $0.0000 | 0% |
Google: Gemma 4 31B (free) google/gemma-4-31b-it:freeReasoning | Gateway | $0.00 | $0.00 | — | 262.1K | $0.0000 | 0% |
Baidu: ERNIE-5.5-Flash-Preview (free) baidu/ernie-5.5-flash-preview:freeReasoning | Gateway | $0.00 | $0.00 | — | 1.02M | $0.0000 | 0% |
Particle AI: Particle-1 (free) particle-ai/particle-1:freeReasoning | Gateway | $0.00 | $0.00 | — | 1.05M | $0.0000 | 0% |
NVIDIA: Nemotron 3.5 Super VL (free) nvidia/nemotron-3.5-super-vl:freeReasoning | Gateway | $0.00 | $0.00 | — | 1M | $0.0000 | 0% |
NVIDIA: Nemotron 3.5 Lightning (free) nvidia/nemotron-3.5-lightning:freeReasoning | Gateway | $0.00 | $0.00 | — | 1M | $0.0000 | 0% |
Free Models Router openrouter/freeReasoning | Gateway | $0.00 | $0.00 | — | 200K | $0.0000 | 0% |
NVIDIA: Nemotron 3 Ultra (free) nvidia/nemotron-3-ultra-550b-a55b:freeReasoning | Gateway | $0.00 | $0.00 | — | 1M | $0.0000 | 0% |
LiquidAI: LFM3-1.7B (free) liquid/lfm-3-1.7b:freeReasoning | Gateway | $0.00 | $0.00 | — | 262.1K | $0.0000 | 0% |
Recursive: Flint (free) recursive/flint-v1.0:freeReasoning | Gateway | $0.00 | $0.00 | — | 262.1K | $0.0000 | 0% |
NVIDIA: Nemotron 3 Nano Omni (free) nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:freeReasoning | Gateway | $0.00 | $0.00 | — | 256K | $0.0000 | 0% |
Upstage: Solar Mini 4.5 (Preview) upstage/solar-mini-4-5Reasoning | Gateway | $0.01 | $0.04 | $0.001 | 524.3K | $7.80 | -31.6% |
inclusionAI: Ling 3.0 Flash inclusionai/ling-3.0-flashReasoning | Gateway | $0.021 | $0.063 | $0.0042 | 262.1K | $14.49 | -31.3% |
Nex AGI: Nex-N2.5-Mini nex-agi/nex-n2.5-miniReasoning | Gateway | $0.025 | $0.1 | $0.0025 | 262.1K | $19.50 | -31.6% |
Mistral: Mistral Nemo mistralai/mistral-nemo | Gateway | $0.029 | $0.03 | — | 131.1K | $20.10 | 0% |
Google: Gemma 3 4B google/gemma-3-4b-it | Gateway | $0.04 | $0.05 | $0.02 | 131.1K | $21.30 | -25.3% |
google/gemma-4-26b-a4b-itReasoning | Direct | $0.00 | $0.00 | $0.05 | 262.1K | $22.50 | 0% |
ScaleDown: Summarize scaledown/summarize | Gateway | $0.04 | $0.00 | — | 1M | $24.00 | 0% |
ScaleDown: Extract scaledown/extract | Gateway | $0.04 | $0.00 | — | 1M | $24.00 | 0% |
Qwen: Qwen3.7 Flash qwen/qwen3.7-flashReasoning | Gateway | $0.03 | $0.13 | $0.006 | 1M | $26.46 | -25.6% |
Tencent: Hy4 flash tencent/hy4-flashReasoning | Gateway | $0.035 | $0.141 | $0.0015 | 1.05M | $26.47 | -33.8% |
Meta: Llama 3.1 8B Instruct meta-llama/llama-3.1-8b-instruct | Gateway | $0.05 | $0.08 | $0.025 | 131.1K | $28.20 | -24.2% |
Sao10K: Llama 3 8B Lunaris sao10k/l3-lunaris-8b | Gateway | $0.04 | $0.05 | — | 8.2K | $28.50 | 0% |
Z.ai: GLM Flash Latest ~z-ai/glm-flash-latestReasoning | Gateway | $0.036 | $0.082 | $0.03 | 1.05M | $31.44 | -2.8% |
Inference.net: Schematron V2 Turbo inference-net/schematron-v2-turbo | Gateway | $0.03 | $0.15 | $0.03 | 128K | $32.85 | 0% |
Mistral: Ministral 3 3B 2512 mistralai/ministral-3b-2512 | Direct | $0.1 | $0.1 | $0.01 | 131.1K | $33.00 | -52.2% |
Amazon: Nova Micro 1.0 amazon/nova-micro-v1 | Gateway | $0.035 | $0.14 | — | 128K | $33.60 | 0% |
Cohere: Command R7B (12-2024) cohere/command-r7b-12-2024 | Gateway | $0.037 | $0.15 | — | 128K | $36.00 | 0% |
OpenAI: gpt-oss-20b openai/gpt-oss-20bReasoningBatch | Gateway | $0.03 | $0.13 | $0.03 | 131.1K | $36.90 | 0% |
Mistral: Mistral Small 3 mistralai/mistral-small-24b-instruct-2501 | Gateway | $0.05 | $0.08 | — | 32.8K | $37.20 | 0% |
IBM: Granite 4.2 8B ibm-granite/granite-4.2-8bReasoning | Gateway | $0.06 | $0.15 | $0.015 | 131.1K | $38.70 | -31.2% |
Specialized Cost Calculators
View all calculators →API vs Self-Hosted GPU
Compare monthly hosted token bills against RunPod, Vast.ai, Lambda, and DigitalOcean H100/H200/RTX 5090 deployments.
Prompt Caching ROI
Compute cache-read savings (50%–90% off) vs cache-write premiums and exact hits needed to break even.
Coding Agent Session Cost
Simulate 12-turn coding loops with growing context windows, 80% prefix caching, and reasoning overhead.
RAG Pipeline Cost
Combine live vector embedding ingestion prices with retrieved-context LLM generation costs.
Image, Video & Audio APIs
Estimate monthly spend across fal.ai, OpenAI, Google, and DashScope image, video, TTS, and STT models.
Cheapest Models & Drops
Browse lowest-cost models under $0.25/1M input, cheapest reasoning models, and tracked price reductions.
Popular Side-by-Side Comparisons
All 595 comparisons →- OpenAI: GPT-6.2 Astra vs OpenAI: GPT-6.2 Sol $8.00 vs $2.00
- OpenAI: GPT-6.1 Terra vs OpenAI: GPT-6.2 Sol $1.00 vs $2.00
- OpenAI: GPT-6.2 Sol vs OpenAI: GPT-6 Luna $2.00 vs $0.1
- OpenAI: GPT-6.1 Sol vs OpenAI: GPT-6.2 Sol $2.00 vs $2.00
- OpenAI: GPT-6.2 Sol vs OpenAI: GPT-6 Sol $2.00 vs $2.00
- OpenAI: GPT-6.2 Sol vs OpenAI: GPT-6 Astra $2.00 vs $10.00
- Anthropic: Claude Fable 5.2 vs OpenAI: GPT-6.2 Sol $8.00 vs $2.00
- Anthropic: Claude Haiku 5.5 vs OpenAI: GPT-6.2 Sol $0.1 vs $2.00
- Anthropic: Claude Sonnet 5.5 vs OpenAI: GPT-6.2 Sol $2.00 vs $2.00
- Anthropic: Claude Opus 5.5 vs OpenAI: GPT-6.2 Sol $4.00 vs $2.00
- Anthropic: Claude Fable 5.1 vs OpenAI: GPT-6.2 Sol $10.00 vs $2.00
- Anthropic: Claude Opus 5 vs OpenAI: GPT-6.2 Sol $5.00 vs $2.00
Latest Catalog & Pricing Events
Full changelog →- 2026-11-30 price drop
NVIDIA: Nemotron 3 Ultra Output $/1M dropped 2.3% ($2.2 → $2.15)
- 2026-11-30 price increase
MoonshotAI: Kimi Latest Output $/1M increased 11.7% ($11.0055 → $12.2894)
- 2026-11-30 price drop
MoonshotAI: Kimi Latest Input $/1M dropped 20.3% ($0.1824 → $0.1453)
- 2026-11-30 price drop
Z.ai: GLM Latest Output $/1M dropped 5.7% ($1.4 → $1.32)
- 2026-11-30 price increase
DeepSeek: DeepSeek Pro Latest Output $/1M increased 12.6% ($4.44 → $5)
- 2026-11-30 price drop
DeepSeek: DeepSeek Pro Latest Input $/1M dropped 10% ($0.111 → $0.0999)
- 2026-11-30 price drop
NVIDIA: Nemotron 3.5 Super VL Output $/1M dropped 4.3% ($0.47 → $0.45)
- 2026-11-30 new model
Added inclusionAI: Ling 3.2 Flash ($0.3/1M in, $0.9/1M out)
- 2026-11-30 price drop
Thinking Machines: Inkling 2 Small Output $/1M dropped 50% ($1 → $0.5)
- 2026-11-30 price drop
Thinking Machines: Inkling 2 Small Input $/1M dropped 50% ($0.3 → $0.15)
Top Tracked Model Pricing Pages
Browse all 120 model guides →Pricing Methodology & Frequently Asked Questions
Why does TokenCostDB show both Direct Official and OpenRouter Gateway prices?
Many LLM comparison tables mix direct vendor rates with gateway routing markups or omit prompt caching surcharges. TokenCostDB cross-references LiteLLM official vendor pricing dictionaries against live OpenRouter routing metadata so developers see both direct provider costs and gateway routing availability side by side.
How does Prompt Caching and Cache Write pricing change real monthly AI bills?
Prompt caching typically discounts repeated prefix tokens by 50% to 90%, while some providers charge a 1.25x to 2x cache-write premium on initial writes. Our calculator models both read hit ratios and periodic cache refreshes so multi-turn coding agents and RAG systems do not underestimate costs.
When is self-hosting GPUs cheaper than calling commercial LLM APIs?
Self-hosting open-weights models on dedicated H100, H200, or RTX 5090 pods usually beats hosted APIs only once sustained daily token volume exceeds the break-even threshold covering 730 GPU hours/month plus operational overhead. Use our API vs Self-Hosted GPU calculator to find your exact crossover point.
Can AI agents and developer scripts fetch TokenCostDB pricing via JSON?
Yes. Free unauthenticated endpoints are published daily at /api/prices.json, /api/multimodal.json, and /api/gpus.json alongside /llms.txt and /rss.xml.