↑↓ to move ↵ to open Esc to close Browse all tools

AI Cost Comparison

Describe one job in tokens and requests, and see what it costs on every AI model we list, cheapest first, from the providers' official API prices.

Your job

%Share of input read from a prompt cache.

Example job: change the numbers to yours.

Count tokens from a sample prompt and response
About 0 tokens
About 0 tokens
A rough estimate: about 4 characters or 1.33 tokens per word, whichever is more, as in our AI token cost calculator. Each model counts with its own tokenizer, so real counts differ by model.
Cheapest for this job
Qwen3.7 Flash Qwen
$3.80

a month · $0.00013 per request · $45.63 a year

The most expensive model listed, GPT-5.5 Pro, costs $4,563 a month for the same job.

Providers

96 models, cheapest per month first. Tap a column to sort.

Cost of your job on each AI model
Qwen3.7 FlashQwen$0.00013$3.80$45.63$0.03$0.13none listed
Nova MicroAmazon$0.00014$4.26$51.10$0.035$0.14$0.00875
Nova LiteAmazon$0.00024$7.30$87.60$0.06$0.24$0.015
Ministral 3 3BMistral$0.00025$7.60$91.25$0.1$0.1$0.01
GPT-5 nanoOpenAI$0.0003$9.13$109$0.05$0.4$0.005
Qwen FlashQwen$0.0003$9.13$109$0.05$0.4none listed
GLM-4.7 FlashXZ.ai$0.00034$10.34$124$0.07$0.4$0.01
Ministral 3 8BMistral$0.00038$11.41$137$0.15$0.15$0.015
Gemini 2.5 Flash LiteGoogle$0.0004$12.17$146$0.1$0.4$0.01
GPT-4.1 nanoOpenAI$0.0004$12.17$146$0.1$0.4$0.025
Claude Haiku 5.5Anthropic$0.00045$13.69$164$0.1$0.5$0.01
GPT-6 LunaOpenAI$0.00045$13.69$164$0.1$0.5$0.01
Ministral 3 14BMistral$0.0005$15.21$183$0.2$0.2$0.02
Qwen3.8 FlashQwen$0.00054$16.27$195$0.15$0.47none listed
Qwen3.8 Omni FlashQwen$0.00054$16.27$195$0.15$0.47$0.016
GLM-5.3 FlashZ.ai$0.00055$16.73$201$0.15$0.5$0.03
GPT-4o miniOpenAI$0.0006$18.25$219$0.15$0.6$0.075
Mistral Small 4Mistral$0.0006$18.25$219$0.15$0.6$0.015
GPT-5.6 LunaOpenAI$0.001$30.42$365$0.2$1.2$0.02
GPT-5.4 nanoOpenAI$0.001$31.18$374$0.2$1.25$0.02
CodestralMistral$0.0011$31.94$383$0.3$0.9$0.03
DeepSeek V4.1 FlashDeepSeek$0.0012$36.50$438$0.3$1.2$0.006
MiniMax M2.5MiniMax$0.0012$36.50$438$0.3$1.2$0.03
MiniMax M2.7MiniMax$0.0012$36.50$438$0.3$1.2$0.06
MiniMax M3MiniMax$0.0012$36.50$438$0.3$1.2$0.06
Gemini 3.1 Flash LiteGoogle$0.0013$38.02$456$0.25$1.5$0.025
Qwen3.6 FlashQwen$0.0013$38.02$456$0.25$1.5none listed
GLM-5.3 FlashXZ.ai$0.0014$41.52$498$0.37$1.25$0.075
GPT-5 miniOpenAI$0.0015$45.63$548$0.25$2$0.025
GPT-4.1 miniOpenAI$0.0016$48.67$584$0.4$1.6$0.1
Qwen3.7 PlusQwen$0.0016$48.67$584$0.4$1.6none listed
Mistral Large 3Mistral$0.0018$53.23$639$0.5$1.5$0.05
Gemini 2.5 FlashGoogle$0.0019$56.27$675$0.3$2.5$0.03
Gemini 3.5 Flash LiteGoogle$0.0019$56.27$675$0.3$2.5$0.03
Qwen3.6 35B A3BQwen$0.0019$57.03$684$0.375$2.25none listed
Nova 2 LiteAmazon$0.002$61.90$743$0.33$2.75$0.0825
GLM-4.7Z.ai$0.0023$69.96$840$0.6$2.2$0.11
Gemini 3 Flash PreviewGoogle$0.0025$76.04$913$0.5$3$0.05
Qwen3.6 PlusQwen$0.0025$76.04$913$0.5$3none listed
Qwen3.8 27BQwen$0.0025$76.04$913$0.5$3none listed
Grok Build 0.1xAI$0.003$91.25$1,095$1$2$0.2
Qwen3.6 27BQwen$0.003$91.25$1,095$0.6$3.6none listed
Nova ProAmazon$0.0032$97.33$1,168$0.8$3.2$0.2
Gemini 3.6 FlashGoogle$0.0034$103$1,232$0.75$3.75$0.075
Gemini 3.8 FlashGoogle$0.0034$103$1,232$0.75$3.75$0.075
GLM-5Z.ai$0.0036$110$1,314$1$3.2$0.2
GPT-5.4 miniOpenAI$0.0038$114$1,369$0.75$4.5$0.075
Grok 4.20xAI$0.0038$114$1,369$1.25$2.5$0.2
Grok 4.3xAI$0.0038$114$1,369$1.25$2.5$0.2
Kimi K2.6Moonshot$0.0039$119$1,424$0.95$4$0.16
Kimi K2.7 CodeMoonshot$0.0039$119$1,424$0.95$4$0.19
o4-miniOpenAI$0.0044$134$1,606$1.1$4.4$0.275
Claude Haiku 4.5Anthropic$0.0045$137$1,642$1$5$0.1
DeepSeek V4 ProDeepSeek$0.0046$141$1,686$1.32$3.96$0.044
Mistral Large 4Mistral$0.0048$146$1,756$1.36$4.18$0.14
GLM-5.1Z.ai$0.005$152$1,825$1.4$4.4$0.26
GLM-5.2Z.ai$0.005$152$1,825$1.4$4.4$0.26
GLM-5.3Z.ai$0.005$152$1,825$1.4$4.4$0.26
Mistral Medium 3.5Mistral$0.0068$205$2,464$1.5$7.5$0.15
Grok 4.5xAI$0.007$213$2,555$2$6$0.3
Grok 4.6xAI$0.007$213$2,555$2$6$0.5
Grok 4.7xAI$0.007$213$2,555$2$6$0.5
Qwen3.8 2.4T A95BQwen$0.007$213$2,555$2$6none listed
Qwen3.8 MaxQwen$0.007$213$2,555$2$6none listed
Gemini 2.5 ProGoogle$0.0075$228$2,738$1.25$10$0.125
Gemini 3.5 FlashGoogle$0.0075$228$2,738$1.5$9$0.15
GPT-5OpenAI$0.0075$228$2,738$1.25$10$0.125
GPT-4.1OpenAI$0.008$243$2,920$2$8$0.5
o3OpenAI$0.008$243$2,920$2$8$0.5
Nova 2 ProAmazon$0.0083$251$3,011$1.375$11none listed
Qwen3.7 MaxQwen$0.0088$266$3,194$2.5$7.5none listed
Claude Sonnet 5Anthropic$0.009$274$3,285$2$10$0.2
Claude Sonnet 5.5Anthropic$0.009$274$3,285$2$10$0.1
GPT-6 SolOpenAI$0.009$274$3,285$2$10$0.2
GPT-6.1 SolOpenAI$0.009$274$3,285$2$10$0.1
Gemini 3.1 Pro PreviewGoogle$0.0100$304$3,650$2$12$0.2
GPT-4oOpenAI$0.0100$304$3,650$2.5$10$1.25
GPT-5.6 TerraOpenAI$0.0100$304$3,650$2$12$0.2
GPT-5.2OpenAI$0.0105$319$3,833$1.75$14$0.175
Nova PremierAmazon$0.0112$342$4,106$2.5$12.5$0.625
GPT-5.4OpenAI$0.0125$380$4,563$2.5$15$0.25
Claude Sonnet 4.5Anthropic$0.0135$411$4,928$3$15$0.3
Claude Sonnet 4.6Anthropic$0.0135$411$4,928$3$15$0.3
Kimi K3Moonshot$0.0135$411$4,928$3$15$0.3
Claude Opus 5.5Anthropic$0.0180$548$6,570$4$20$0.2
GPT-5.6 SolOpenAI$0.0180$548$6,570$4$20$0.4
Claude Opus 4.5Anthropic$0.0225$684$8,213$5$25$0.5
Claude Opus 4.6Anthropic$0.0225$684$8,213$5$25$0.5
Claude Opus 4.7Anthropic$0.0225$684$8,213$5$25$0.5
Claude Opus 4.8Anthropic$0.0225$684$8,213$5$25$0.5
Claude Opus 5Anthropic$0.0225$684$8,213$5$25$0.5
GPT-5.5OpenAI$0.0250$760$9,125$5$30$0.5
Claude Fable 5Anthropic$0.0450$1,369$16,425$10$50$1
Claude Fable 5.1Anthropic$0.0450$1,369$16,425$10$50$0.25
GPT-6 AstraOpenAI$0.0450$1,369$16,425$10$50$1
GPT-5.5 ProOpenAI$0.1500$4,563$54,750$30$180none listed

List prices in US dollars per million tokens for standard API use, from each provider's official pricing page, checked October 9, 2026. No discounts, batch rates or long-context surcharges. Sources: OpenAI, Anthropic, Google, Mistral, DeepSeek, xAI, Qwen, Amazon, MiniMax, Moonshot, Z.ai.

Prices are built into this page. What you type, including sample text, stays in your browser.

Free printableFree Resume TemplateThree clean one-page designs as an editable Word file, with a PDF example. Hand-checked listFree AI Chatbots ComparedWhat the free plans of 9 AI chat assistants include, checked on each vendor’s own pricing or help page.

AI Cost Comparison by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

What this AI cost comparison shows

AI providers price their API models per token, with one price for the tokens you send (input) and another for the tokens the model writes (output). Output costs more than input for 93 of the 96 models in our list. The prices are quoted per million tokens. That makes one model hard to compare with another in your head: a model with cheap input and expensive output can win or lose depending on your job. This page turns one job into dollars on all 96 models in our price list at once and sorts them, cheapest first.

cost per request = input × input price ÷ 1,000,000 + output × output price ÷ 1,000,000

The cost per month is the cost per request times the requests per month, and the cost per year is the cost per request times the requests per year. With requests per day, a month is an average month of 365 ÷ 12 days, about 30.42, and a year is 365 days.

For the example job of 2,000 input and 500 output tokens per request, the cheapest model in the list is Qwen3.7 Flash at $0.00013 per request, and the most expensive is GPT-5.5 Pro at $0.1500. Volume multiplies the gap:

Requests per dayCheapest model, per monthMost expensive, per month
100$0.3802$456
1,000$3.80$4,563
10,000$38.02$45,625

A price comparison says nothing about quality. Models differ in what they can do, how fast they answer, how much context they take and how often they get a task wrong, and this page makes no claim about any of that. Use it to compare prices and find the candidates that fit your budget, then test them on your own prompts.

Reading the table

Each row is one model with its provider. The first three money columns are what your job costs on that model: per request, per month and per year. The last three are the list prices behind them, in dollars per million tokens for input, output and cached input. The cheapest model for your job is marked and shown above the table, together with the most expensive one and how many times as much it costs.

The table starts sorted by cost per month, cheapest first. Tap any column heading to sort by it, and tap it again to reverse the order; models without a cached input price always sort last in that column. The provider buttons narrow the list to the providers you pick, and All shows every model again. Copy comparison gives you the 15 cheapest models as text for a chat or an email, and Download CSV saves the whole table, in the order you sorted it, for a spreadsheet.

Token counts differ from model to model

A token is a piece of text, often part of a word. Each provider trains its own tokenizer, so the same sentence can be a different number of tokens on different models, and a model that looks cheaper per token can need more tokens for your text. Two examples from the providers' own documentation:

  • Google says that for Gemini models a token is about 4 characters, and 100 tokens are about 60 to 80 English words.
  • Anthropic says Claude Opus 4.7 and later models use a newer tokenizer that turns the same text into about 30 percent more tokens than earlier Claude models, depending on the content.

The sample text box gives one rough estimate for all models: about 4 characters per token or 1.33 tokens per word, whichever is larger. That is the same rule as our AI token cost calculator uses. It is good enough to compare models for a budget, but it is not the count any provider will bill. For exact numbers, use the provider's token counting; Anthropic, for example, offers a free token counting endpoint and notes that even its result is an estimate. Our token counter counts with OpenAI's own tokenizers.

Cached input

82 of the 96 models in the list have a published price for cached input, the input a provider reads from its prompt cache instead of processing it again. Long system prompts, tool definitions and documents you ask several questions about are typical candidates. Enter the share of your input tokens that comes from the cache, and the comparison bills that share at each model's cache price. Models with no cache price in the list are billed at the full input price and marked in the table. Writing to the cache is not included: Anthropic, for example, lists separate cache write prices that are higher than its base input price.

What is not included

The prices are list prices for standard, on-demand API use in US dollars, from each provider's official pricing page, checked on October 9, 2026. Batch rates, off-peak discounts, long-context surcharges and temporary sales are left out, as are taxes, regional prices and anything you negotiate. Some prices apply only up to a certain prompt length, as noted on the provider's page. Prices change often, so follow the source links under the table before you commit to a budget, and add a margin for retries and longer answers than your sample.

To price a model that is not in the list, or a rate you negotiated, use the custom model row in the AI token cost calculator.

How to use the AI cost comparison

  1. 1Enter the input and output tokens of a typical request, or paste a sample prompt and response and press Use these counts.
  2. 2Enter how many requests you expect per day or per month, and the cached share of input if you use prompt caching.
  3. 3Filter by provider, sort by any column, then copy the comparison or download it as CSV for your budget.

Frequently asked questions

Which AI model is the cheapest?

It depends on the job. Output tokens usually cost more than input tokens, and the gap differs by model, so a model that is cheapest for long prompts with short answers can lose for short prompts with long answers. Enter your own token counts and the table sorts every model by what that job costs.

Does the cheapest model do the job well enough?

This page compares prices only. It makes no claim about quality, speed or limits, which differ a lot between models. Test the cheaper candidates on your real prompts before you switch, and keep a larger model for the tasks the small ones get wrong.

How exact are the token counts from a sample text?

They are rough. The estimate uses about 4 characters or 1.33 tokens per word, the same rule as our AI token cost calculator. Every provider has its own tokenizer, so the same text gives different counts on different models. For exact numbers, use the provider's own token counting, or our token counter for OpenAI's tokenizers.

Where do the prices come from and how current are they?

From each provider's official pricing page, checked on October 9, 2026, in US dollars per million tokens for standard API use. Batch rates, off-peak discounts, long-context surcharges and temporary sales are left out. Prices change, so open the provider's page from the source list before you commit to a budget.

What does cached input mean here?

Many APIs bill input that they read from a prompt cache, like a long system prompt sent with every request, at a lower cache price. Enter the share of your input that is cached, and each model with a listed cache price uses it for that share. Models without one are billed at the full input price and marked in the table. Writing to the cache can cost extra and is not included.

Why is a month 30.4 days?

With requests per day, a month here is an average month of 365 ÷ 12, about 30.42 days, and a year is 365 days. With requests per month, a year is 12 months.