The cheapest LLM APIs in 2026 โ€” with real numbers

Updated September 14, 2026 ยท Prices per 1M tokens, USD

"Cheapest" depends on your input/output mix, but for a typical 60/40 input-heavy workload, this is the September 2026 budget leaderboard among widely available models:

ModelVendorInputOutput1M in + 1M out
Llama 3.1 8B InstructMeta (DeepInfra)$0.02$0.04$0.06
DeepSeek Flash (off-peak)DeepSeek$0.15$0.60$0.75
Llama 4 Scout 17B-16EMeta (DeepInfra)$0.10$0.30$0.40
Gemini 2.5 Flash-LiteGoogle$0.10$0.40$0.50
GPT-4o miniOpenAI$0.15$0.60$0.75
Mistral Small 4Mistral$0.15$0.60$0.75
DeepSeek V4 Pro (off-peak)DeepSeek$0.66$1.98$2.64
GPT-5.6 LunaOpenAI$0.20$1.20$1.40

The catch: cheap per token โ‰  cheap per task

A small model that needs three retries, or produces answers you must post-process, costs more than a mid-tier model that nails it once. The honest procedure is: build a 50-example eval set from your real traffic, run it down the price ladder, and pick the cheapest model that passes. Most teams discover their classification, routing, extraction and short-summary traffic โ€” often 70%+ of volume โ€” passes on models under $1/M output.

Where each budget model shines

Llama 3.1 8B is unbeatable for high-volume, low-stakes transforms (tagging, dedupe, normalization) and its per-provider pricing keeps falling. DeepSeek Flash punches far above its price on reasoning-lite tasks, and its off-peak cache-hit input price of $0.003/M is effectively free for repeated prefixes. Gemini 2.5 Flash-Lite pairs a 1M-token context with rock-bottom rates, making it the budget choice for long-document work. GPT-5.6 Luna is the strongest raw model of the four โ€” the safe default when quality matters but budgets are tight.

Don't forget the two discounts

Prompt caching (75-98% off repeated input, depending on vendor) and batch APIs (50% off at OpenAI, Anthropic and Google; 20% at xAI, async) can make a mid-tier model cost less than a budget model's sticker price. If your workload has a big stable system prompt or can tolerate async processing, run the numbers both ways โ€” our caching guide walks through the math.

Going even cheaper: run open models yourself
At sustained high volume, renting GPUs undercuts every API above. Community marketplaces like Vast.ai and serverless GPU clouds like RunPod rent an RTX 4090-class card for well under $1/hour โ€” enough to serve a quantized 8B model at effectively $0.01โ€“0.02 per million tokens if you keep it busy. The trade-off is ops work: cold starts, scaling, and monitoring are on you.
โ†’ Rank all 30 models by your workload
Enter your token mix once โ€” see cost per request and per month, cheapest first.
Advertisement

Prices compiled from vendor pricing pages, last verified September 14, 2026. Open-weight model prices vary by inference provider. Verify before committing.