AI API Cost Calculator

Find out what an AI model will cost your app each month. Compare 113 models from 14 providers, including OpenAI, Anthropic, Google, xAI, Mistral and DeepSeek.

Prices checked October 13, 2026 on each provider's official pricing page · See all prices & sources

  1. 1 Pick an example or enter your usage
  2. 2 We apply each model's official price
  3. 3 Compare monthly costs, cheapest first
AI Overview • Key Pricing Takeaways

Direct Answer: In 2026, 1 million input tokens ranges from $0.10 on Gemini 2.0 Flash and $0.14 on DeepSeek V3, up to $2.50 on GPT-4o and $3.00 on Claude 3.5 Sonnet. Output tokens cost 3× to 5× more ($0.28 to $15.00/1M). Prompt caching cuts input costs by 50% to 90% on repeated instructions, while Batch APIs halve bills for non-urgent tasks.

Cost Formula: Monthly Cost = (Fresh Input × Input Rate) + (Cached Input × Cached Rate) + (Output × Output Rate)
Token Rule of Thumb
1,000 words ≈ 1,333 tokens
1 token ≈ 4 characters or 0.75 words
Lowest Input Cost
Gemini 2.0 Flash • $0.10/1M
DeepSeek V3 follows at $0.14/1M
Prompt Cache Savings
Up to 90% off input
DeepSeek • Anthropic • OpenAI
Reasoning Tokens
Billed as output rate
o1, o3-mini • DeepSeek R1

Your usage

Start from an example

Measure text in
Count requests
Currency
Ways to pay less (prompt caching & batch)
For jobs that can wait hours instead of seconds (reports, tagging, bulk translation). Applies each provider's published batch discount.
Not sure how much text? Paste a sample

Rough estimate for English text (~4 characters per token). Each provider counts slightly differently.

Quick definitions
Token
A small chunk of text, about ¾ of a word. AI providers charge per million tokens.
Input
Everything you send: instructions, past messages, documents and the user's question.
Output
What the AI writes back. It usually costs several times more per token than input.
Context window
The most text a model can handle in one request. Models that are too small get a warning.
Price band
Based on a typical mix of 3 parts input to 1 part output: Low cost is under $0.75 per million tokens, Mid-range under $5, Premium $5 and up.

What each model would cost you

You send 25,000 requests a month (about 833 a day). Each one sends about 1,500 tokens (~1,125 words) and gets back about 300 tokens (~225 words). Of the 47 models shown, the cheapest is Qwen3.7 Flash at $2.10/month and the most expensive is GPT-6 Astra at $581.25/month.

Showing 15 of 47 matching models · 66 older models hidden

Estimated monthly API cost per model for your usage, cheapest first
# Model Input Output Per 1K req. Monthly
1
Qwen3.7 FlashCheapest
Alibaba Cloud (Qwen) · Low cost
No cache discount
Rates & notes

$0.03 input · — cached · $0.13 output per 1M tokens

$1.13 $0.98 $0.08
$2.10
$25.20 / yr
2
Ministral 3 3B
Mistral AI · Low cost
No cache discount
Rates & notes

$0.10 input · — cached · $0.10 output per 1M tokens

Context window: 256,000 tokens

$3.75 $0.75 $0.18
$4.50
$54.00 / yr
3
GPT-OSS 20B
Groq · OpenAI (open-weight) · Low cost
No cache discount
Rates & notes

$0.075 input · — cached · $0.30 output per 1M tokens

Context window: 131,072 tokens

$2.81 $2.25 $0.20
$5.06
$60.75 / yr
4
Claude Haiku 5.5
Anthropic · Low cost
Rates & notes

$0.10 input · $0.01 cached · $0.50 output per 1M tokens

Context window: 1,000,000 tokens

For high-volume, latency-sensitive tasks such as classification, extraction and routing.

$2.06 $3.75 $0.23
$5.81
$69.75 / yr
5
GPT-6 Luna
OpenAI · Low cost
Rates & notes

$0.10 input · $0.01 cached · $0.50 output per 1M tokens

Context window: 1,050,000 tokens

$2.06 $3.75 $0.23
$5.81
$69.75 / yr
6
Ministral 3 8B
Mistral AI · Low cost
No cache discount
Rates & notes

$0.15 input · — cached · $0.15 output per 1M tokens

Context window: 256,000 tokens

$5.63 $1.13 $0.27
$6.75
$81.00 / yr
7
GLM-5.3-Flash
Z.ai · Low cost
Rates & notes

$0.15 input · $0.03 cached · $0.50 output per 1M tokens

$3.38 $3.75 $0.29
$7.13
$85.50 / yr
8
Ministral 3 14B
Mistral AI · Low cost
No cache discount
Rates & notes

$0.20 input · — cached · $0.20 output per 1M tokens

Context window: 256,000 tokens

$7.50 $1.50 $0.36
$9.00
$108.00 / yr
9
Qwen3.8 Flash
Alibaba Cloud (Qwen) · Low cost
No cache discount
Rates & notes

$0.15 input · — cached · $0.47 output per 1M tokens

$5.63 $3.53 $0.37
$9.15
$109.80 / yr
10
GPT-OSS 120B
Groq · OpenAI (open-weight) · Low cost
No cache discount
Rates & notes

$0.15 input · — cached · $0.60 output per 1M tokens

Context window: 131,072 tokens

$5.63 $4.50 $0.41
$10.13
$121.50 / yr
11
Mistral Small 4
Mistral AI · Low cost
No cache discount
Rates & notes

$0.15 input · — cached · $0.60 output per 1M tokens

Context window: 256,000 tokens

$5.63 $4.50 $0.41
$10.13
$121.50 / yr
12
Jamba Mini
AI21 Labs · Low cost
No cache discount
Rates & notes

$0.20 input · — cached · $0.40 output per 1M tokens

$7.50 $3.00 $0.42
$10.50
$126.00 / yr
13
DeepSeek V4.1 Flash
DeepSeek · Low cost
Peak-hour rates
Rates & notes

$0.30 input · $0.006 cached · $1.20 output per 1M tokens

Context window: 1,000,000 tokens

Peak-hour rates. DeepSeek charges half outside 01:00-04:00 and 06:00-10:00 UTC on weekdays.

$5.74 $9.00 $0.59
$14.74
$176.85 / yr
14
MiniMax M3
Together AI · MiniMax · Low cost
Rates & notes

$0.30 input · $0.06 cached · $1.20 output per 1M tokens

$6.75 $9.00 $0.63
$15.75
$189.00 / yr
15
GLM-5.3-FlashX
Z.ai · Low cost
Rates & notes

$0.37 input · $0.075 cached · $1.25 output per 1M tokens

$8.34 $9.38 $0.71
$17.72
$212.63 / yr

Estimates use standard list prices. Not included: cache-write or storage fees, web search and tool calls (except Perplexity's request fee), image and audio, regional or priority pricing, taxes and volume discounts.

AI model price list

US dollars per 1 million tokens, standard tier, checked October 13, 2026. Prices change often, so confirm on the provider's page before you commit to a budget. "—" means the provider doesn't publish that price.

Show prices for all 113 models
Model Input Cached input Output Context Batch
Anthropic official prices
Claude Fable 5.1
For demanding reasoning and long-horizon agentic work.
$10 $0.25 $50 1M −50%
Claude Opus 5.5
For long-running agentic coding and knowledge work.
$4 $0.20 $20 1M −50%
Claude Sonnet 5.5
The best combination of speed and intelligence.
$2 $0.10 $10 1M −50%
Claude Haiku 5.5
For high-volume, latency-sensitive tasks such as classification, extraction and routing.
Long prompts (over 100K tokens): $0.50 in / $0.05 cached / $2.50 out
$0.10 $0.01 $0.50 1M −50%
Claude Mythos 5.1 Older
$10 $0.25 $50 — −50%
Claude Fable 5 Older
$10 $1 $50 — −50%
Claude Mythos 5 Older
$10 $1 $50 — −50%
Claude Opus 5 Older
$5 $0.50 $25 — −50%
Claude Opus 4.8 Older
$5 $0.50 $25 — −50%
Claude Opus 4.7 Older
$5 $0.50 $25 — −50%
Claude Opus 4.6 Older
$5 $0.50 $25 — −50%
Claude Opus 4.5 Older
$5 $0.50 $25 — −50%
Claude Sonnet 5 Older
$2 $0.20 $10 — −50%
Claude Sonnet 4.6 Older
$3 $0.30 $15 — −50%
Claude Sonnet 4.5 Older
Deprecated by Anthropic; retirement planned for November 30, 2026.
$3 $0.30 $15 — −50%
Claude Haiku 4.5 Older
$1 $0.10 $5 — −50%
OpenAI official prices
GPT-6 Astra
Long prompts: $20 in / $2 cached / $75 out
$10 $1 $50 1.05M −50%
GPT-6.1 Sol
Long prompts: $4 in / $0.20 cached / $15 out
$2 $0.10 $10 1.05M −50%
GPT-6 Sol Older
$2 $0.20 $10 1.05M −50%
GPT-6 Luna
Long prompts: $0.20 in / $0.02 cached / $0.75 out
$0.10 $0.01 $0.50 1.05M −50%
GPT-5.6 Sol Older
OpenAI lists this as promotional pricing, available at least through November 21, 2026.
$4 $0.40 $20 1.05M −50%
GPT-5.6 Terra Older
$2 $0.20 $12 1.05M −50%
GPT-5.6 Luna Older
$0.20 $0.02 $1.20 1.05M −50%
GPT-5.5 Older
Price for prompts under 272K tokens.
$5 $0.50 $30 1.05M −50%
GPT-5.5 Pro Older
Price for prompts under 272K tokens.
$30 — $180 1.05M −50%
GPT-5.4 Older
Price for prompts under 272K tokens.
$2.50 $0.25 $15 1.05M −50%
GPT-5.4 Pro Older
Price for prompts under 272K tokens.
$30 — $180 1.05M −50%
GPT-5.4 mini Older
$0.75 $0.075 $4.50 400K −50%
GPT-5.4 nano Older
$0.20 $0.02 $1.25 400K −50%
GPT-5.2 Older
$1.75 $0.175 $14 400K −50%
GPT-5.2 Pro Older
$21 — $168 400K −50%
GPT-5.1 Older
$1.25 $0.125 $10 400K −50%
GPT-5 Older
$1.25 $0.125 $10 400K −50%
GPT-5 mini Older
$0.25 $0.025 $2 400K −50%
GPT-5 nano Older
$0.05 $0.005 $0.40 400K −50%
GPT-5 Pro Older
$15 — $120 400K −50%
GPT-4.1 Older
$2 $0.50 $8 1.05M −50%
GPT-4.1 mini Older
$0.40 $0.10 $1.60 1.05M −50%
GPT-4.1 nano Older
$0.10 $0.025 $0.40 1.05M −50%
GPT-4o Older
$2.50 $1.25 $10 128K −50%
GPT-4o mini Older
$0.15 $0.075 $0.60 128K −50%
o3 Older
$2 $0.50 $8 200K −50%
o3-pro Older
$20 — $80 200K −50%
o4-mini Older
$1.10 $0.275 $4.40 200K −50%
o3-mini Older
$1.10 $0.55 $4.40 200K −50%
o1 Older
$15 $7.50 $60 200K −50%
o1-pro Older
$150 — $600 200K −50%
GPT-4 Turbo Older
$10 — $30 128K −50%
GPT-3.5 Turbo Older
$0.50 — $1.50 16.4K −50%
Google official prices
Gemini 3.1 Pro Preview
Long prompts (over 200K tokens): $4 in / $0.40 cached / $18 out
Context-cache storage is billed separately per hour.
$2 $0.20 $12 1.05M −50%
Gemini 3.8 Flash
Price through Dec 31, 2026. Google lists $1.50 input / $0.15 cached / $7.50 output from Jan 1, 2027.
$0.75 $0.075 $3.75 1.05M −50%
Gemini 3.6 Flash Older
Price through Dec 31, 2026. Google lists $1.50 input / $0.15 cached / $7.50 output from Jan 1, 2027.
$0.75 $0.075 $3.75 — −50%
Gemini 3.5 Flash-Lite
$0.30 $0.03 $2.50 1.05M −50%
Gemini 3.1 Flash-Lite Older
$0.25 $0.025 $1.50 — −50%
Gemini 3 Flash Preview Older
$0.50 $0.05 $3 — −50%
Gemini 2.5 Pro Older
Long prompts (over 200K tokens): $2.50 in / $0.25 cached / $15 out
$1.25 $0.125 $10 — −50%
Gemini 2.5 Flash Older
$0.30 $0.03 $2.50 1.05M −50%
Gemini 2.5 Flash-Lite Older
$0.10 $0.01 $0.40 1.05M −50%
xAI (SpaceXSI) official prices
Grok 4.7
$2 $0.50 $6 500K —
Grok 4.6 Older
$2 $0.50 $6 500K —
Grok 4.5 Older
$2 $0.30 $6 500K —
Grok 4.3
$1.25 $0.20 $2.50 1M −20%
Grok 4.20 Older
$1.25 $0.20 $2.50 1M −20%
Grok Build 0.1
Coding model (also served as grok-code-fast-1).
$1 $0.20 $2 256K —
DeepSeek official prices
DeepSeek V4 Pro
Peak-hour rates. DeepSeek charges half outside 01:00-04:00 and 06:00-10:00 UTC on weekdays.
$1.32 $0.044 $3.96 1M —
DeepSeek V4.1 Flash
Peak-hour rates. DeepSeek charges half outside 01:00-04:00 and 06:00-10:00 UTC on weekdays.
$0.30 $0.006 $1.20 1M —
Mistral AI official prices
Mistral Large 4
Sale price. Regular price $1.36 input / $0.14 cached / $4.18 output.
$0.68 $0.07 $2.09 1M −50%
Mistral Medium 3.5
$1.50 — $7.50 256K −50%
Mistral Small 4
$0.15 — $0.60 256K −50%
Ministral 3 14B
$0.20 — $0.20 256K −50%
Ministral 3 8B
$0.15 — $0.15 256K −50%
Ministral 3 3B
$0.10 — $0.10 256K −50%
Codestral (25.08)
$0.30 — $0.90 128K −50%
Mistral Large 3 Older
$0.50 — $1.50 256K −50%
Z.ai official prices
GLM-5.3
$1.40 $0.26 $4.40 — —
GLM-5.3-FlashX
$0.37 $0.075 $1.25 — —
GLM-5.3-Flash
$0.15 $0.03 $0.50 — —
GLM-5.2 Older
$1.40 $0.26 $4.40 — —
GLM-5.1 Older
$1.40 $0.26 $4.40 — —
GLM-5 Older
$1 $0.20 $3.20 — —
GLM-4.7 Older
$0.60 $0.11 $2.20 — —
GLM-4.7-FlashX Older
$0.07 $0.01 $0.40 — —
GLM-4.6 Older
$0.60 $0.11 $2.20 — —
GLM-4.5 Older
$0.60 $0.11 $2.20 — —
GLM-4.5-Air Older
$0.20 $0.03 $1.10 — —
Moonshot AI (Kimi) official prices
Kimi K3
Cache writes are billed separately ($3.00 per 1M for 5-minute TTL).
$3 $0.30 $15 1.05M —
Kimi K2.7 Code
$0.95 $0.19 $4 262.1K —
Kimi K2.7 Code Highspeed
$1.90 $0.38 $8 262.1K —
Kimi K2.6 Older
$0.95 $0.16 $4 262.1K —
Alibaba Cloud (Qwen) official prices
Qwen3.8 Max
Prompts up to 1M tokens.
$2 — $6 — —
Qwen3.7 Plus
Long prompts (over 256K tokens): $1.20 in / — cached / $4.80 out
List price; Alibaba is running a limited-time 20% discount.
$0.40 — $1.60 — —
Qwen3.8 Flash
$0.15 — $0.47 — —
Qwen3.7 Flash
Long prompts (over 32K tokens): $0.10 in / — cached / $0.40 out
Long prompts (over 256K tokens): $0.20 in / — cached / $0.80 out
$0.03 — $0.13 — −50%
Qwen3.7 Max Older
$2.50 — $7.50 — —
Qwen-Max Older
$1.60 — $6.40 — −50%
Perplexity official prices
Sonar
Plus $5 per 1,000 requests
Includes the per-request search fee at "low" search context; medium/high context costs more.
$1 — $1 — —
Sonar Pro
Plus $6 per 1,000 requests
Includes the per-request search fee at "low" search context; medium/high context costs more.
$3 — $15 — —
Sonar Reasoning Pro
Plus $6 per 1,000 requests
Includes the per-request search fee at "low" search context; medium/high context costs more.
$2 — $8 — —
Meta official prices
Muse Wonder
$4 $0.20 $20 — —
Muse Spark
$1.25 $0.15 $4.25 — —
AI21 Labs official prices
Jamba Large
$2 — $8 — —
Jamba Mini
$0.20 — $0.40 — —
Groq official prices
GPT-OSS 120B
OpenAI (open-weight)
$0.15 — $0.60 131.1K —
GPT-OSS 20B
OpenAI (open-weight)
$0.075 — $0.30 131.1K —
Qwen3.8 27B
Alibaba (open-weight)
$0.80 — $4 131.1K —
Together AI official prices
MiniMax M3
MiniMax
$0.30 $0.06 $1.20 — —
Qwen3.5 397B A17B
Alibaba (open-weight)
$0.60 $0.35 $3.60 — —
Gemma 4 31B
Google (open-weight)
$0.39 — $0.97 — —
Muse Glimmer 30B
Meta (open-weight)
$0.35 $0.04 $1.50 — —
Cogito v2.1 671B
Deep Cogito
$1.25 — $1.25 — —
Llama 3.3 70B Older
Meta (open-weight)
$1.04 — $1.04 — —
MiniMax M2.7 Older
MiniMax
$0.30 $0.06 $1.20 — —
Qwen3 235B A22B Instruct 2507 Older
Alibaba (open-weight)
$0.20 — $0.60 — —

How to estimate AI API costs

1. Count tokens, not words

AI models bill by tokens, small chunks of text produced by each provider's tokenizer. For English, a token is about 4 characters or three-quarters of a word, so 1,000 words is roughly 1,333 tokens. Code, JSON and non-Latin scripts usually take more tokens per word. Tokenizers also differ between providers and model generations, so measure a few real requests from your usage logs when you can.

Word Count Estimated English Tokens Estimated Code / JSON Tokens Typical Document Equivalent
500 words ~667 tokens ~900 tokens 1-page memo or short email
1,000 words ~1,333 tokens ~1,800 tokens Standard blog post or product spec
2,500 words ~3,333 tokens ~4,500 tokens In-depth research paper or agreement
10,000 words ~13,333 tokens ~18,000 tokens Technical manual or quarterly report
50,000 words ~66,667 tokens ~90,000 tokens Full-length novel or codebase repo

2. Split input and output

Every request has input tokens (instructions, conversation history, documents and the user's message) and output tokens (the reply). On most models output costs 3× to 5× more than input because output token generation is autoregressive and sequential. Reasoning models also bill their hidden "thinking" tokens as output, so long chains of thought can dominate the bill.

3. Reuse repeated text with prompt caching

If many requests start with the same text, such as a long system prompt, tool definitions or a reference document, providers can serve it from cache at a much lower rate. Published discounts on cached input: Anthropic 90–98%, OpenAI 50–95%, Google 90%, xAI (SpaceXSI) 75–85%, DeepSeek 97–98%, Mistral AI 90%, Z.ai 80–86%, Moonshot AI (Kimi) 80–90%, Meta 88–95% and Together AI 42–89%. Put stable content first and changing content (the user's message, timestamps) last, because any change near the start breaks the cache.

4. Reasoning tokens and chain-of-thought overhead

Next-generation reasoning models such as OpenAI o1, o3-mini and DeepSeek R1 allocate hidden "thinking" tokens to reason through complex problems before emitting their visible response. Providers bill every reasoning token at the full output rate ($60.00/1M on o1, $4.40/1M on o3-mini, $2.19/1M on DeepSeek R1). Because an intricate logic query might generate 3,000 to 10,000 hidden reasoning tokens for a concise 200-word answer, always account for this output multiplier when budgeting reasoning architectures.

5. Worked example

A support assistant handling 100,000 requests a month, with 1,500 input tokens and 350 output tokens per request and 70% of the input repeated, would cost about this on the latest models:

  • Qwen3.7 Flash (Alibaba Cloud (Qwen)): $9.05/month
  • Ministral 3 3B (Mistral AI): $18.50/month
  • GPT-OSS 20B (Groq): $21.75/month
  • …up to GPT-6 Astra: $2,305/month

The cheapest model is not automatically the right one. Test answer quality, speed and reliability on your own prompts, then price the models that pass. Open this example in the calculator.

6. Five architectural ways to lower the bill

  1. Route by difficulty. Send routine requests to a low-cost model and only hard ones to a premium model.
  2. Cap output. Set max_tokens and ask for short answers. Output is the expensive side.
  3. Trim context. Summarize old conversation turns and include only the passages you need, not whole documents.
  4. Structure prompts for caching. Keep the shared opening text identical across requests.
  5. Batch what can wait. Nightly tagging, extraction and evaluation jobs qualify for batch discounts where offered.

7. Multimodal token calculations (Vision & Audio in 2026)

Modern 2026 models process images, PDFs, and audio natively. Vision models (such as Claude 3.5 Sonnet, GPT-4o, and Gemini 2.0 Flash) calculate image costs based on resolution and tile count:

  • Standard 1080p Image: Requires ~4 to 6 tiles of 512×512, converting to roughly 1,000 to 1,600 input tokens per image.
  • High-Resolution Document (PDF page): A scanned document page rendered at 300 DPI consumes approximately 2,000 input tokens.
  • Real-time Audio Input: Audio is billed at a premium (typically $10.00 to $40.00 per 1M audio tokens or roughly $0.06 per minute), making text transcription via Whisper or local speech models significantly more cost-effective before feeding into an LLM.

Step-by-Step: How to Calculate LLM Token Costs

Step 1

Quantify Expected Monthly Request Volume

Estimate total API calls across all users. For internal tools, 10,000 requests/month is typical; consumer apps or support bots regularly scale to 100,000 to 500,000 calls monthly.

Step 2

Measure Tokens per Request (1,000 words ≈ 1,333 tokens)

Calculate input footprint (system prompt, retrieved RAG documents, chat history) plus output tokens. Output tokens are 3× to 5× more expensive due to autoregressive generation.

Step 3

Leverage Prompt Caching & Batch Asynchronous Discounts

Enable prompt caching for static instructions to save 50% to 98% on input. Route non-latency-sensitive background jobs through Batch APIs to slash invoices by an additional 50%.

Step 4

Benchmark Model Tiers & Local Currency Totals

Compare low-cost models (Gemini Flash, DeepSeek V3) vs frontier reasoning models (Claude 3.5 Sonnet, OpenAI o1/o3-mini). Switch currencies (USD, EUR, GBP, INR, JPY) to review local engineering budgets.

Voice Search & Direct Answers Optimized for Google Assistant, Gemini & Siri Queries

Conversational Quick Answers

"Which AI model has the cheapest API in 2026?"

Gemini 2.0 Flash ($0.10/1M input) and DeepSeek V3 ($0.14/1M input) offer the cheapest API rates in 2026, delivering frontier performance at up to 94% lower cost than GPT-4o.

"How much do 1 million tokens cost?"

One million input tokens costs between $0.10 on budget models like Gemini Flash to $3.00 on Claude 3.5 Sonnet. Output tokens range from $0.28 to $15.00 per million tokens.

"How many tokens is a 1,000-word article?"

In standard English, 1,000 words equals approximately 1,333 tokens. The baseline conversion rule is 1 token equals 0.75 words or approximately 4 characters.

"How much does prompt caching save on LLM APIs?"

Prompt caching saves 50% to 98% on input token costs on repeated context across DeepSeek (98%), Anthropic (90%), OpenAI (50-95%), and Google Cloud (90%).

Cite this Calculator & Methodology

If you reference this tool in research papers, architecture decision records (ADRs), or technical articles, use the attribution below:

Aiversely. (2026). Interactive LLM Token & API Cost Calculator. https://aiversely.com/token-calculator

Pricing data sourced directly from official documentation published by OpenAI, Anthropic, Google Cloud, DeepSeek, xAI, Mistral AI, and Groq.

Frequently asked questions

Among the latest models tracked here (prices checked October 13, 2026), input starts at $0.03 per million tokens (Qwen3.7 Flash), and output ranges from $0.10 (Ministral 3 3B) to $50 (Claude Fable 5.1). For most models, output costs more than input.

A token is a small chunk of text that AI models read and write: often a whole short word, sometimes part of a longer one. In English, 1 token is about 4 characters or three-quarters of a word, so 100 words is roughly 130 tokens. Providers charge per million tokens.

When many requests start with the same text (instructions, examples, a long document), providers can reuse it and charge less for those input tokens. Published discounts on cached input: Anthropic 90–98%, OpenAI 50–95%, Google 90%, xAI (SpaceXSI) 75–85%, DeepSeek 97–98%, Mistral AI 90%, Z.ai 80–86%, Moonshot AI (Kimi) 80–90%, Meta 88–95% and Together AI 42–89%. Caching does not reduce output costs, and some providers charge extra to write to or store the cache.

Yes, where offered. Batch jobs run in the background (results within hours instead of seconds) at a discount: Anthropic (50%), OpenAI (50%), Google (50%), xAI (SpaceXSI) (20%), Mistral AI (50%) and Alibaba Cloud (Qwen) (50%). Turn on "Use Batch API" to apply it; models without a published batch discount keep their normal price.

For high-volume production, Gemini 2.0 Flash ($0.10 input / $0.40 output per 1M tokens) and DeepSeek V3 ($0.14 input / $0.28 output per 1M tokens) offer the lowest API rates among frontier-grade models. DeepSeek V3 is particularly cost-effective for multi-turn agents with its $0.014/1M cached input rate.

Output generation is autoregressive and sequential: each generated token requires an individual memory-bandwidth pass across GPU clusters. In contrast, prompt input processing is parallelized and accelerated via matrix multiplication and KV caching.

Reasoning models produce hidden chain-of-thought tokens before returning the visible answer. Providers bill every reasoning token at the full output rate ($60/1M on o1, $4.40/1M on o3-mini, $2.19/1M on DeepSeek R1). A 200-word response can consume 3,000+ reasoning tokens, significantly increasing the total invoice.
Join WhatsApp Channel

My AI Toolkit

0 items saved in this browser