Use this free AI token cost calculator to estimate daily and monthly LLM API pricing across OpenAI, Anthropic Claude, Google Gemini, DeepSeek, and open-weights models—including prompt caching and Batch API discounts.
Monthly LLM API spend equals (Input Millions × Input Rate) + (Output Millions × Output Rate), minus prompt-cache and Batch API discounts. Across 24 catalog models, entry paid rates start at $0.10/$0.50 per 1M tokens (GPT-6 Luna), while frontier reasoning models range up to $10/$50 per 1M.
Estimates use catalog prices and a 30-day month. Prompt-cache share, batch eligibility, reasoning-token volume, and gateway adjustments are assumptions; FX conversions use fixed rates, not live exchange data. Actual provider bills vary.
Pick a scenario or fine-tune token parameters and cloud host below.
Switching from GPT-4o ($195.00/mo) to GPT-6 Luna ($9.00/mo) saves 95%.
High-volume summarization, routing, classification, extraction pipelines
High-volume classification, extraction, routing (prompts ≤ 100K tokens; >100K input/output billed $0.50/$2.50)
Open-weights MIT-licensed workhorse: agents, extraction, long-doc analysis (off-peak pricing; weekday peak hours 01:00-04:00 & 06:00-10:00 UTC double rates; cache hit $0.003)
High-volume text processing, fast chatbots, structured JSON extraction
Top open-weights coding, math, and multilingual benchmark performance
Open-weights privacy, self-hosting or ultra-cheap hosted inferencing
Ultra-cheap high-frequency classification, translation, extraction at scale
Open-weights frontier-style reasoning at low cost (MIT license; off-peak pricing; peak hours double rates; cache hit $0.022)
Long-horizon agentic tasks and multimodal general workloads (promo price through 2026-12-31; rises to $1.50/$7.50 on 2027-01-01)
High-volume reasoning and coding at frontier-adjacent pricing (prompts ≥ 200K tokens bill $2.50/$5.00)
High-throughput chat, tool calling, structured output at low cost
Real-time information synthesis, large codebases; prompts ≥ 200K tokens bill $4.00/$12.00
Multilingual tasks, European compliance, enterprise code generation
Near-frontier intelligence at flagship cost; complex work with tool use
Best balance of speed and intelligence; coding, agents, enterprise RAG
Ranked #1 on Models Engineering Index; frontier coding, complex logic, multimodal engineering, and 2M token context
Complex multimodal reasoning, coding, and production enterprise apps
Enterprise RAG, citation grounding, 128k context multilingual tool use
Multimodal understanding, vibe-coding, agentic tool use (prompts > 200K tokens bill $4.00/$18.00)
Long-running agentic coding and knowledge work at near-frontier quality
Frontier reasoning for complex software engineering and multi-step agents (launch price $2.00/$10.00 through 2026-11-30; rises to $4.00/$20.00 2026-12-01)
Previous flagship generation; still strong general-purpose reasoning
Most demanding reasoning and coding workloads, frontier agentic systems
Demanding reasoning and long-horizon agentic work, extended thinking
Simulate end-to-end multi-turn chat sessions and complete RAG pipelines with embeddings, rerankers, and prompt caching.
In multi-turn chat, previous turns are cached after turn 1 at up to 90% discount on Claude Sonnet 5.5, DeepSeek Flash, and Gemini.
In production, conversational and RAG apps usually have an input-to-output token ratio between 3:1 and 8:1. Long system prompts and retrieved documents drive up input tokens, while responses are usually concise.
For repetitive system prompts (e.g., 2,000 token instructions), caching provides up to 90% discounts on Anthropic Claude Sonnet 5.5 and 50% on OpenAI GPT-4o.
Route 70% of mundane queries (formatting, sentiment, intent detection) to low-cost models like GPT-6 Luna ($0.10/1M) or GPT-4o Mini, saving expensive flagship calls for hard reasoning.
Multiply monthly input tokens (in millions) by the model input rate, add monthly output tokens (in millions) multiplied by the output rate, then discount the cached input share by the cache-read rate and apply a 50% Batch API discount if your workload is asynchronous.
Most LLM providers charge 3x to 5x more per output token than per input token, and reasoning models generate hidden chain-of-thought tokens billed as output. Even a short prompt can produce a pricey response at high thinking effort.
Standard on-demand token list rates on Bedrock, Azure OpenAI, Vertex AI, and OpenRouter usually match direct provider APIs (1.0x multiplier), while specialized ultra-fast hardware hosts or provisioned throughput tiers can differ. Select your gateway in the calculator to model both.
Every turn in a multi-turn chat or coding agent resends earlier turns plus retrieved chunks and system instructions. Without prefix caching or history summarization, total input tokens scale roughly quadratically with turn count.
Use prompt caching when a large system prompt or knowledge prefix repeats across requests, and add a smart router when 60%–80% of incoming queries can be handled by a budget model before escalating hard edge cases to a flagship.