Pricing Comparison of Top LLM APIs (Cost per 1M Tokens)

Facts & Figures
Visual Intelligence
Visuals are simplified for clarity. Read values and labels with the cited source context.
Primary Signal
OpenAI's GPT-5.5 combined cost for 1M input + 1M output tokens ($5 input / $30 output).
Most expensive model
OpenAI's GPT-5.5 combined cost for 1M input + 1M output tokens ($5 input / $30 output).
Quick Snapshot
- Most expensive model $35 OpenAI's GPT-5.5 combined cost for 1M input + 1M output tokens ($5 input / $30 output).
- Cheapest listed tier $1.45 GPT-5.4-nano's combined cost ($0.20 input / $1.25 output) — the lowest in the dataset.
- Top-to-bottom spread ~24x The gap between GPT-5.5 ($35) and GPT-5.4-nano ($1.45) on a combined-cost basis.
TL;DR
LLM API pricing at a glance
This comparison ranks 13 LLM API models from OpenAI, Anthropic, Google, xAI, and DeepSeek by their combined cost per 1M input plus 1M output tokens. The headline finding: pricing spans from $35 at the top (GPT-5.5) to $1.45 at the bottom (GPT-5.4-nano), a roughly 24x spread that makes model selection one of the biggest cost levers in AI product development.
! Key takeaways:
- • GPT-5.5 leads on price: At $35 combined ($5 input / $30 output per 1M tokens), OpenAI's flagship is the most expensive model in the comparison.
- • Claude Opus 4.8 sits close behind: Anthropic's flagship matches GPT-5.5 on input ($5/1M) but undercuts it on output ($25 vs $30), landing at $30 combined.
- • Nano and mini tiers rewrite the math: GPT-5.4-nano ($1.45 combined) and GPT-5.4-mini ($5.25 combined) cost a fraction of flagship rates, enabling high-volume workloads at commodity prices.
- • Output tokens carry the premium: Across the sampled models, output pricing runs roughly 5-6x input pricing, so generation-heavy workloads (long answers, code, summaries) dominate real-world bills.
- • Five providers, one ladder: OpenAI, Anthropic, Google, xAI, and DeepSeek each ladder their lineups from premium reasoning tiers down to budget models, giving buyers substitutes at nearly every price point.
? The numbers:
- • GPT-5.5 (OpenAI) combined: $35.00
- • Claude Opus 4.8 (Anthropic) combined: $30.00
- • GPT-5.4 (OpenAI) combined: $17.50
- • GPT-5.4-mini (OpenAI) combined: $5.25
- • GPT-5.4-nano (OpenAI) combined: $1.45
- • Flagship-to-nano spread: ~24x
Token pricing is now a strategic decision, not a line item. With a ~24x spread between flagship and nano tiers and output tokens priced 5-6x above input, routing the right task to the right model — rather than defaulting to the most capable one — is where AI teams find their largest and fastest cost savings.
Continue reading below for the full detailed article →
Overview
API pricing has become the quiet battleground of the AI industry. This comparison ranks 13 models from OpenAI, Anthropic, Google, xAI, and DeepSeek on a single, comparable yardstick: the combined cost of processing 1M input tokens and generating 1M output tokens. The results show a market that has stratified sharply. At the top, OpenAI's GPT-5.5 charges $35 combined and Anthropic's Claude Opus 4.8 charges $30 — premium rates for premium reasoning. In the middle, workhorse tiers like GPT-5.4 ($17.50 combined) balance capability and cost. At the bottom, mini and nano tiers such as GPT-5.4-mini ($5.25) and GPT-5.4-nano ($1.45) push per-token costs toward commodity levels. That roughly 24x top-to-bottom spread — plus the consistent 5-6x premium on output tokens over input tokens — means the model you route a task to matters more to your bill than almost any other engineering decision.
Intro
Why LLM pricing matters now
Token costs are the primary variable expense for AI products. For any application built on hosted LLM APIs, the per-token rate multiplied by usage volume defines gross margin — making pricing tables required reading for founders, CFOs, and engineering leads alike.
The market now offers substitutes at every tier. With five providers — OpenAI, Anthropic, Google, xAI, and DeepSeek — fielding 13 models across flagship, mid, mini, and nano classes, buyers can arbitrage capability against cost in ways that were impossible when only one or two frontier models existed.
A single comparable metric cuts through the noise. Providers quote input and output prices separately, which obscures true cost. Combining 1M input + 1M output tokens into one number gives a level playing field for ranking — even if individual workloads skew heavily toward one side.
Data Table
LLM API Pricing per 1M Tokens, by Model
The table lists each of the 13 models with its provider, input price (USD per 1M tokens), output price (USD per 1M tokens), and combined cost for 1M input + 1M output tokens — the ranking metric used in the chart. Sample anchors: GPT-5.5 at $5 input / $30 output ($35 combined), Claude Opus 4.8 at $5 / $25 ($30 combined), GPT-5.4 at $2.50 / $15 ($17.50 combined), GPT-5.4-mini at $0.75 / $4.50 ($5.25 combined), and GPT-5.4-nano at $0.20 / $1.25 ($1.45 combined). Reading input and output columns side by side reveals the consistent output premium that drives real-world costs.
| No table data | ||||
Combined cost = input price per 1M tokens + output price per 1M tokens. Actual workload costs depend on your input/output token ratio; list prices exclude volume discounts, caching discounts, and batch pricing.
Analysis
The premium tier: flagships command $30 and up
OpenAI's GPT-5.5 sits at the top of the ranking at $35 combined per 1M input + 1M output tokens, driven by a $30-per-million output rate — six times its $5 input rate.
Anthropic's Claude Opus 4.8 matches GPT-5.5 exactly on input pricing at $5 per 1M tokens but undercuts it on output at $25, landing at $30 combined. That $5 gap is small in percentage terms but meaningful at scale: across a billion output tokens, it amounts to $5,000 in savings.
These flagship rates position top-end reasoning as a premium product — one that makes economic sense for high-value tasks like complex analysis, agentic workflows, and code generation, but not for routine, high-volume text processing.
Implications
The budget tier: nano and mini models collapse the cost floor
At the other end of the chart, GPT-5.4-nano charges just $0.20 per 1M input tokens and $1.25 per 1M output tokens — $1.45 combined, or roughly 1/24th the cost of GPT-5.5.
One step up, GPT-5.4-mini lands at $5.25 combined ($0.75 input / $4.50 output), still less than a sixth of flagship pricing while occupying the same product family as OpenAI's mid-tier GPT-5.4 ($17.50 combined).
This tiering creates a clear laddering strategy: providers give developers a flagship for hard problems, a workhorse for standard tasks, and near-commodity tiers for classification, extraction, and routing — the kinds of jobs that generate the largest token volumes.
Conclusion
The bottom line
LLM API pricing now spans roughly 24x from top to bottom — $35 for GPT-5.5 down to $1.45 for GPT-5.4-nano per combined 1M input + 1M output tokens — making model selection the single largest cost lever in AI development.
The flagship race is tight: Claude Opus 4.8 ($30 combined) trails GPT-5.5 ($35) by $5, with identical $5 input pricing, so the real differentiation at the top happens on output rates and capability, not input cost.
Output tokens carry a consistent 5-6x premium over input tokens, so real-world bills depend heavily on how much a model generates — not just how much it reads.
For buyers, the winning strategy is routing, not loyalty: match each task to the cheapest tier that meets its quality bar, and revisit the pricing table often — with five providers competing across 13 models, these numbers move fast.
Data Source and Attribution
Data reflects the provided pricing dataset covering 13 LLM API models across five providers (OpenAI, Anthropic, Google, xAI, and DeepSeek), with per-model input and output prices in USD per 1M tokens and a derived combined cost for 1M input + 1M output tokens.
Prices are list rates as captured in the dataset and may exclude volume discounts, prompt caching, batch-processing rates, and enterprise agreements. LLM pricing changes frequently; verify current rates on each provider's official pricing page before making purchasing decisions.
The combined-cost metric is a normalization for ranking purposes; actual workload costs depend on each application's specific input-to-output token ratio.
Related Publications
More from FactsFigs
Top 10 AI Companies By Intelligence Score
OpenAI holds the highest single-model intelligence score at 51. The top three creators are tightly clustered, and model counts vary independently of peak score.
24 Jun 2026
Top 10 AI Tools - Billions Of Visitors Per Month
Conversational AI platforms continue leading the AI economy by massive margins.ChatGPT alone records an estimated 1.8B monthly visits.
25 May 2026
Discovering Claude: $30 Billion Funding Round
Anthropic has secured $72.3 billion to fund its enterprise AI ambitions. The historic $30B Series G round solidifies a massive $380B post-money valuation.
19 May 2026
Moses
10 Jul 2026
