← back to flaviocopes.com

Model prices

← Back to calculator

Every rate used by the inference cost calculator, in USD per 1 million tokens on the standard API tier. Verified July 2026 against the provider pricing pages linked below.

~~~
ModelTierInput / 1MCached / 1MOutput / 1MContextBest for
GPT-5.5flagship$5.00$0.50$30.001MFlagship general-purpose: hard agents, coding, research
GPT-5.4flagship$2.50$0.25$15.001MFrontier quality at half the GPT-5.5 rate; production default
GPT-5.4 miniworkhorse$0.75$0.075$4.50400KHigh-volume chat, RAG, extraction, support bots
GPT-5 miniworkhorse$0.25$0.025$2.00400KBudget general tasks with solid quality
GPT-5.4 nanobudget$0.20$0.020$1.25400KRouting, tagging, classification, simple summaries
GPT-5 nanobudget$0.050$0.005$0.40400KCheapest OpenAI model for infrastructure calls
ModelTierInput / 1MCached / 1MOutput / 1MContextBest for
Claude Fable 5flagship$10.00$1.00$50.001MNext-gen intelligence for long-running agents
Claude Opus 4.8flagship$5.00$0.50$25.001MComplex agentic coding and enterprise work
Claude Sonnet 5workhorse$3.00$0.30$15.001MBest speed/intelligence balance; daily-driver agentsIntro pricing $2/$10 through Aug 31, 2026. Standard price shown.
Claude Haiku 4.5workhorse$1.00$0.10$5.00200KFast near-frontier chat and tool use
ModelTierInput / 1MCached / 1MOutput / 1MContextBest for
Gemini 3.1 Proflagship$2.00$0.20$12.002MFlagship reasoning with industry-largest contextPrompts >200K tokens billed at $4/$18.
Gemini 3.5 Flashworkhorse$1.50$0.15$9.001MAgentic tasks and coding; beats 3.1 Pro on some coding
Gemini 3 Flashworkhorse$0.50$0.050$3.001MFast multimodal default; strong price/performance
Gemini 3.1 Flash-Litebudget$0.25$0.025$1.501MBulk simple tasks, translation, extraction
Gemini 2.5 Flash-Litebudget$0.10$0.010$0.401MCheapest Google tier for very high volume
ModelTierInput / 1MCached / 1MOutput / 1MContextBest for
Grok 4.3workhorse$1.25$0.20$2.501MAggressively priced frontier-class chat and tool use
ModelTierInput / 1MCached / 1MOutput / 1MContextBest for
Mistral Large 3openworkhorse$0.50$1.50256KOpen-weight European frontier; multimodal MoE
Mistral Small 3openbudget$0.10$0.30128KCheap general tasks; open-weight
Ministral 8Bopenbudget$0.10$0.10128KEdge and embedded deployments

Aggregator for open-weight models. Listed price is the default routing; actual price varies by underlying provider.

ModelTierInput / 1MCached / 1MOutput / 1MContextBest for
DeepSeek V4 Proopenworkhorse$0.435$0.871MFrontier-class reasoning and coding at budget rates
DeepSeek V4 Flashopenbudget$0.090$0.181MThe open-weight price leader for chat and agents
Kimi K2.6openworkhorse$0.60$3.40262KStrong open-weight agentic and writing model
Llama 4 Maverickopenbudget$0.15$0.601MMultimodal open-weight with huge context
Llama 4 Scoutopenbudget$0.10$0.3010MCheap long-context summarization and search

Cloudflare edge inference. Billed in neurons ($0.011 per 1k); per-token equivalents shown. 10k neurons/day free.

ModelTierInput / 1MCached / 1MOutput / 1MContextBest for
GPT-OSS 120Bopenworkhorse$0.35$0.75128KOpenAI's open-weight model at the edge, no cold starts
Llama 3.3 70Bopenworkhorse$0.293$2.253131KCapable open-weight default on Cloudflare's edge
Llama 3.1 8B (fast)openbudget$0.045$0.384131KVery cheap edge inference for simple tasks
Llama 3.2 3Bopenbudget$0.051$0.335128KLightweight classification and drafting
Llama 3.2 1Bopenbudget$0.027$0.201128KThe cheapest credible model for routing/tagging