$T TokenCostDB
Verified: 2026-11-30 368 LLMs (113 Direct-Matched) 318 Multimodal APIs 12 Cloud GPU SKUs

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.

Prompt Cache Hit Rate75%
JSON API
ModelBasis
google/lyria-3-pro-preview
Direct$0.00$0.00—1.05M$0.00000%
google/lyria-3-clip-preview
Direct$0.00$0.00—1.05M$0.00000%
google/gemma-4-31b-itReasoning
Direct$0.00$0.00—262.1K$0.00000%
google/gemma-3-27b-it
Direct$0.00$0.00—131.1K$0.00000%
Google: Gemma 4 26B A4B (free)
google/gemma-4-26b-a4b-it:freeReasoning
Gateway$0.00$0.00—262.1K$0.00000%
Google: Gemma 4 31B (free)
google/gemma-4-31b-it:freeReasoning
Gateway$0.00$0.00—262.1K$0.00000%
Baidu: ERNIE-5.5-Flash-Preview (free)
baidu/ernie-5.5-flash-preview:freeReasoning
Gateway$0.00$0.00—1.02M$0.00000%
Particle AI: Particle-1 (free)
particle-ai/particle-1:freeReasoning
Gateway$0.00$0.00—1.05M$0.00000%
NVIDIA: Nemotron 3.5 Super VL (free)
nvidia/nemotron-3.5-super-vl:freeReasoning
Gateway$0.00$0.00—1M$0.00000%
NVIDIA: Nemotron 3.5 Lightning (free)
nvidia/nemotron-3.5-lightning:freeReasoning
Gateway$0.00$0.00—1M$0.00000%
Free Models Router
openrouter/freeReasoning
Gateway$0.00$0.00—200K$0.00000%
NVIDIA: Nemotron 3 Ultra (free)
nvidia/nemotron-3-ultra-550b-a55b:freeReasoning
Gateway$0.00$0.00—1M$0.00000%
LiquidAI: LFM3-1.7B (free)
liquid/lfm-3-1.7b:freeReasoning
Gateway$0.00$0.00—262.1K$0.00000%
Recursive: Flint (free)
recursive/flint-v1.0:freeReasoning
Gateway$0.00$0.00—262.1K$0.00000%
NVIDIA: Nemotron 3 Nano Omni (free)
nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:freeReasoning
Gateway$0.00$0.00—256K$0.00000%
Upstage: Solar Mini 4.5 (Preview)
upstage/solar-mini-4-5Reasoning
Gateway$0.01$0.04$0.001524.3K$7.80-31.6%
inclusionAI: Ling 3.0 Flash
inclusionai/ling-3.0-flashReasoning
Gateway$0.021$0.063$0.0042262.1K$14.49-31.3%
Nex AGI: Nex-N2.5-Mini
nex-agi/nex-n2.5-miniReasoning
Gateway$0.025$0.1$0.0025262.1K$19.50-31.6%
Mistral: Mistral Nemo
mistralai/mistral-nemo
Gateway$0.029$0.03—131.1K$20.100%
Google: Gemma 3 4B
google/gemma-3-4b-it
Gateway$0.04$0.05$0.02131.1K$21.30-25.3%
google/gemma-4-26b-a4b-itReasoning
Direct$0.00$0.00$0.05262.1K$22.500%
ScaleDown: Summarize
scaledown/summarize
Gateway$0.04$0.00—1M$24.000%
ScaleDown: Extract
scaledown/extract
Gateway$0.04$0.00—1M$24.000%
Qwen: Qwen3.7 Flash
qwen/qwen3.7-flashReasoning
Gateway$0.03$0.13$0.0061M$26.46-25.6%
Tencent: Hy4 flash
tencent/hy4-flashReasoning
Gateway$0.035$0.141$0.00151.05M$26.47-33.8%
Meta: Llama 3.1 8B Instruct
meta-llama/llama-3.1-8b-instruct
Gateway$0.05$0.08$0.025131.1K$28.20-24.2%
Sao10K: Llama 3 8B Lunaris
sao10k/l3-lunaris-8b
Gateway$0.04$0.05—8.2K$28.500%
Z.ai: GLM Flash Latest
~z-ai/glm-flash-latestReasoning
Gateway$0.036$0.082$0.031.05M$31.44-2.8%
Inference.net: Schematron V2 Turbo
inference-net/schematron-v2-turbo
Gateway$0.03$0.15$0.03128K$32.850%
Mistral: Ministral 3 3B 2512
mistralai/ministral-3b-2512
Direct$0.1$0.1$0.01131.1K$33.00-52.2%
Amazon: Nova Micro 1.0
amazon/nova-micro-v1
Gateway$0.035$0.14—128K$33.600%
Cohere: Command R7B (12-2024)
cohere/command-r7b-12-2024
Gateway$0.037$0.15—128K$36.000%
OpenAI: gpt-oss-20b
openai/gpt-oss-20bReasoningBatch
Gateway$0.03$0.13$0.03131.1K$36.900%
Mistral: Mistral Small 3
mistralai/mistral-small-24b-instruct-2501
Gateway$0.05$0.08—32.8K$37.200%
IBM: Granite 4.2 8B
ibm-granite/granite-4.2-8bReasoning
Gateway$0.06$0.15$0.015131.1K$38.70-31.2%
Showing 35 of 368 matching models

Specialized Cost Calculators

View all calculators →

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.