Updated 2026-10-02

Cheapest AI APIs in 2026: Complete Price Ranking

Complete Ranking by Input Cost

Every major AI API ranked from cheapest to most expensive input price. Input cost matters most for tasks that process large documents, long conversations, or image analysis.

#ModelProviderInput / 1M tokensTier
πŸ‘‘ 1GPT-6 LunaOpenAI$0.10budget
2Gemini 3.5 Flash-LiteGoogle$0.30budget
3Gemini 3.8 FlashGoogle$0.75balanced
4Claude Haiku 4.5Anthropic$1budget
5GPT-6 SolOpenAI$2flagship
6Gemini 3.1 ProGoogle$2flagship
7Claude Sonnet 5Anthropic$2balanced
8Claude Opus 5.5Anthropic$4flagship
9Claude Opus 5Anthropic$5flagship
10GPT-6 AstraOpenAI$10frontier
11Claude Fable 5.1Anthropic$10frontier

Complete Ranking by Output Cost

Output cost dominates when the model generates text — writing code, drafting emails, or producing summaries. Here are all models ranked by output price.

#ModelProviderOutput / 1M tokensTier
πŸ‘‘ 1GPT-6 LunaOpenAI$0.50budget
2Gemini 3.5 Flash-LiteGoogle$2.50budget
3Gemini 3.8 FlashGoogle$3.75balanced
4Claude Haiku 4.5Anthropic$5budget
5GPT-6 SolOpenAI$10flagship
6Claude Sonnet 5Anthropic$10balanced
7Gemini 3.1 ProGoogle$12flagship
8Claude Opus 5.5Anthropic$20flagship
9Claude Opus 5Anthropic$25flagship
10GPT-6 AstraOpenAI$50frontier
11Claude Fable 5.1Anthropic$50frontier

Cost Per Word

One million tokens is roughly 750,000 English words. The table below shows how much each model charges per 1,000 words of input and output — a more intuitive unit for writers, researchers, and content teams.

ModelInput / 1K wordsOutput / 1K words
GPT-6 Luna$0.0001$0.0007
Gemini 3.5 Flash-Lite$0.0004$0.0033
Gemini 3.8 Flash$0.0010$0.0050
Claude Haiku 4.5$0.0013$0.0067
GPT-6 Sol$0.0027$0.0133
Gemini 3.1 Pro$0.0027$0.0160
Claude Sonnet 5$0.0027$0.0133
Claude Opus 5.5$0.0053$0.0267
Claude Opus 5$0.0067$0.0333
GPT-6 Astra$0.0133$0.0667
Claude Fable 5.1$0.0133$0.0667

1,000 words ≈ 1,333 tokens. Costs shown are for standard-context pricing.

Cost Per Page

A typical page of text is around 500 words, or roughly 667 tokens. This table shows what it costs to process or generate a single page with each model.

ModelInput / pageOutput / page
GPT-6 Luna$0.0001$0.0003
Gemini 3.5 Flash-Lite$0.0002$0.0017
Gemini 3.8 Flash$0.0005$0.0025
Claude Haiku 4.5$0.0007$0.0033
GPT-6 Sol$0.0013$0.0067
Gemini 3.1 Pro$0.0013$0.0080
Claude Sonnet 5$0.0013$0.0067
Claude Opus 5.5$0.0027$0.0133
Claude Opus 5$0.0033$0.0167
GPT-6 Astra$0.0067$0.0333
Claude Fable 5.1$0.0067$0.0333

Based on 667 tokens per page (500 words at ~1.33 tokens/word).

Cost Per Image Analysis

Analyzing a single image with a vision-capable model uses roughly1,000 input tokens. Here is what each model charges to process one image.

Based on ~1,000 tokens per image. Actual token count varies by image resolution and detail level.

Best Models for Budget-Conscious Developers

Not sure where to start? Here are three picks for different needs, each showing what $10 of output buys you.

Best Overall Budget Pick

GPT-6 Luna

$0.10 in / $0.50 out

$10 of output buys you:

  • 15,000,000 words
  • 29,985 pages of text
  • 2,000,000 lines of code
  • 166.7 novels

Best Balance of Price and Quality

Gemini 3.8 Flash

$0.75 in / $3.75 out

$10 of output buys you:

  • 2,000,000 words
  • 3,998 pages of text
  • 266,667 lines of code
  • 22.2 novels

Best Value Frontier Model

GPT-6 Astra

$10 in / $50 out

$10 of output buys you:

  • 150,000 words
  • 300 pages of text
  • 20,000 lines of code
  • 1.7 novels

How Much Can You Save?

The spread between the most and least expensive models is enormous. Switching from Claude Fable 5.1 to GPT-6 Luna saves you:

99.0% on input · 99.0% on output

Processing 1 million tokens of input costs $10 on Claude Fable 5.1 but only $0.10 on GPT-6 Luna.

For output, that same million tokens costs $50 vs. $0.50 — a 100x difference.

Of course, cheaper models aren't always a drop-in replacement. But for routine tasks like classification, summarization, and data extraction, budget models often perform just as well.

See exactly what your budget buys.

Try our AI token calculator — pick a model, set a dollar amount, and see how many words, pages, or images you get.