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 Lite | Meta | $0.14 | $0.14 | 8K | yes |
| DeepSeek V4 Flash | DeepSeek | $0.14 | $0.28 | 1M | no |
| GPT-5.4 Nano | OpenAI | $0.2 | $1.25 | 1.05M | no |
| Gemini 2.5 Flash | $0.3 | $2.5 | 1M | no | |
| DeepSeek V4 Pro | DeepSeek | $0.435 | $0.87 | 1M | yes |
| GPT-5.4 Mini | OpenAI | $0.75 | $4.5 | 1.05M | no |
| Claude Haiku 4.5 | Anthropic | $1 | $5 | 200K | no |
| GPT-5.6 Luna | OpenAI | $1 | $6 | 1.05M | no |
| Llama 3.3 70B | Meta | $1.04 | $1.04 | 128K | yes |
| Grok 4.3 | xAI | $1.25 | $2.5 | 1M | no |
| Gemini 3.5 Flash | $1.5 | $9 | 1.05M | no | |
| Claude Sonnet 5 | Anthropic | $2 | $10 | 1M | no |
| Grok 4.5 | xAI | $2 | $6 | 500K | no |
| GPT-5.6 Terra | OpenAI | $2.5 | $15 | 1.05M | no |
| Claude Opus 4.8 | Anthropic | $5 | $25 | 1M | no |
| GPT-5.6 Sol | OpenAI | $5 | $30 | 1.05M | no |
| Claude Fable 5 | Anthropic | $10 | $50 | 1M | no |
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.
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.
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.
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.
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 →