Skip to main content

AI models with the longest context windows

Ranked by maximum context window — how much you can put in one prompt (long documents, whole codebases, large retrieval sets). Bigger context unlocks workloads smaller windows cannot attempt, though effective use of long context varies by model.

Ranking 341 models across the full field · as of 2026-06-08.

#ModelLabContext
1Meta: Llama 4 Scoutmeta-llama10M
2Auto Routeropenrouter2M
3Pareto Code Routeropenrouter2M
4xAI: Grok 4.20x-ai2M
5xAI: Grok 4.20 Multi-Agentx-ai2M
6OpenAI: GPT-5.5openai1.1M
7OpenAI GPT Latest~openai1.1M
8OpenAI: GPT-5.4openai1.1M
9OpenAI: GPT-5.4 Proopenai1.1M
10OpenAI: GPT-5.5 Proopenai1.1M
11Owl Alphaopenrouter1.0M
12Google: Gemini 3.1 Pro Preview Custom Toolsgoogle1.0M
13Google: Gemini 3.1 Pro Previewgoogle1.0M
14Google: Gemini 3.5 Flashgoogle1.0M
15DeepSeek: DeepSeek V4 Flashdeepseek1.0M
16DeepSeek: DeepSeek V4 Prodeepseek1.0M
17Xiaomi: MiMo-V2.5xiaomi1.0M
18MiniMax: MiniMax M3minimax1.0M
19Xiaomi: MiMo-V2.5-Proxiaomi1.0M
20Google: Gemini 3.1 Flash Litegoogle1.0M
21Google Gemini Flash Latest~google1.0M
22Google Gemini Pro Latest~google1.0M
23Google: Gemini 2.5 Flashgoogle1.0M
24Google: Gemini 2.5 Flash Litegoogle1.0M
25Google: Gemini 2.5 Flash Lite Preview 09-2025google1.0M
26Google: Gemini 2.5 Progoogle1.0M
27Google: Gemini 2.5 Pro Preview 05-06google1.0M
28Google: Gemini 2.5 Pro Preview 06-05google1.0M
29Google: Gemini 3 Flash Previewgoogle1.0M
30Google: Gemini 3.1 Flash Lite Previewgoogle1.0M
31Google: Lyria 3 Clip Previewgoogle1.0M
32Google: Lyria 3 Pro Previewgoogle1.0M
33Meta: Llama 4 Maverickmeta-llama1.0M
34Qwen: Qwen3 Coder 480B A35Bqwen1.0M
35Qwen: Qwen3 Coder 480B A35B (free)qwen1.0M
36OpenAI: GPT-4.1openai1.0M
37OpenAI: GPT-4.1 Miniopenai1.0M
38OpenAI: GPT-4.1 Nanoopenai1.0M
39Writer: Palmyra X5writer1.0M
40MiniMax: MiniMax-01minimax1.0M
41Anthropic: Claude Opus 4.8anthropic1M
42Qwen: Qwen3.7 Maxqwen1M
43xAI: Grok 4.3x-ai1M
44Qwen: Qwen3.7 Plusqwen1M
45NVIDIA: Nemotron 3 Ultranvidia1M
46Amazon: Nova 2 Liteamazon1M
47Amazon: Nova Premier 1.0amazon1M
48Anthropic Claude Sonnet Latest~anthropic1M
49Anthropic: Claude Opus 4.6anthropic1M
50Anthropic: Claude Opus 4.6 (Fast)anthropic1M
51Anthropic: Claude Opus 4.7anthropic1M
52Anthropic: Claude Opus 4.7 (Fast)anthropic1M
53Anthropic: Claude Opus 4.8 (Fast)anthropic1M
54Anthropic: Claude Opus Latest~anthropic1M
55Anthropic: Claude Sonnet 4anthropic1M
56Anthropic: Claude Sonnet 4.5anthropic1M
57Anthropic: Claude Sonnet 4.6anthropic1M
58MiniMax: MiniMax M1minimax1M
59NVIDIA: Nemotron 3 Supernvidia1M
60NVIDIA: Nemotron 3 Super (free)nvidia1M
61NVIDIA: Nemotron 3 Ultra (free)nvidia1M
62Qwen: Qwen Plus 0728qwen1M
63Qwen: Qwen Plus 0728 (thinking)qwen1M
64Qwen: Qwen-Plusqwen1M
65Qwen: Qwen3 Coder Flashqwen1M
66Qwen: Qwen3 Coder Plusqwen1M
67Qwen: Qwen3.5 Plus 2026-02-15qwen1M
68Qwen: Qwen3.5 Plus 2026-04-20qwen1M
69Qwen: Qwen3.5-Flashqwen1M
70Qwen: Qwen3.6 Flashqwen1M
71Qwen: Qwen3.6 Plusqwen1M
72OpenAI GPT Mini Latest~openai400K
73OpenAI: GPT Chat Latestopenai400K
74OpenAI: GPT-5openai400K
75OpenAI: GPT-5 Codexopenai400K
76OpenAI: GPT-5 Imageopenai400K
77OpenAI: GPT-5 Image Miniopenai400K
78OpenAI: GPT-5 Miniopenai400K
79OpenAI: GPT-5 Nanoopenai400K
80OpenAI: GPT-5 Proopenai400K
81OpenAI: GPT-5.1openai400K
82OpenAI: GPT-5.1-Codexopenai400K
83OpenAI: GPT-5.1-Codex-Maxopenai400K
84OpenAI: GPT-5.1-Codex-Miniopenai400K
85OpenAI: GPT-5.2openai400K
86OpenAI: GPT-5.2 Proopenai400K
87OpenAI: GPT-5.2-Codexopenai400K
88OpenAI: GPT-5.3-Codexopenai400K
89OpenAI: GPT-5.4 Miniopenai400K
90OpenAI: GPT-5.4 Nanoopenai400K
91Amazon: Nova Lite 1.0amazon300K
92Amazon: Nova Pro 1.0amazon300K
93OpenAI: GPT-5.4 Image 2openai272K
94inclusionAI: Ring-2.6-1Tinclusionai262K
95MoonshotAI: Kimi K2.6moonshotai262K
96Tencent: Hy3 previewtencent262K
97Arcee AI: Trinity Large Thinkingarcee-ai262K
98ByteDance Seed: Seed 1.6bytedance-seed262K
99ByteDance Seed: Seed 1.6 Flashbytedance-seed262K
100ByteDance Seed: Seed-2.0-Litebytedance-seed262K
101ByteDance Seed: Seed-2.0-Minibytedance-seed262K
102Google: Gemma 4 26B A4B google262K
103Google: Gemma 4 26B A4B (free)google262K
104Google: Gemma 4 31Bgoogle262K
105Google: Gemma 4 31B (free)google262K
106inclusionAI: Ling-2.6-1Tinclusionai262K
107inclusionAI: Ling-2.6-flashinclusionai262K
108Mistral: Devstral 2 2512mistralai262K
109Mistral: Ministral 3 14B 2512mistralai262K
110Mistral: Ministral 3 8B 2512mistralai262K
111Mistral: Mistral Large 3 2512mistralai262K
112Mistral: Mistral Medium 3.5mistralai262K
113Mistral: Mistral Small 4mistralai262K
114MoonshotAI Kimi Latest~moonshotai262K
115MoonshotAI: Kimi K2 0905moonshotai262K
116MoonshotAI: Kimi K2 Thinkingmoonshotai262K
117MoonshotAI: Kimi K2.5moonshotai262K
118MoonshotAI: Kimi K2.6 (free)moonshotai262K
119Morph: Morph V3 Largemorph262K
120NVIDIA: Nemotron 3 Nano 30B A3Bnvidia262K
121Poolside: Laguna M.1 (free)poolside262K
122Poolside: Laguna XS.2 (free)poolside262K
123Qwen: Qwen3 235B A22B Instruct 2507qwen262K
124Qwen: Qwen3 235B A22B Thinking 2507qwen262K
125Qwen: Qwen3 Coder Nextqwen262K
126Qwen: Qwen3 Maxqwen262K
127Qwen: Qwen3 Max Thinkingqwen262K
128Qwen: Qwen3 Next 80B A3B Instructqwen262K
129Qwen: Qwen3 Next 80B A3B Instruct (free)qwen262K
130Qwen: Qwen3 Next 80B A3B Thinkingqwen262K
131Qwen: Qwen3 VL 235B A22B Instructqwen262K
132Qwen: Qwen3 VL 30B A3B Instructqwen262K
133Qwen: Qwen3 VL 32B Instructqwen262K
134Qwen: Qwen3.5 397B A17Bqwen262K
135Qwen: Qwen3.5-122B-A10Bqwen262K
136Qwen: Qwen3.5-27Bqwen262K
137Qwen: Qwen3.5-35B-A3Bqwen262K
138Qwen: Qwen3.5-9Bqwen262K
139Qwen: Qwen3.6 27Bqwen262K
140Qwen: Qwen3.6 35B A3Bqwen262K
141Qwen: Qwen3.6 Max Previewqwen262K
142StepFun: Step 3.5 Flashstepfun262K
143Xiaomi: MiMo-V2-Flashxiaomi262K
144StepFun: Step 3.7 Flashstepfun256K
145AI21: Jamba Large 1.7ai21256K
146Cohere: Command Acohere256K
147Kwaipilot: KAT-Coder-Pro V2kwaipilot256K
148Mistral: Codestral 2508mistralai256K
149NVIDIA: Nemotron 3 Nano 30B A3B (free)nvidia256K
150NVIDIA: Nemotron 3 Nano Omni (free)nvidia256K
151Qwen: Qwen3 VL 8B Instructqwen256K
152Qwen: Qwen3 VL 8B Thinkingqwen256K
153Relace: Relace Apply 3relace256K
154Relace: Relace Searchrelace256K
155xAI: Grok Build 0.1x-ai256K
156MiniMax: MiniMax M2minimax205K
157MiniMax: MiniMax M2.1minimax205K
158MiniMax: MiniMax M2.5minimax205K
159MiniMax: MiniMax M2.7minimax205K
160Z.ai: GLM 5.1z-ai203K
161Z.ai: GLM 4.6z-ai203K
162Z.ai: GLM 4.7z-ai203K
163Z.ai: GLM 4.7 Flashz-ai203K
164Z.ai: GLM 5z-ai203K
165Z.ai: GLM 5 Turboz-ai203K
166Z.ai: GLM 5V Turboz-ai203K
167Anthropic Claude Haiku Latest~anthropic200K
168Anthropic: Claude 3 Haikuanthropic200K
169Anthropic: Claude 3.5 Haikuanthropic200K
170Anthropic: Claude Haiku 4.5anthropic200K
171Anthropic: Claude Opus 4anthropic200K
172Anthropic: Claude Opus 4.1anthropic200K
173Anthropic: Claude Opus 4.5anthropic200K
174Free Models Routeropenrouter200K
175OpenAI: o1openai200K
176OpenAI: o1-proopenai200K
177OpenAI: o3openai200K
178OpenAI: o3 Deep Researchopenai200K
179OpenAI: o3 Miniopenai200K
180OpenAI: o3 Mini Highopenai200K
181OpenAI: o3 Proopenai200K
182OpenAI: o4 Miniopenai200K
183OpenAI: o4 Mini Deep Researchopenai200K
184OpenAI: o4 Mini Highopenai200K
185Perplexity: Sonar Properplexity200K
186Perplexity: Sonar Pro Searchperplexity200K
187DeepSeek: DeepSeek V3 0324deepseek164K
188DeepSeek: DeepSeek V3.1deepseek164K
189DeepSeek: DeepSeek V3.1 Terminusdeepseek164K
190DeepSeek: DeepSeek V3.2 Expdeepseek164K
191DeepSeek: R1deepseek164K
192DeepSeek: R1 0528deepseek164K
193Meta: Llama Guard 4 12Bmeta-llama164K
194Qwen: Qwen3 Coder 30B A3B Instructqwen160K
195Qwen: Qwen3 14Bqwen132K
196AionLabs: Aion-1.0aion-labs131K
197AionLabs: Aion-1.0-Miniaion-labs131K
198AionLabs: Aion-2.0aion-labs131K
199Arcee AI: Maestro Reasoningarcee-ai131K
200Arcee AI: Trinity Miniarcee-ai131K
201Arcee AI: Virtuoso Largearcee-ai131K
202Baidu: ERNIE 4.5 VL 424B A47B baidu131K
203DeepSeek: DeepSeek V3deepseek131K
204DeepSeek: DeepSeek V3.2deepseek131K
205DeepSeek: R1 Distill Llama 70Bdeepseek131K
206Google: Gemma 3 12Bgoogle131K
207Google: Gemma 3 27Bgoogle131K
208Google: Gemma 3 4Bgoogle131K
209Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)google131K
210IBM: Granite 4.1 8Bibm-granite131K
211Llama Guard 3 8Bmeta-llama131K
212Meta: Llama 3.1 70B Instructmeta-llama131K
213Meta: Llama 3.1 8B Instructmeta-llama131K
214Meta: Llama 3.2 11B Vision Instructmeta-llama131K
215Meta: Llama 3.2 1B Instructmeta-llama131K
216Meta: Llama 3.2 3B Instructmeta-llama131K
217Meta: Llama 3.2 3B Instruct (free)meta-llama131K
218Meta: Llama 3.3 70B Instructmeta-llama131K
219Meta: Llama 3.3 70B Instruct (free)meta-llama131K
220Microsoft: Phi 4 Mini Instructmicrosoft131K
221Mistral Large 2407mistralai131K
222Mistral: Ministral 3 3B 2512mistralai131K
223Mistral: Mistral Medium 3mistralai131K
224Mistral: Mistral Medium 3.1mistralai131K
225Mistral: Mistral Nemomistralai131K
226MoonshotAI: Kimi K2 0711moonshotai131K
227Nex AGI: DeepSeek V3.1 Nex N1nex-agi131K
228Nous: Hermes 3 405B Instructnousresearch131K
229Nous: Hermes 3 405B Instruct (free)nousresearch131K
230Nous: Hermes 3 70B Instructnousresearch131K
231Nous: Hermes 4 405Bnousresearch131K
232Nous: Hermes 4 70Bnousresearch131K
233NVIDIA: Llama 3.3 Nemotron Super 49B V1.5nvidia131K
234NVIDIA: Nemotron Nano 9B V2nvidia131K
235OpenAI: gpt-oss-120bopenai131K
236OpenAI: gpt-oss-120b (free)openai131K
237OpenAI: gpt-oss-20bopenai131K
238OpenAI: gpt-oss-20b (free)openai131K
239OpenAI: gpt-oss-safeguard-20bopenai131K
240Prime Intellect: INTELLECT-3prime-intellect131K
241Qwen: Qwen2.5 7B Instructqwen131K
242Qwen: Qwen2.5 VL 72B Instructqwen131K
243Qwen: Qwen3 235B A22Bqwen131K
244Qwen: Qwen3 30B A3Bqwen131K
245Qwen: Qwen3 30B A3B Instruct 2507qwen131K
246Qwen: Qwen3 30B A3B Thinking 2507qwen131K
247Qwen: Qwen3 32Bqwen131K
248Qwen: Qwen3 8Bqwen131K
249Qwen: Qwen3 VL 235B A22B Thinkingqwen131K
250Qwen: Qwen3 VL 30B A3B Thinkingqwen131K
251Qwen2.5 72B Instructqwen131K
252Sao10K: Llama 3.1 Euryale 70B v2.2sao10k131K
253Sao10K: Llama 3.3 Euryale 70Bsao10k131K
254Switchpoint Routerswitchpoint131K
255Tencent: Hunyuan A13B Instructtencent131K
256TheDrummer: Cydonia 24B V4.1thedrummer131K
257Z.ai: GLM 4.5z-ai131K
258Z.ai: GLM 4.5 Airz-ai131K
259Z.ai: GLM 4.5 Air (free)z-ai131K
260Z.ai: GLM 4.6Vz-ai131K
261IBM: Granite 4.0 Microibm-granite131K
262Amazon: Nova Micro 1.0amazon128K
263Body Builder (beta)openrouter128K
264ByteDance: UI-TARS 7B bytedance128K
265Cohere: Command R (08-2024)cohere128K
266Cohere: Command R+ (08-2024)cohere128K
267Cohere: Command R7B (12-2024)cohere128K
268Deep Cogito: Cogito v2.1 671Bdeepcogito128K
269DeepSeek: R1 Distill Qwen 32Bdeepseek128K
270Inception: Mercury 2inception128K
271LiquidAI: LFM2-24B-A2Bliquid128K
272Mistral Largemistralai128K
273Mistral: Mistral Small 3.1 24Bmistralai128K
274Mistral: Mistral Small 3.2 24Bmistralai128K
275NVIDIA: Nemotron 3.5 Content Safety (free)nvidia128K
276NVIDIA: Nemotron Nano 12B 2 VL (free)nvidia128K
277NVIDIA: Nemotron Nano 9B V2 (free)nvidia128K
278OpenAI: GPT Audioopenai128K
279OpenAI: GPT Audio Miniopenai128K
280OpenAI: GPT-4 Turboopenai128K
281OpenAI: GPT-4 Turbo Previewopenai128K
282OpenAI: GPT-4oopenai128K
283OpenAI: GPT-4o (2024-05-13)openai128K
284OpenAI: GPT-4o (2024-08-06)openai128K
285OpenAI: GPT-4o (2024-11-20)openai128K
286OpenAI: GPT-4o Search Previewopenai128K
287OpenAI: GPT-4o-miniopenai128K
288OpenAI: GPT-4o-mini (2024-07-18)openai128K
289OpenAI: GPT-4o-mini Search Previewopenai128K
290OpenAI: GPT-5 Chatopenai128K
291OpenAI: GPT-5.1 Chatopenai128K
292OpenAI: GPT-5.2 Chatopenai128K
293OpenAI: GPT-5.3 Chatopenai128K
294OpenRouter: Fusionopenrouter128K
295Perplexity: Sonar Deep Researchperplexity128K
296Perplexity: Sonar Reasoning Properplexity128K
297Qwen2.5 Coder 32B Instructqwen128K
298Upstage: Solar Pro 3upstage128K
299Z.ai: GLM 4 32B z-ai128K
300Perplexity: Sonarperplexity127K
301Morph: Morph V3 Fastmorph82K
302AllenAI: Olmo 3 32B Thinkallenai66K
303Google: Nano Banana Pro (Gemini 3 Pro Image Preview)google66K
304MiniMax: MiniMax M2-herminimax66K
305Mistral: Mixtral 8x22B Instructmistralai66K
306Reka Flash 3rekaai66K
307WizardLM-2 8x22Bmicrosoft66K
308Z.ai: GLM 4.5Vz-ai66K
309Perceptron: Perceptron Mk1perceptron33K
310AionLabs: Aion-RP 1.0 (8B)aion-labs33K
311Arcee AI: Coder Largearcee-ai33K
312EssentialAI: Rnj 1 Instructessentialai33K
313Google: Gemma 3n 4Bgoogle33K
314Google: Nano Banana (Gemini 2.5 Flash Image)google33K
315LiquidAI: LFM2.5-1.2B-Instruct (free)liquid33K
316LiquidAI: LFM2.5-1.2B-Thinking (free)liquid33K
317Magnum v4 72Banthracite-org33K
318Mistral: Mistral Small 3mistralai33K
319Mistral: Sabamistralai33K
320TheDrummer: Rocinante 12Bthedrummer33K
321TheDrummer: Skyfall 36B V2thedrummer33K
322TheDrummer: UnslopNemo 12Bthedrummer33K
323Venice: Uncensored (free)cognitivecomputations33K
324Mistral: Voxtral Small 24B 2507mistralai32K
325OpenAI: GPT-3.5 Turboopenai16K
326OpenAI: GPT-3.5 Turbo 16kopenai16K
327Microsoft: Phi 4microsoft16K
328Reka Edgerekaai16K
329Sao10K: Llama 3.1 70B Hanami x1sao10k16K
330Google: Gemma 2 27Bgoogle8K
331Meta: Llama 3 70B Instructmeta-llama8K
332Meta: Llama 3 8B Instructmeta-llama8K
333Sao10K: Llama 3 8B Lunarissao10k8K
334OpenAI: GPT-4openai8K
335Inflection: Inflection 3 Piinflection8K
336Inflection: Inflection 3 Productivityinflection8K
337Mancer: Weaver (alpha)mancer8K
338ReMM SLERP 13Bundi956K
339MythoMax 13Bgryphe4K
340OpenAI: GPT-3.5 Turbo (older v0613)openai4K
341OpenAI: GPT-3.5 Turbo Instructopenai4K

← All rankingsMethodology & 𝕍 →