SaaS Pricing TrackerSearch products

AI model APIs pricing

Model APIs are priced per million tokens, with input and output charged separately and each model tier a fixed step apart. It is pure usage pricing: no seats and no plans, just a rate card that gets rewritten with every model generation, usually downwards for the same capability.

AI model APIs compared

Current list prices as last read from each pricing page.

ProductStarts atTop listed planPriced byFree planHistory
Claude API$1 per million input tokens, $5 per million outputHaiku 4.5, USD per million tokens, standard processing$10 per million input tokens, $50 per million outputFable 5.1Usage basedNosince 2024
OpenAI API$0.2 per million input tokens, $1.2 per million outputgpt-5.6-luna, USD per million tokens, standard processing$10 per million input tokens, $50 per million outputgpt-6-astraUsage basedNosince 2021
Gemini API$0.25 per million input tokens, $1.5 per million outputGemini 3.1 Flash-Lite, USD per million tokens, paid tier, prompts up to 200K tokens$2 per million input tokens, $12 per million output for prompts up to 200K tokensGemini 3.1 Pro PreviewUsage basedYesread Sep 2026
Mistral API$0.15 per million input tokens, $0.6 per million outputMistral Small 4, USD per million tokens$1.5 per million input tokens, $7.5 per million outputMistral Medium 3.5Usage basedNoread Sep 2026
Perplexity Sonar API$1 per million input tokens, $1 per million output, plus $5 to $12 per 1,000 requestsSonar, USD per million tokens, before per request fees$3 per million input tokens, $15 per million output, plus $6 to $14 per 1,000 requestsSonar ProUsage basedNoread Sep 2026
TypeSafe AI$0.042 per million input tokens, output tokens freeJev, USD per million input tokens; output tokens are freesingle paid planUsage basedNoread Sep 2026
xAI API$1 per million input tokens, $2 per million outputgrok-build-0.1, USD per million tokens, prompts under 200K tokens$2 per million input tokens, $6 per million outputgrok-4.5Usage basedNoread Sep 2026

Head to head

Two products on one chart, plans side by side.

What changed

Every price move we have on record for this category, newest products first.

  • Claude API Top model, input has been listed since Jun 2024, starting at $15. It came down to $5 by Jan 2026 (-67%), and finally went up to $10 by Jul 2026 (+100%).
  • Claude API Top model, output has been listed since Jun 2024, starting at $75. It came down to $25 by Jan 2026 (-67%), and finally went up to $50 by Jul 2026 (+100%).
  • Claude API Sonnet tier, input has been listed since Jun 2024, starting at $3. It came down to $2 by Jul 2026 (-33%).
  • Claude API Sonnet tier, output has been listed since Jun 2024, starting at $15. It came down to $10 by Jul 2026 (-33%).
  • Claude API Haiku tier, input has been listed since Jun 2024, starting at $0.25. It went up to $1 by Dec 2024 (+300%), then came down to $0.80 by Jun 2025 (-20%), and finally went up to $1 by Jan 2026 (+25%).
  • Claude API Haiku tier, output has been listed since Jun 2024, starting at $1.25. It went up to $5 by Dec 2024 (+300%), then came down to $4 by Jun 2025 (-20%), and finally went up to $5 by Jan 2026 (+25%).
  • OpenAI API Flagship model, input has been listed since Nov 2021, starting at $60. It came down to $20 by Nov 2022 (-67%), then came down to $10 by May 2024 (-50%), then came down to $2.50 by Nov 2024 (-75%), then came down to $1.25 by Nov 2025 (-50%), then went up to $5 by May 2026 (+300%), and finally went up to $10 by Sep 2026 (+100%).
  • OpenAI API Flagship model, output has been listed since Nov 2021, starting at $60. It came down to $20 by Nov 2022 (-67%), then went up to $30 by May 2024 (+50%), then came down to $10 by Nov 2024 (-67%), then went up to $30 by May 2026 (+200%), and finally went up to $50 by Sep 2026 (+67%).
  • OpenAI API Cheapest model, input has been listed since Nov 2021, starting at $0.80. It came down to $0.40 by Nov 2022 (-50%), then went up to $0.50 by May 2024 (+25%), then came down to $0.15 by Nov 2024 (-70%), then came down to $0.05 by Nov 2025 (-67%), and finally went up to $0.20 by Sep 2026 (+300%).
  • OpenAI API Cheapest model, output has been listed since Nov 2021, starting at $0.80. It came down to $0.40 by Nov 2022 (-50%), then went up to $1.50 by May 2024 (+275%), then came down to $0.60 by Nov 2024 (-60%), then came down to $0.40 by Nov 2025 (-33%), and finally went up to $1.20 by Sep 2026 (+200%).

Claude API price history

Full Claude API analysis

The Claude API is how developers pay for Anthropic's models: per million tokens, with input and output priced separately and every model tier a fixed step apart. Since Opus 4.5 in late 2025 the top tier has dropped from $15 to $5 per million input tokens while a new tier above it, Fable 5.1, took the $10 slot.

$0$20$40$60$80$10020252026$50 Top model, output$10 Top model, input$10 Sonnet tier, output$5 Haiku tier, output$2 Sonnet tier, input$1 Haiku tier, input
USD per million tokens, standard processing. Faded line: unchanged since the last snapshot.
Show the data as a table
ObservedTop model, inputTop model, outputSonnet tier, inputSonnet tier, outputHaiku tier, inputHaiku tier, output
Jun 20, 2024$15$75$3$15$0.25$1.25
Dec 3, 2024$15$75$3$15$1$5
Jun 3, 2025$15$75$3$15$0.80$4
Oct 1, 2025$15$75$3$15$0.80$4
Jan 1, 2026$5$25$3$15$1$5
Apr 1, 2026$5$25$3$15$1$5
Jul 1, 2026$10$50$2$10$1$5
Sep 21, 2026$10$50$2$10$1$5

Top model, input has been listed since Jun 2024, starting at $15. It came down to $5 by Jan 2026 (-67%), and finally went up to $10 by Jul 2026 (+100%).

Top model, output has been listed since Jun 2024, starting at $75. It came down to $25 by Jan 2026 (-67%), and finally went up to $50 by Jul 2026 (+100%).

Sonnet tier, input has been listed since Jun 2024, starting at $3. It came down to $2 by Jul 2026 (-33%).

Sonnet tier, output has been listed since Jun 2024, starting at $15. It came down to $10 by Jul 2026 (-33%).

Haiku tier, input has been listed since Jun 2024, starting at $0.25. It went up to $1 by Dec 2024 (+300%), then came down to $0.80 by Jun 2025 (-20%), and finally went up to $1 by Jan 2026 (+25%).

Haiku tier, output has been listed since Jun 2024, starting at $1.25. It went up to $5 by Dec 2024 (+300%), then came down to $4 by Jun 2025 (-20%), and finally went up to $5 by Jan 2026 (+25%).

The top line follows the highest priced current model: Opus 3, 4 and 4.1 at $15 and $75, Opus 4.5 and 4.6 at a third of that from late 2025, then Fable 5 and 5.1 at $10 and $50 from mid 2026. The Sonnet tier held $3 and $15 for two years until Sonnet 5 launched at $2 and $10 in 2026, first as an introductory price. The Haiku tier went from $0.25 and $1.25 to $1 and $5 with Haiku 3.5, was cut to $0.80 and $4 in 2025 and returned to $1 and $5 with Haiku 4.5. The API rate card moved from anthropic.com to claude.com in autumn 2025.

OpenAI API price history

Full OpenAI API analysis

The OpenAI API is the developer side of ChatGPT's maker, priced per million tokens with cached input at a tenth of the standard input rate. Batch and Flex processing cost half, Fast mode costs double, and the flagship has been repriced with almost every model generation since GPT-3 charged per thousand tokens.

$0$20$40$60$8020222023202420252026$50 Flagship model, output$10 Flagship model, input$1.20 Cheapest model, output$0.20 Cheapest model, input
USD per million tokens, standard processing. Faded line: unchanged since the last snapshot.
Show the data as a table
ObservedFlagship model, inputFlagship model, outputCheapest model, inputCheapest model, output
Nov 20, 2021$60$60$0.80$0.80
Nov 3, 2022$20$20$0.40$0.40
May 2, 2024$10$30$0.50$1.50
Nov 12, 2024$2.50$10$0.15$0.60
Nov 11, 2025$1.25$10$0.05$0.40
May 9, 2026$5$30
Sep 21, 2026$10$50$0.20$1.20

Flagship model, input has been listed since Nov 2021, starting at $60. It came down to $20 by Nov 2022 (-67%), then came down to $10 by May 2024 (-50%), then came down to $2.50 by Nov 2024 (-75%), then came down to $1.25 by Nov 2025 (-50%), then went up to $5 by May 2026 (+300%), and finally went up to $10 by Sep 2026 (+100%).

Flagship model, output has been listed since Nov 2021, starting at $60. It came down to $20 by Nov 2022 (-67%), then went up to $30 by May 2024 (+50%), then came down to $10 by Nov 2024 (-67%), then went up to $30 by May 2026 (+200%), and finally went up to $50 by Sep 2026 (+67%).

Cheapest model, input has been listed since Nov 2021, starting at $0.80. It came down to $0.40 by Nov 2022 (-50%), then went up to $0.50 by May 2024 (+25%), then came down to $0.15 by Nov 2024 (-70%), then came down to $0.05 by Nov 2025 (-67%), and finally went up to $0.20 by Sep 2026 (+300%).

Cheapest model, output has been listed since Nov 2021, starting at $0.80. It came down to $0.40 by Nov 2022 (-50%), then went up to $1.50 by May 2024 (+275%), then came down to $0.60 by Nov 2024 (-60%), then came down to $0.40 by Nov 2025 (-33%), and finally went up to $1.20 by Sep 2026 (+200%).

Early GPT-3 prices were quoted per thousand tokens with one rate for input and output; they are converted to millions here. The flagship line follows whichever model OpenAI listed first: Davinci, then GPT-4 Turbo, GPT-4o, GPT-5, the top GPT-5 series model in May 2026 and gpt-6-astra now. The cheapest line follows Ada, GPT-3.5 Turbo, GPT-4o mini, GPT-5 nano and gpt-5.6-luna. Flagship prices fell for four years and have risen since 2026.

AI model APIs pricing questions

What does a AI model API cost?
Paid plans start at $1 per million input tokens, $5 per million output for Claude API (USD per million tokens, standard processing), $0.2 per million input tokens, $1.2 per million output for OpenAI API (USD per million tokens, standard processing), $0.25 per million input tokens, $1.5 per million output for Gemini API (USD per million tokens, paid tier, prompts up to 200K tokens), $0.15 per million input tokens, $0.6 per million output for Mistral API (USD per million tokens), $1 per million input tokens, $1 per million output, plus $5 to $12 per 1,000 requests for Perplexity Sonar API (USD per million tokens, before per request fees), $0.042 per million input tokens, output tokens free for TypeSafe AI (USD per million input tokens; output tokens are free), $1 per million input tokens, $2 per million output for xAI API (USD per million tokens, prompts under 200K tokens). Prices are as shown on each pricing page when it was last read.
What is AI model API pricing based on?
Claude API and OpenAI API and Gemini API and Mistral API and Perplexity Sonar API and TypeSafe AI and xAI API: usage based.
Which ai model apis have a free plan?
Gemini API lists a free plan next to the paid tiers.
Which ai model apis have changed their prices?
Claude API: Top model, input has been listed since Jun 2024, starting at $15. It came down to $5 by Jan 2026 (-67%), and finally went up to $10 by Jul 2026 (+100%). Top model, output has been listed since Jun 2024, starting at $75. It came down to $25 by Jan 2026 (-67%), and finally went up to $50 by Jul 2026 (+100%). Sonnet tier, input has been listed since Jun 2024, starting at $3. It came down to $2 by Jul 2026 (-33%). Sonnet tier, output has been listed since Jun 2024, starting at $15. It came down to $10 by Jul 2026 (-33%). Haiku tier, input has been listed since Jun 2024, starting at $0.25. It went up to $1 by Dec 2024 (+300%), then came down to $0.80 by Jun 2025 (-20%), and finally went up to $1 by Jan 2026 (+25%). Haiku tier, output has been listed since Jun 2024, starting at $1.25. It went up to $5 by Dec 2024 (+300%), then came down to $4 by Jun 2025 (-20%), and finally went up to $5 by Jan 2026 (+25%). OpenAI API: Flagship model, input has been listed since Nov 2021, starting at $60. It came down to $20 by Nov 2022 (-67%), then came down to $10 by May 2024 (-50%), then came down to $2.50 by Nov 2024 (-75%), then came down to $1.25 by Nov 2025 (-50%), then went up to $5 by May 2026 (+300%), and finally went up to $10 by Sep 2026 (+100%). Flagship model, output has been listed since Nov 2021, starting at $60. It came down to $20 by Nov 2022 (-67%), then went up to $30 by May 2024 (+50%), then came down to $10 by Nov 2024 (-67%), then went up to $30 by May 2026 (+200%), and finally went up to $50 by Sep 2026 (+67%). Cheapest model, input has been listed since Nov 2021, starting at $0.80. It came down to $0.40 by Nov 2022 (-50%), then went up to $0.50 by May 2024 (+25%), then came down to $0.15 by Nov 2024 (-70%), then came down to $0.05 by Nov 2025 (-67%), and finally went up to $0.20 by Sep 2026 (+300%). Cheapest model, output has been listed since Nov 2021, starting at $0.80. It came down to $0.40 by Nov 2022 (-50%), then went up to $1.50 by May 2024 (+275%), then came down to $0.60 by Nov 2024 (-60%), then came down to $0.40 by Nov 2025 (-33%), and finally went up to $1.20 by Sep 2026 (+200%).

Other categories