Home โ€บ Blog

LLM API cost guides and analysis

Long-form, sourced articles on what LLM APIs actually cost: provider rate cards, prompt caching, batch discounts, long-context tiers, and the arithmetic behind an invoice. The full archive lives on blog.rabayid.com; this hub keeps the best entry points on the main domain.

Start here

OpenAI GPT Pricing Guide 2026

Read on the TokenMeter Blog โ†’

Claude Pricing Guide 2026

Read on the TokenMeter Blog โ†’

Gemini Pricing Guide 2026

Read on the TokenMeter Blog โ†’

DeepSeek Pricing Guide 2026

Read on the TokenMeter Blog โ†’

GPT vs Claude: Cost Compared

Read on the TokenMeter Blog โ†’

GPT vs Gemini: Cost Compared

Read on the TokenMeter Blog โ†’

Browse by topic

More from the archive

Prefer a number instead of an article?

The calculator on this domain prices 45 models from 8 providers with caching, batch and long-context rules applied. It is free, needs no account, and uses the same dataset as every article linked above.

Open the free LLM API cost calculator

How to turn these prices into a defensible budget

A headline rate is not a bill. The pricing dataset behind this page covers 45 models from 8 providers, verified November 2026. Across the verified rows, input ranges from $0.1 to $10 per million tokens and output from $0.5 to $50. 45 rows publish a cached-input rate, 43 support batch pricing and 16 document a long-context tier. Those modifiers are where most estimates go wrong.

Start from the four charges on the invoice

Every request can produce four separate charges: uncached input at the base rate, cached input at a discount, a cache-write premium when a prefix is stored or refreshed, and output at the higher generation rate. A spreadsheet that multiplies one token count by one rate captures only part of the bill. The correct expression is (input ร— input rate + cached ร— cached rate + writes ร— write rate + output ร— output rate) รท 1,000,000. Apply the batch discount and the long-context multiplier only when they actually apply to the traffic being priced.

A worked example you can reproduce

Take 100,000 requests per month with 1,500 input tokens and 400 output tokens each. On GPT-6 Luna that is about $35 before modifiers; on GPT-6 Astra the same work is about $3,500. The gap is not a quality claim โ€” it is a reminder that the mix of input and output decides the ranking. An output-heavy workload will rank models differently from an input-heavy one, and a RAG pipeline that repeats a fixed prefix will rank them differently again.

Three checks before you publish a cost estimate

  1. Split the token counts. Log prefix, retrieved context, conversation history, user input and output separately. A single total input number hides the cacheable portion.
  2. Check the modifiers. Confirm the cache TTL, the batch-eligible share of traffic and the long-context threshold. 16 models in the dataset change price above a documented threshold.
  3. State the date and source. Rates move. This dataset was checked November 2026; link the source list and the CC BY 4.0 licence whenever you reuse a figure.

Questions readers ask most

Why do two calculators disagree?

Usually because one of them ignores output tokens, cache writes or the long-context tier. Compare the assumptions before comparing the totals.

Does the cheapest sticker price win?

Not necessarily. GPT-6 Luna has the lowest blended rate in this dataset, but retries, quality requirements and latency can make a different model cheaper per correct answer.

Can I reuse these numbers commercially?

Yes, with attribution under CC BY 4.0. The full machine-readable file is at /data/pricing.json.

Compare two models ยท Open another cost tool