LLM API Pricing 2026: Compare Token Costs Across 8 Providers

Cheapest verified LLM API: $0.03/M · GPT-6.1 Sol $2/M · Claude Sonnet 5.5 $2/M. Compare 37 prices with context windows, source links, and verified dates.

··2 min read
Share

Quick pricing answers

Cheapest input

LFM2 24B A2B on Together

$0.03/M input · $0.12/M output

Cheapest output

Llama 3.1 8B Instant on Groq

$0.08/M output

Lowest first-party lab price

GPT-6 Luna

OpenAI · $0.10/M input

Best cached-input price

DeepSeek V4.1 Flash 1017

$0.003/M cached input

These answers are generated from 37 verified models across 8 providers as of October 2026. Use the calculator for workload-specific totals because output tokens and cache hit rate can change the cheapest choice.

ProviderModelInput / 1MCached input / 1MOutput / 1MContextVerified
OpenAIGPT-6 Astra$10.00$1.00$50.001,050,000October 2026
OpenAIGPT-6.1 Sol$2.00$0.10$10.001,050,000October 2026
OpenAIGPT-6 Luna$0.10$0.01$0.501,050,000October 2026
OpenAIGPT-5.6 Cyber$12.50$1.25$75.00400,000October 2026
AnthropicClaude Fable 5.1$10.00$0.25$50.001,000,000October 2026
AnthropicClaude Opus 5.5$4.00$0.20$20.00n/aOctober 2026
AnthropicClaude Sonnet 5.5$2.00$0.10$10.00n/aOctober 2026
AnthropicClaude Haiku 5.5$0.10$0.01$0.50n/aOctober 2026
GoogleGemini 3.8 Flash$0.75$0.075$3.751,048,576October 2026
GoogleGemini Robotics ER 2 Streaming$1.00n/a$5.00n/aOctober 2026
GoogleGemini Robotics ER 2$1.00$0.10$5.00n/aOctober 2026
KimiKimi K3$3.00$0.30$15.001,048,576July 2026
DeepSeekDeepSeek V4.1 Flash 1017$0.15$0.0030$0.601,000,000October 2026
OpenAIGPT-5.6 Sol$4.00$0.40$20.001,000,000October 2026
OpenAIGPT-5.6 Terra$2.00$0.20$12.001,000,000October 2026
OpenAIGPT-5.6 Luna$0.20$0.02$1.201,000,000October 2026
DeepSeekDeepSeek V4 Pro 0813$0.66$0.022$1.981,000,000October 2026
OpenAIGPT-5.5$5.00$0.50$30.001,000,000July 2026
OpenAIGPT-5.4$2.50$0.25$15.001,000,000July 2026
OpenAIGPT-5.4 mini$0.75$0.075$4.50400,000July 2026
OpenAIGPT-5.4 nano$0.20$0.02$1.25n/aJuly 2026
AnthropicClaude Opus 4.8$5.00$0.50$25.001,000,000July 2026
AnthropicClaude Sonnet 4.6$3.00$0.30$15.00n/aJuly 2026
AnthropicClaude Haiku 4.5$1.00$0.10$5.00200,000July 2026
GoogleGemini 3 Flash Preview$0.50$0.05$3.00n/aJuly 2026
GoogleGemini 2.5 Pro$1.25$0.125$10.001,000,000July 2026
GoogleGemini 2.5 Flash$0.30$0.03$2.501,000,000July 2026
GoogleGemini 2.5 Flash-Lite$0.10$0.01$0.40n/aJuly 2026
xAIGrok Build 0.1$1.00n/a$2.00256,000July 2026
Together AIDeepSeek V4 Pro on Together$1.74$0.20$3.48n/aJuly 2026
Together AIMiniMax M3 on Together$0.30$0.06$1.20n/aJuly 2026
Together AIgpt-oss-120B on Together$0.15n/a$0.60n/aJuly 2026
Together AILFM2 24B A2B on Together$0.03n/a$0.12n/aJuly 2026
GroqGPT OSS 20B on Groq$0.075$0.038$0.30128,000July 2026
GroqGPT OSS 120B on Groq$0.15$0.075$0.60128,000July 2026
GroqLlama 4 Scout on Groq$0.11n/a$0.34128,000July 2026
GroqLlama 3.1 8B Instant on Groq$0.05n/a$0.08128,000July 2026

Pending source verification

Mistral

Official model docs are tracked, but a stable per-model token pricing table was not found in the fetched docs. Do not publish Mistral prices until verified from an official pricing table.

https://docs.mistral.ai/getting-started/models/models_overview/

Fireworks

Official pricing page exposes serverless, fine-tuning, and GPU-hour pricing, but the fetched content points per-token estimates to a separate blog. Keep token pricing pending until a stable official per-model token table is available.

https://fireworks.ai/pricing

OpenRouter

Provider exposes model pricing through its models API; ingestion needs a deterministic model-selection policy before publishing aggregate OpenRouter prices.

https://openrouter.ai/api/v1/models

Pricing questions

What is the cheapest LLM API in October 2026?

LFM2 24B A2B on Together has the lowest verified input-token price at $0.03/M input tokens.

Which model is cheapest for generation-heavy workloads?

Llama 3.1 8B Instant on Groq has the lowest verified output-token price at $0.08/M output tokens.

Why are some providers still pending?

TLDL publishes prices only when the official source exposes stable per-model token pricing. Pending rows keep tracked sources visible without mixing guessed prices into the table.

Pricing data changelog

2026-10-21 · OpenAI

Added GPT-6 Astra, GPT-6.1 Sol, GPT-6 Luna, and GPT-5.6 Cyber, and refreshed GPT-5.6 family rates from current official documentation.

https://developers.openai.com/api/docs/models

2026-10-21 · Anthropic

Added Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1 with current first-party API pricing.

https://www.anthropic.com/claude

2026-10-21 · Google

Added Gemini 3.8 Flash GA introductory pricing, valid through December 31, 2026.

https://ai.google.dev/gemini-api/docs/pricing

2026-10-21 · DeepSeek

Replaced retired V4 Flash with DeepSeek V4.1 Flash 1017, updated V4 Pro rates, and recorded the active peak and off-peak pricing policy.

https://api-docs.deepseek.com/quick_start/pricing/

2026-07-31 · DeepSeek

Verified unchanged V4 Flash and V4 Pro token prices after the DeepSeek-V4-Flash-0731 public-beta update. DeepSeek also announced a future 2x peak-hours policy, but has not set its effective date.

https://api-docs.deepseek.com/quick_start/pricing/

2026-07-30 · Google

Model watch detected official pricing updates for gemini-robotics-er-2, gemini-robotics-er-2-streaming. Review the automated draft PR before merging.

https://ai.google.dev/gemini-api/docs/pricing?hl=en

2026-07-18 · Kimi

Model watch detected official pricing updates for kimi-k3. Review the automated draft PR before merging.

https://platform.kimi.ai/docs/pricing/chat-k3.md

2026-07-17 · OpenAI

Added GPT-5.6 Sol, Terra, and Luna standard API pricing plus the 90% cache-read discount from OpenAI's official launch announcement.

https://openai.com/index/gpt-5-6/

2026-07-17 · Anthropic

Added Claude Fable 5 API pricing and prompt-cache-hit discount from Anthropic's official model page.

https://www.anthropic.com/claude/fable

2026-07-17 · Kimi

Added verified Kimi K3 API pricing, 1M-token context, and maximum completion-token limit from Kimi's official launch and API documentation.

https://platform.kimi.ai/docs/pricing/chat-k3

2026-07-04 · DeepSeek

Verified DeepSeek V4 Flash and V4 Pro pricing from the official DeepSeek API pricing page.

https://api-docs.deepseek.com/quick_start/pricing

2026-07-04 · OpenAI

Verified GPT-5.5 and GPT-5.4 family standard API pricing from the official OpenAI pricing page.

https://platform.openai.com/docs/pricing

2026-07-04 · Anthropic

Verified current Claude first-party API pricing from the official Anthropic pricing page.

https://docs.anthropic.com/en/docs/about-claude/pricing

2026-07-04 · Google

Verified Gemini 3 Flash and Gemini 2.5 family standard text pricing from the official Gemini API pricing page.

https://ai.google.dev/gemini-api/docs/pricing

2026-07-04 · Groq

Verified Groq on-demand LLM token pricing from the official Groq pricing page.

https://groq.com/pricing/

2026-07-04 · Together AI

Verified selected Together AI serverless inference prices from the official Together AI pricing page.

https://www.together.ai/pricing

2026-07-04 · xAI

Verified Grok Build 0.1 token pricing from the official xAI docs overview.

https://docs.x.ai/overview

2026-07-04 · TLDL

Kept Mistral, Fireworks token inference, and OpenRouter aggregate pricing as source-pending where the official source is not a stable per-model token table in this dataset yet.

https://www.tldl.io/api/pricing.json

This page ranks only models with verified pricing in TLDL's shared dataset. The table above is generated from the same source used by the public pricing API, the LLM API pricing comparison, and the LLM cost calculator.

Pending providers are tracked but excluded from cheapest-model claims until their official source data is verified. That rule prevents stale copied numbers from being ranked as if they were current.

Current verified budget options

The verified table above is the source of truth. Sort by input price for routing, extraction, classification, and batch-analysis workloads. Sort by output price for summarization, chat, long-form generation, and agent workflows where responses can become large.

When cheap is not actually cheap

Low token prices can be offset by retries, weaker tool calling, latency, lower success rates, or longer generated outputs. Test cost per completed task, not just cost per token.

How to compare models

Use the LLM cost calculator with your expected input tokens, output tokens, and cache behavior. A small model can be cheaper for simple routing and more expensive for hard tasks if it needs repeated calls.

Related