Price per 1M logo

Cheapest long-context models

Models with at least a 200K-token context window, ranked by input price — for summarising books, legal dumps and codebases.

Current leader: Gemini Exp 1114 (Google Gemini). Refreshed 2026-10-28 12:57 UTC.

#ModelProviderInput $/1MOutput $/1MCached $/1MContext
1Gemini Exp 1114Google Geminifreefree—1.0M
2Gemini Exp 1206Google Geminifreefree—2.1M
3Gemma 4 26b A4b ItGoogle Geminifreefree—262K
4Gemma 4 31b ItGoogle Geminifreefree—262K
5Labs Leanstral 1 5Mistral AIfreefree—262K
6Labs Leanstral 1 5 1Mistral AIfreefree—262K
7Qwen3 Coder:480b CloudOllamafreefree—262K
8Ternary Bonsai 27BTogether AIfreefree—262K
9Databricks GPT 5 NanoDatabricks$0.05$0.4$0.005272K
10Qwen TurboAlibaba DashScope$0.05$0.2—1M
11Qwen TurboAlibaba DashScope$0.05$0.2—1M
12Qwen TurboAlibaba DashScope$0.05$0.2—1M
13GPT 5 NanoOpenAI$0.05$0.4$0.005272K
14GPT 5 NanoOpenAI$0.05$0.4$0.005272K
15GPT 5 NanoAzure OpenAI$0.05$0.4$0.005272K
16Nemotron 3 Nano 30B A3BDeepInfra$0.05$0.2$0.025262K
17Nemotron Lightning 3p5 30b A3bFireworks AI$0.05$0.2$0.01262K
18Nemotron 3 Nano 30b A3bNovita AI$0.05$0.2—262K
19GPT 5 NanoAzure OpenAI$0.055$0.44$0.0055272K
20GLM 4.7 FlashDeepInfra$0.06$0.4$0.01203K
21NVIDIA Nemotron 3 Nano 30B A3BNebius$0.06$0.24—262K
22Nemotron 3 Nano OmniNebius$0.06$0.24—262K
23Nemotron 3 5 LightningNebius$0.06$0.24—1.0M
24Ling 3.0 Flash FastNovita AI$0.06$0.18$0.012262K
25Ling 3.0 FlashNovita AI$0.06$0.18$0.012262K
26Gemma 4 26B A4B ItDeepInfra$0.07$0.34—262K
27Glm 4.7 FlashNovita AI$0.07$0.4$0.01200K
28Amazon.nova Lite V1:0Amazon Bedrock$0.072$0.288$0.018300K
29Nvidia.nemotron Nano 3 30bAmazon Bedrock$0.072$0.288—262K
30NVIDIA Nemotron 3.5 LightningDeepInfra$0.08$0.2$0.04262K
31DeepSeek V4 Flash 0731DeepInfra$0.08$0.18$0.0161.0M
32NVIDIA Nemotron 3 Super 120B A12BDeepInfra$0.085$0.4—262K
33Qwen3 235B A22B Instruct 2507DeepInfra$0.09$0.55—262K
34Qwen3 Next 80B A3B InstructDeepInfra$0.09$1.1—262K
35Gemma 4 31B It TurboDeepInfra$0.09$0.34$0.05262K
36DeepSeek V4 FlashDeepInfra$0.09$0.18$0.0181.0M
37Claude Haiku 5 5Anthropic$0.1$0.5$0.011M
38Gemini 2.5 Flash LiteGoogle Gemini$0.1$0.4$0.011.0M
39Muse Spark 1.2 ContributorMeta$0.1$0.2$0.0021.0M
40Muse Spark 1.3 ContributorMeta$0.1$0.2$0.0021.0M
41Devstral SmallMistral AI$0.1$0.3$0.01256K
42GPT 4.1 NanoOpenAI$0.1$0.4$0.0251.0M
43GPT 4.1 NanoOpenAI$0.1$0.4$0.0251.0M
44GPT 6 LunaOpenAI$0.1$0.5$0.01922K
45GPT 4.1 NanoAzure OpenAI$0.1$0.4$0.0251.0M
46GPT 4.1 NanoAzure OpenAI$0.1$0.4$0.0251.0M
47GPT 6 LunaAzure OpenAI$0.1$0.5$0.01922K
48GPT 6 LunaAzure OpenAI$0.1$0.5$0.01922K
49Claude Haiku 5 5Amazon Bedrock$0.1$0.5$0.011M
50Gemma 4 26b A4b ItCloudflare Workers AI$0.1$0.3—256K
51Llama 4 Scout 17B 16E InstructDeepInfra$0.1$0.3—328K
52Qwen3.6 35B A3BDeepInfra$0.1$0.95—262K
53Seed 2.0 MiniDeepInfra$0.1$0.4$0.02256K
54Qwen3.5 9BDeepInfra$0.1$0.15—262K
55Ministral 3 3b Instruct 2512Fireworks AI$0.1$0.1—256K
56Qwen3 1p7b Fp8 DraftFireworks AI$0.1$0.1—262K
57Cosmos3 Super ReasonerNebius$0.1$0.3—262K
58Qwen3 30B A3B Instruct 2507Nebius$0.1$0.3—262K
59Mimo V2 FlashNovita AI$0.11$0.33$0.024262K
60Anthropic.claude Haiku 5 5Amazon Bedrock$0.12$0.6$0.0121M

Other use cases

Frequently asked

› Which AI model is cheapest for very long documents?

Gemini Exp 1114 from Google Gemini currently leads this list, at $0/1M input tokens. Rankings are recomputed from the raw dataset on every refresh, so they track price cuts automatically.

› How are these rankings calculated?

Each use case applies a capability filter (context size, vision, tool calling, cache pricing) and then ranks the surviving models by the blended cost that profile actually pays. See the methodology page for the exact formulas.

› Is the cheapest model always the right choice?

No. Check the capability flags and context window, and benchmark quality on your own data — the cheapest model that fails your evals costs more than the second cheapest that passes them.