SaasNook

AI API cost calculator

Describe an AI feature and see what it costs per user per month on 17 models from Anthropic, OpenAI, Google, DeepSeek and Mistral, and how much of your seat price it takes. Every price is from the provider's own pricing page, checked November 19, 2026.

Your numbers

The feature

Ten a working day is about 200 a month.

Sets typical token counts as a starting point. Measure your own: every provider reports tokens per request.

Instructions, context and history sent in. A page of text is about 600.

What the model writes back, reasoning included.

The repeated part of the prompt: system instructions, shared documents.

Half price at most providers, with results in hours, not seconds. Background jobs only.

Your business

Before the AI feature.

Results

Claude Sonnet 5.5: cost per user, per month

$1.63

5.4% of a $30 seat

$1,630 a month for 1,000 users; $0.0082 a request.

Gross margin with the feature

74.6%

From 80%, if the price stays the same.

Cheapest model

$0.08

Claude Haiku 5.5, per user per month.

Most expensive

$6.52

GPT-6.2 Astra: 79 times the cheapest.

On Claude Sonnet 5.5 this feature costs $1.63 per user a month, 5.4% of what each user pays, taking gross margin from 80% to 74.6%.

Every model, cost per user per month

Show
  • Claude Haiku 5.5Anthropic · 0.3% of the seat$0.08
  • GPT-6 LunaOpenAI · 0.3% of the seat$0.08
  • Ministral 3 14BMistral · 0.5% of the seat$0.14
  • Mistral Small 4Mistral · 0.5% of the seat$0.15
  • DeepSeek Flash (V4.1)DeepSeek · 0.7% of the seat$0.21
  • Gemini 3.5 Flash-LiteGoogle · 1.2% of the seat$0.35
  • Mistral Large 4Mistral · 1.5% of the seat$0.44
  • DeepSeek V4 ProDeepSeek · 2.7% of the seat$0.81
  • GPT-6.1 TerraOpenAI · 2.7% of the seat$0.82
  • Gemini 4 HydrogenGoogle · 4.1% of the seat$1.22
  • Claude Sonnet 5.5Anthropic · 5.4% of the seat$1.63
  • GPT-6.2 SolOpenAI · 5.4% of the seat$1.63
  • Gemini 4 NeonGoogle · 8.1% of the seat$2.45
  • Claude Opus 5.5Anthropic · 10.9% of the seat$3.26
  • Gemini 4 CarbonGoogle · 10.9% of the seat$3.26
  • Claude Fable 5.2Anthropic · 21.5% of the seat$6.46
  • GPT-6.2 AstraOpenAI · 21.7% of the seat$6.52

Colors mark the provider; the model you plan on has its name in blue. A token is not the same size at every provider: each tokenizer splits the same text differently, so treat close results as a tie and measure your own prompts.

How the cost of a request is worked out

A provider bills each request for the tokens you send it (input) and the tokens it writes back (output), at a price per million tokens. Input that repeats from one request to the next, such as system instructions or a shared document, can be served from a prompt cache at a fraction of the input price. So the cost of one request is:

(fresh input tokens x input price + cached input tokens x cache price + output tokens x output price) / 1,000,000

Multiply by requests per user for the monthly cost per user, and divide by what each user pays you for the share of the seat it takes. That share comes straight off your gross margin unless you raise the price.

A worked example

A chat reply with 3,000 input tokens, half of them cached, and 500 output tokens, used 200 times a month per user. On Claude Sonnet 5.5 ($2 input, $0.10 cached and $10 output per million tokens), one request is 1,500 x $2 + 1,500 x $0.10 + 500 x $10, divided by a million: $0.0082. That is $1.63 per user per month, 5.4% of a $30 seat, taking an 80% gross margin to 74.6%. The same feature costs $0.08 on Claude Haiku 5.5 and $6.52 on GPT-6.2 Astra.

Published API prices, per million tokens

Pay-as-you-go list prices for each provider's current generally available models, as published on November 19, 2026. Cache is the price of a cache hit; batch is the discount for the provider's batch API, where it has one.

ModelInputOutputCache hitBatch
Claude Fable 5.2
Anthropic
$8.00$40.00$0.2050% off
Claude Opus 5.5
Anthropic
$4.00$20.00$0.2050% off
Claude Sonnet 5.5
Anthropic
$2.00$10.00$0.1050% off
Claude Haiku 5.5
Anthropic
$0.10$0.50$0.01050% off
GPT-6.2 Astra
OpenAI
$8.00$40.00$0.4050% off
GPT-6.2 Sol
OpenAI
$2.00$10.00$0.1050% off
GPT-6.1 Terra
OpenAI
$1.00$5.00$0.05050% off
GPT-6 Luna
OpenAI
$0.10$0.50$0.01050% off
Gemini 4 Carbon
Google
$4.00$20.00$0.2050% off
Gemini 4 Neon
Google
$3.00$15.00$0.1550% off
Gemini 4 Hydrogen
Google
$1.50$7.50$0.07550% off
Gemini 3.5 Flash-Lite
Google
$0.30$2.50$0.03050% off
DeepSeek V4 Pro
DeepSeek
$1.32$3.96$0.044None
DeepSeek Flash (V4.1)
DeepSeek
$0.30$1.20$0.0060None
Mistral Large 4
Mistral
$0.70$2.10$0.07050% off
Mistral Small 4
Mistral
$0.15$0.60Not listed50% off
Ministral 3 14B
Mistral
$0.20$0.20Not listed50% off

Some prices rise for very long prompts: OpenAI's models charge double for input and 1.5 times for output on the whole request once the prompt passes 272,000 tokens, and Claude Haiku 5.5 charges more above 100,000. The calculator applies those rates when your input is that long. DeepSeek charges half price outside its peak hours (01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays); the table and the calculator use the peak price.

What AI does to a SaaS company's gross margin

Software has been sold at gross margins around 80%: Benchmarkit's 2026 survey of private SaaS companies puts the median subscription gross margin at 80% for 2025, where it has sat for four years. AI features add a cost that grows with every request, and the margins of AI products show it. In ICONIQ's mid-2026 survey of about 300 executives, AI products ran at a 45% gross margin on average in 2025, with 53% expected for 2026. The median target among 230 software companies Growth Unhinged surveyed in May 2026 was about 50% for AI features. Bessemer found margins near 25% at the fastest-growing AI startups it studied, and around 60% at steadier ones.

That gap is why the share of the seat price matters more than the absolute cost. A feature that takes 3% of the seat is a rounding error; one that takes 30% turns an 80% margin business into a 50% one.

How to make an AI feature cheaper to run

  • Cache the part of the prompt that repeats. Cache hits cost a tenth or less of the input price at most providers here, and 2.5% of it on Claude Fable 5.2. Anthropic and OpenAI charge 1.25 times the input price to write to the cache on their shortest cache lifetimes; Google's Gemini 4 models cache automatically with no write fee.
  • Batch what does not need an answer now. Anthropic, OpenAI, Google and Mistral take 50% off for requests sent through their batch APIs, which return results within hours.
  • Send easy requests to small models. Claude Haiku 5.5 and GPT-6 Luna cost an eightieth of their makers' flagships per input token; at Google and Mistral the gap is smaller, but still several times. Routing classification and extraction to a small model and keeping the flagship for hard requests is usually the largest saving available.
  • Cap the output. Output costs five times input or more on most models here, so a limit on response length, or on reasoning, moves the bill more than trimming the prompt.

Is a token the same at every provider?

No. Each provider splits text into tokens with its own tokenizer, so the same prompt is a different number of tokens at each. Anthropic notes that its tokenizer for Claude 4.7 and later produces about 30% more tokens for the same text than its previous one. Treat results within about a third of each other as a tie, and measure your own prompts: every provider reports the tokens used by each request.

Sources

Data checked on November 19, 2026.

  1. Claude API pricing, Anthropic (November 19, 2026)
  2. API pricing, OpenAI (November 19, 2026)
  3. Gemini API pricing, Google (November 19, 2026)
  4. Models and pricing, DeepSeek (November 19, 2026)
  5. Mistral Large 4, Mistral AI (November 19, 2026)
  6. 2026 SaaS and AI Metrics Benchmarks, Benchmarkit (June 1, 2026)
  7. 2026 State of AI Report, ICONIQ (July 1, 2026) Survey of about 300 executives.
  8. The state of B2B monetization in 2026, Growth Unhinged (May 13, 2026)
  9. The State of AI 2025, Bessemer Venture Partners (August 13, 2025)

More calculators

All SaaS calculators

SaaS TLDR Newsletter

Free forever. Unsubscribe in one click.