LLM API Pricing (2026)

17 models across OpenAI, Anthropic, Google, DeepSeek, xAI and open-weight hosts — sortable by any column. Prices in USD per 1M tokens.

Open weights
Llama 3 8B Instruct LiteMeta$0.14$0.148Kyes
DeepSeek V4 FlashDeepSeek$0.14$0.281Mno
GPT-5.4 NanoOpenAI$0.2$1.251.05Mno
Gemini 2.5 FlashGoogle$0.3$2.51Mno
DeepSeek V4 ProDeepSeek$0.435$0.871Myes
GPT-5.4 MiniOpenAI$0.75$4.51.05Mno
Claude Haiku 4.5Anthropic$1$5200Kno
GPT-5.6 LunaOpenAI$1$61.05Mno
Llama 3.3 70BMeta$1.04$1.04128Kyes
Grok 4.3xAI$1.25$2.51Mno
Gemini 3.5 FlashGoogle$1.5$91.05Mno
Claude Sonnet 5Anthropic$2$101Mno
Grok 4.5xAI$2$6500Kno
GPT-5.6 TerraOpenAI$2.5$151.05Mno
Claude Opus 4.8Anthropic$5$251Mno
GPT-5.6 SolOpenAI$5$301.05Mno
Claude Fable 5Anthropic$10$501Mno

Prices last verified 2026-07-14 against each vendor's official pricing page — every model's detail page links its source. Cached-input, batch and long-context tiers may differ.

Frequently Asked Questions

What does $/1M tokens mean?

LLM APIs bill per token processed — roughly 4 characters or 0.75 English words each. Input tokens are what you send (prompts, documents), output tokens are what the model writes back. Output is typically 3–6× more expensive than input.

Why do input and output prices differ so much?

Generating tokens is far more compute-intensive than reading them: every output token requires a full forward pass through the model, while input tokens are processed in parallel. Vendors price accordingly.

Which LLM API is cheapest?

By raw input price, small open-weight models hosted by inference providers usually win, followed by vendor "mini/nano/flash" tiers. But cheapest per token is not cheapest per task — a stronger model may need fewer retries and shorter prompts.

How current are these prices?

Every row shows a verification date and links to the official pricing page it was checked against. We refresh the dataset periodically; always confirm on the vendor page before committing to volume.

Running an open-weight model yourself instead? See which GPU server fits which model →