This AI API price comparison covers every model on our board, grouped by provider. Two price lists can show the same headline rate and still send you different bills.
How to Read This AI API Price Comparison
All prices are list prices in US dollars per 1M tokens (the small chunks of text a model reads and writes). Input is what you send. Output is what the model sends back. Cached input is the lower rate for text the provider has already processed and can reuse.
The figures come from our price board as read on 2026-12-05. Cached prices come from each model’s page on the same site. The “Checked” column is the date recorded on that row, so you can see which entries are older. Our methodology page explains how a price is read, confirmed and logged.
Four rows need care, and we leave them out of every range and median below:
- Gemini 2.5 Pro retired on 2026-12-01. Google says requests now go to Gemini 3.8 Flash and are billed at its rates.
- Gemini 4 Argon is marked deprecated on Google’s own pages. From 2026-12-15, requests route to Gemini 4 Carbon at Carbon rates. Our board has since been updated to show this.
- Kimi K2.7 Code is deprecated, and Moonshot expects to withdraw it in late December 2026.
- Codestral 25.08 is deprecated since 2026-11-30, and Mistral lists its retirement on 2026-12-31. Our board has since been updated to show this.
These tables follow the board as corrected on 2026-12-05. That day its GPT-5.6 Sol row moved from $4 and $20, a promotional price that ended on 2026-11-30, to OpenAI’s listed $5 and $30, and GLM-5.4 and MiniMax M4 were added.
That leaves 40 models in our comparison. Their median list price was $1.75 for input and $6.75 for output per 1M tokens on 2026-12-05.
Prices by Provider
OpenAI
OpenAI has the most rows, 12, and the widest spread: a 100-fold gap in both input and output between its lowest and highest list prices.
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| GPT-6 Luna | $0.10 | $0.50 | $0.01 | 2026-11-21 |
| GPT-5.6 Luna | $0.20 | $1.20 | $0.02 | 2026-11-21 |
| GPT-6.1 Terra | $1 | $5 | $0.05 | 2026-12-05 |
| GPT-6.2 Sol | $2 | $10 | $0.10 | 2026-12-05 |
| GPT-6.1 Sol | $2 | $10 | $0.10 | 2026-12-05 |
| GPT-6 Sol | $2 | $10 | $0.20 | 2026-12-05 |
| GPT-5.6 Terra | $2 | $12 | $0.20 | 2026-12-05 |
| GPT-5.4 | $2.50 | $15 | $0.25 | 2026-11-21 |
| GPT-5.6 Sol | $5 | $30 | $0.50 | 2026-12-05 |
| GPT-5.5 | $5 | $30 | $0.50 | 2026-11-21 |
| GPT-6.2 Astra | $8 | $40 | $0.40 | 2026-12-05 |
| GPT-6 Astra | $10 | $50 | $1 | 2026-12-05 |
Anthropic
Anthropic’s eight rows include three different cached rates relative to input. Compare that column, not only the first two.
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| Claude Haiku 5.5 | $0.10 | $0.50 | $0.01 | 2026-12-05 |
| Claude Haiku 4.5 | $1 | $5 | $0.10 | 2026-12-05 |
| Claude Sonnet 5.5 | $2 | $10 | $0.10 | 2026-12-05 |
| Claude Sonnet 5 | $2 | $10 | $0.20 | 2026-12-05 |
| Claude Sonnet 4.6 | $3 | $15 | $0.30 | 2026-12-05 |
| Claude Opus 5.5 | $4 | $20 | $0.20 | 2026-12-05 |
| Claude Opus 5 | $5 | $25 | $0.50 | 2026-12-05 |
| Claude Fable 5.2 | $8 | $40 | $0.20 | 2026-12-05 |
Google’s list carries two of the flagged rows above, plus a dated increase. Gemini 3.8 Flash is listed to move to $1.50 input and $7.50 output from 2027-01-01.
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 | 2026-12-01 |
| Gemini 3.8 Flash (Rises Jan 1, 2027) | $0.75 | $3.75 | $0.075 | 2026-11-21 |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 | 2026-11-21 |
| Gemini 2.5 Pro (Retired Dec 1) | $1.25 | $10 | $0.125 | 2026-11-21 |
| Gemini 4 Neon | $3 | $15 | $0.15 | 2026-12-05 |
| Gemini 4 Carbon | $4 | $20 | $0.20 | 2026-12-05 |
| Gemini 4 Argon (Deprecated; reroutes Dec 15) | $4 | $20 | $0.20 | 2026-12-05 |
Mistral AI
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| Ministral 3 14B | $0.20 | $0.20 | none listed | 2026-11-24 |
| Mistral Small 4 | $0.15 | $0.60 | none listed | 2026-12-05 |
| Codestral 25.08 (Deprecated; retires Dec 31) | $0.30 | $0.90 | none listed | 2026-12-05 |
| Mistral Large 4 | $0.70 | $2.10 | $0.07 | 2026-11-24 |
For three of these four rows, our board lists no cached price. Mistral’s pricing page does advertise a cached-input discount in general terms, so confirm the rate for your model there.
DeepSeek
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| DeepSeek V4.1 Flash | $0.30 | $1.20 | $0.006 | 2026-11-21 |
| DeepSeek V4 Pro | $1.32 | $3.96 | $0.044 | 2026-11-21 |
These are peak rates. DeepSeek charges half outside peak hours, which it defines as 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays, excluding Chinese public holidays.
Z.ai
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| GLM-5.3-Flash | $0.15 | $0.50 | $0.03 | 2026-12-05 |
| GLM-5.3-FlashX | $0.37 | $1.25 | $0.075 | 2026-12-05 |
| GLM-5.3 | $1.40 | $4.40 | $0.26 | 2026-12-05 |
| GLM-5.4 | $1.40 | $4.40 | $0.26 | 2026-12-05 |
MiniMax
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| MiniMax M3.1 Flash | $0.15 | $0.60 | $0.015 | 2026-11-21 |
| MiniMax M3 | $0.30 | $1.20 | $0.06 | 2026-11-21 |
| MiniMax M4 | $0.80 | $3.10 | $0.05 | 2026-12-05 |
MiniMax’s pricing page lists M3 as a legacy model, with MiniMax M4 as the newer one.
Moonshot AI
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| Kimi K2.7 Code (Deprecated) | $0.95 | $4 | $0.19 | 2026-11-21 |
| Kimi K3.1 Pro | $2 | $10 | $0.20 | 2026-11-21 |
| Kimi K3 | $3 | $15 | $0.30 | 2026-11-21 |
xAI
| Model | Input | Output | Cached | Checked |
|---|---|---|---|---|
| Grok 4.7 | $2 | $6 | $0.50 | 2026-12-05 |
Which Price Band Is Each Model In?
A blended price mixes three parts input with one part output. It is a rough sorting tool, not your bill. Here are the 40 current models by band on 2026-12-05.
| Blended price per 1M | Models | Who is in it |
|---|---|---|
| Under $1 | 11 | Small models from OpenAI, Anthropic, Google, Mistral, DeepSeek, Z.ai and MiniMax |
| $1 to under $4 | 10 | Mistral Large 4, MiniMax M4, Gemini 3.8 Flash, DeepSeek V4 Pro, GLM-5.3 and GLM-5.4, GPT-6.1 Terra, Claude Haiku 4.5, Grok 4.7, Gemini 4 Hydrogen |
| $4 to under $8 | 11 | OpenAI’s GPT-6, 6.1 and 6.2 Sol, 5.6 Terra and 5.4 rows, Claude Sonnet models, Gemini 4 Neon, Kimi K3.1 Pro and K3 |
| $8 and above | 8 | Claude Opus 5.5 and Opus 5, Claude Fable 5.2, Gemini 4 Carbon, GPT-5.6 Sol, GPT-5.5, GPT-6.2 Astra, GPT-6 Astra |
Monthly Workload Math, Provider by Provider
Take two made-up months. A chat month sends 20M input tokens and receives 5M. A document month sends 60M and receives 6M. The formula is: (input in millions × input price) + (output in millions × output price). Both assume short prompts, standard processing and no caching.
For each provider, the table shows its lowest and highest bill among current models.
| Provider (current models) | Chat month, low to high | Document month, low to high |
|---|---|---|
| OpenAI (12) | $4.50 to $450 | $9 to $900 |
| Anthropic (8) | $4.50 to $360 | $9 to $720 |
| Google (5) | $18.50 to $180 | $33 to $360 |
| Mistral AI (3) | $5 to $24.50 | $12.60 to $54.60 |
| DeepSeek (2) | $12 to $46.20 | $25.20 to $102.96 |
| Z.ai (4) | $5.50 to $50 | $12 to $110.40 |
| MiniMax (3) | $6 to $31.50 | $12.60 to $66.60 |
| Moonshot AI (2) | $90 to $135 | $180 to $270 |
| xAI (1) | $70 | $156 |
Across all 40, the median chat month costs $68.75 and the median document month $145.50. A narrow range does not make a provider better value. It often means fewer models are listed.
The low end also shifts with the job shape. In the chat month, Mistral’s lowest bill is Ministral 3 14B. In the document month it is Mistral Small 4, because input weighs more and Small 4 has the lower input price.
Did you know? On our board on 2026-12-05, six current models shared the same $2 input and $10 output list price, from three providers.
Same Headline Price, Different Rules
Those six are a good lesson in reading past the first two columns.
| Model | Cached input | Batch input / output | Long-prompt rate |
|---|---|---|---|
| GPT-6.2 Sol | $0.10 | $1 / $5 | Over 272K |
| GPT-6.1 Sol | $0.10 | $1 / $5 | Over 272K |
| GPT-6 Sol | $0.20 | $1 / $5 | Over 272K |
| Claude Sonnet 5.5 | $0.10 | $1 / $5 | None listed |
| Claude Sonnet 5 | $0.20 | $1 / $5 | None listed |
| Kimi K3.1 Pro | $0.20 | $1.20 / $6 | None listed |
Long-Prompt Tiers
Some models charge a higher rate once one prompt passes a size limit, and the whole request moves to that rate, not just the extra part.
| Models | Limit per prompt | What changes |
|---|---|---|
| OpenAI rows on our board | Over 272,000 tokens | Input doubles, output rises by half |
| Claude Haiku 5.5 | Over 100,000 tokens | $0.10 / $0.50 becomes $0.50 / $2.50 |
| Grok 4.7 | 200,000 tokens and up | $2 / $6 becomes $4 / $12 |
| MiniMax M3 | Over 512,000 tokens | $0.30 / $1.20 becomes $0.60 / $2.40 |
Take one request with 300,000 input and 5,000 output tokens. On GPT-6.2 Sol it costs $1.275 at the long rate, against $0.65 if the short rate applied. On Grok 4.7 it is $1.26 against $0.63. On Claude Sonnet 5.5 it stays at $0.65, since Anthropic includes the full 1M window at standard price on that model.
Haiku 5.5 is the one to watch for small bills. A request with 150,000 input and 2,000 output tokens costs $0.08, not the $0.016 the short rate suggests.
Prompt Caching: Reads, Writes and Time Limits
Caching pays off when many requests start with the same long text, such as instructions or a manual. Providers set it up differently:
- OpenAI: on GPT-5.6 and later, writing to the cache costs 1.25 times the input rate for a 30-minute minimum life. Prompts need at least 1,024 tokens to qualify.
- Anthropic: a 5-minute write costs 1.25 times input and a 1-hour write 2 times. Reads are usually a tenth of input, with lower rates on Opus 5.5, Sonnet 5.5 and Fable 5.2.
- Moonshot: the K3 series caches automatically, and writes are priced by how long they last.
Writes use OpenAI’s 30-minute rate and the 5-minute rate for Anthropic and Kimi.
Here is a made-up month with 100M input tokens and 10M output. Of the input, 80M are cache reads, 5M are cache writes and 15M are ordinary. Where our board lists no write price, we bill those 5M as ordinary input.
| Model | Without caching | With this cache mix |
|---|---|---|
| Claude Sonnet 5.5 | $300 | $150.50 |
| GPT-6.2 Sol | $300 | $150.50 |
| Kimi K3.1 Pro | $300 | $156 |
| Grok 4.7 | $260 | $140 |
| DeepSeek V4 Pro (peak) | $171.60 | $69.52 |
| Gemini 3.8 Flash | $112.50 | $58.50 |
This is an illustration, not a forecast. A cache hit needs a matching prefix within the provider’s time limit, and some services add storage fees. These rows also assume prompts under any long-context limit.
Batch Jobs and Off-Peak Hours
Batch processing means you hand over many requests and collect results later. Here is the document month (60M in, 6M out) with each discount.
| Model | Standard | Discounted | How the discount works |
|---|---|---|---|
| Claude Sonnet 5.5 | $180 | $90 | Batch, 50% off |
| GPT-6.2 Sol | $180 | $90 | Batch, 50% off |
| Gemini 4 Neon | $270 | $135 | Batch, 50% off |
| Mistral Large 4 | $54.60 | $27.30 | Batch, 50% off |
| Kimi K3.1 Pro | $180 | $108 | Batch billed at 60% of standard |
| Grok 4.7 | $156 | $124.80 | Batch, 20% off |
| DeepSeek V4 Pro | $102.96 | $51.48 | Off-peak hours, no batch tier listed |
Our board showed no batch row for Z.ai, MiniMax or Kimi K2.7 Code. That means we have none to quote, so check the provider before ruling it out. xAI says its batch discount varies by model and some models get none.
Faster service costs more. OpenAI lists a fast mode at twice the standard rate on several models, Anthropic offers fast mode at twice the rate on certain Opus and Fable models, and MiniMax prices its priority tier at 1.5 times standard. Location can add cost too: OpenAI lists a 10% uplift for regional processing on newer models, and xAI bills its US regional endpoint at 1.1 times global rates.
Google also lists a “contributor” tier on some models at a lower price. It is an invite-only private preview, and your prompts may be used to improve its products. Check that against your data rules first.
Retiring and Changing Models
A low price is no help if the model is about to change under you.
| Model | Status on 2026-12-05 | Date | Where to look next |
|---|---|---|---|
| Codestral 25.08 | Deprecated | Retires 2026-12-31 | No replacement listed |
| Gemini 2.5 Pro | Retired, requests rerouted | 2026-12-01 | Gemini 3.8 Flash |
| Gemini 4 Argon | Deprecated | Reroutes 2026-12-15 | Gemini 4 Carbon or Neon |
| Kimi K2.7 Code | Deprecated, closed to new users | Late December 2026 | Moonshot’s K3 series |
| Claude Haiku 4.5 | Active | No sooner than 2026-10-15 | Watch Anthropic’s notices |
| Gemini 3.8 Flash | Active, price rise listed | 2027-01-01 | Rebudget at $1.50 / $7.50 |
Claude Haiku 4.5’s earliest possible retirement date has already passed, although Anthropic still lists it as active and says it gives at least 60 days’ notice for public models.
The board also logged six price changes in the 30 days to 2026-12-05, all increases. Four were the input and output rates of Gemini 4 Carbon and Argon, which moved from $2 and $10 to $4 and $20 on 2026-12-01. The other two, logged on 2026-12-05, were GPT-5.6 Sol’s input and output rates.
Myth vs Fact
| Myth | Fact |
|---|---|
| Choosing the provider sets your price level | OpenAI alone spans $4.50 to $450 for the same chat month |
| Same list price means same bill | Cached, batch and long-prompt rules differ among the six $2 / $10 models |
| Batch always saves half | The listed discount is 20% on Grok 4.7 and 40% on Kimi K3.1 Pro |
| A long prompt only raises the price of the extra tokens | On tiered models, the whole request moves to the higher rate |
What This Means for You
- Developers: log input, output and cached tokens per request for a week, then price that mix on two or three models before switching.
- Founders and team leads: budget with tiers and dates included, and give someone the job of watching deprecation notices.
- Curious beginners: you pay for text in and text out, and the replies usually cost more per token.
Copy-Ready Provider Comparison Sheet
- Monthly input tokens: ____ million. Monthly output tokens: ____ million.
- Largest single prompt: ____ tokens. Does it cross a tier limit? Yes / No
- Share of input that repeats between requests: ____%
- Can the work wait up to a day? Yes / No (if yes, price batch)
- Model A: input $, output $, monthly $____
- Model B: input $, output $, monthly $____
- Status and next change date for each: ____
- Prices read on (date): ____
Which of your jobs truly needs an instant answer, and which could run overnight at a lower rate?
FAQ
Which AI API Has the Lowest Price?
On our board on 2026-12-05, GPT-6 Luna and Claude Haiku 5.5 gave the lowest chat-month bill at $4.50, each at $0.10 input and $0.50 output. Ministral 3 14B has the lowest output rate at $0.20. Your mix of input and output decides which wins, and price says nothing about answer quality.
Is an API Cheaper Than a Chat Subscription?
It depends on volume, and the two are billed differently. An API charges per token, while a subscription charges a flat fee with its own limits. Estimate your monthly tokens first, then compare that figure with the plan price on the provider’s site.
How Often Do AI API Prices Change?
Often enough to date every estimate. Our board showed six changes in the 30 days to 2026-12-05. Some providers also announce increases ahead of time, as with Gemini 3.8 Flash.
Do I Pay for Thinking Tokens?
Reasoning that a model does before answering is generally billed as output. Google’s price list says its output rate includes thinking tokens. A short visible reply can therefore cost more than it looks.
Do Open-Weight Models Cost Less Through an API?
Not automatically. Kimi K3 is open weight and listed at $3 input and $15 output, above many closed small models. Open weights give you the option to host the model yourself, which has its own hardware and staff costs.
Bottom Line
Compare models, not logos. Price your own token mix, then check the tier limit, cache rules, batch discount and retirement status before committing. All figures here are list prices read on 2026-12-05, before taxes or negotiated discounts. Next, see how to cut LLM API costs, work out the cost of a single request, or check the live price board. Want these updates by email? Sign up here, or follow new guides and data stories through our RSS feed.



