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.
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 day | Cheapest model, per month | Most 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
- 1Enter the input and output tokens of a typical request, or paste a sample prompt and response and press Use these counts.
- 2Enter how many requests you expect per day or per month, and the cached share of input if you use prompt caching.
- 3Filter by provider, sort by any column, then copy the comparison or download it as CSV for your budget.
Guides on this topic
- What Is a Token in AI? Tokens vs Words vs Characters
- Open Weights vs Open Source AI: What the Labels Mean
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.