AI CostBase

LLM API price table

All prices in USD per 1M tokens. Updated daily from OpenRouter's public API. Type to filter; click a header to sort.

ModelProvider Input $/1MOutput $/1M ContextBlend*

*Blend = (3×input + 1×output)/4, a rough proxy for a typical assistant workload. Cheapest useful models for bulk work are not always the ones with the lowest input price — check the blend. Models that return images, audio or video are listed here but are deliberately kept out of the calculator dropdowns: they bill on a different axis and cannot be compared per token.

Embedding models

Embedding endpoints bill on input tokens only. They are not listed by the main model API, so this table comes from a second public source (LiteLLM's community price list) — the same list the RAG and embedding calculators read.

ModelProviderInput $/1MMax input

How to read this table

The spread is wider than people assume

Placed end to end, per-token prices on this table span roughly three orders of magnitude. That enormous range is genuinely useful — it means model choice can move a bill by multiples — but it is only true for workloads where token price dominates. On a voice product, in a retrieval system, or anywhere operational overhead is significant, a hundredfold cheaper model can still move the total by a few percent.

The table answers "what does this model charge". It does not answer "what will my system cost". Those two questions are much further apart than they look.

About the embedding table

Embedding endpoints bill on input tokens only — there is no generated text to charge for — which is why the price column here has no output counterpart. Two things matter more than the headline rate when you are budgeting embeddings: how text is chunked, since overlap can inflate indexed tokens by ten to fifteen percent, and how many dimensions the model produces, because higher-dimensional vectors cost more to store and search even when the per-token price is identical.

Choosing a model from this table

The cheapest row is rarely the right answer, and never the whole answer. Three questions narrow the field faster than any ranking.

Worked in that order, model selection stops being a race to the bottom of a price column and becomes a routing decision — which is what it actually is.