Long-context leaderboard
LLMs with the largest context windows
Ranked by maximum input tokens the model accepts in a single call. Larger windows unlock whole-codebase analysis, long-document summarization and multi-hour transcripts — though effective recall often lags the advertised window.
Category leader
Z.ai: GLM 5.3 Flash.
GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...
Ranking
N=58| # | Model | Provider | Context | Ctx | Released |
|---|---|---|---|---|---|
| 01 | Z.ai: GLM 5.3 Flash | Z.ai | 1.3M | 1.3M | 2026-08-26 |
| 02 | OpenAI: GPT-6 Astra Pro | OpenAI | 1.1M | 1.1M | 2026-09-04 |
| 03 | OpenAI: GPT-6.1 Sol Pro | OpenAI | 1.1M | 1.1M | 2026-09-29 |
| 04 | OpenAI: GPT-6 Sol Pro | OpenAI | 1.1M | 1.1M | 2026-09-22 |
| 05 | OpenAI: GPT-6 Luna | OpenAI | 1.1M | 1.1M | 2026-09-22 |
| 06 | OpenAI: GPT-6 Luna Pro | OpenAI | 1.1M | 1.1M | 2026-09-22 |
| 07 | OpenAI: GPT-5.4 Pro | OpenAI | 1.1M | 1.1M | 2026-03-05 |
| 08 | OpenAI: GPT-5.5 Pro | OpenAI | 1.1M | 1.1M | 2026-04-24 |
| 09 | OpenAI: GPT-5.6 Luna | OpenAI | 1.1M | 1.1M | 2026-07-09 |
| 10 | Google: Gemini 4 Argon | 1.0M | 1.0M | 2026-10-13 | |
| 11 | Meta: Muse Wonder | Meta | 1.0M | 1.0M | 2026-10-12 |
| 12 | MoonshotAI: Kimi K3 | Moonshot | 1.0M | 1.0M | 2026-07-16 |
| 13 | Z.ai: GLM 5.3 | Z.ai | 1.0M | 1.0M | 2026-08-18 |
| 14 | DeepSeek: DeepSeek V4 Pro 0813 | DeepSeek | 1.0M | 1.0M | 2026-08-12 |
| 15 | Mistral: Mistral Large 4 | Mistral | 1.0M | 1.0M | 2026-10-06 |
| 16 | Tencent: Hy4 preview | Tencent | 1.0M | 1.0M | 2026-08-28 |
| 17 | Meta: Muse Spark Open | Meta | 1.0M | 1.0M | 2026-10-15 |
| 18 | Google: Gemini 3.5 Flash | 1.0M | 1.0M | 2026-05-19 | |
| 19 | DeepSeek: DeepSeek V4 Flash 0731 | DeepSeek | 1.0M | 1.0M | 2026-07-31 |
| 20 | DeepSeek: DeepSeek V4 Pro 0423 | DeepSeek | 1.0M | 1.0M | 2026-04-24 |
| 21 | Z.ai: GLM 5.2 | Z.ai | 1.0M | 1.0M | 2026-06-16 |
| 22 | Meta: Muse Spark 1.2 Contributor | Meta | 1.0M | 1.0M | 2026-08-21 |
| 23 | Google: Gemini 3.6 Flash | 1.0M | 1.0M | 2026-07-21 | |
| 24 | Anthropic: Claude Fable 5.1 | Anthropic | 1.0M | 1.0M | 2026-09-01 |
| 25 | Qwen: Qwen3.8 Max Prime | Alibaba | 1.0M | 1.0M | 2026-09-23 |
| 26 | Sakana: Fugu Ultra v2 | Sakana | 1.0M | 1.0M | 2026-09-11 |
| 27 | Anthropic: Claude Opus 5.5 | Anthropic | 1.0M | 1.0M | 2026-09-22 |
| 28 | Qwen: Qwen3.8 Max (0902) | Alibaba | 1.0M | 1.0M | 2026-09-03 |
| 29 | Z.ai: GLM 5.3 Prime | Z.ai | 1.0M | 1.0M | 2026-09-23 |
| 30 | Sakana: Fugu Max | Sakana | 1.0M | 1.0M | 2026-09-11 |
| 31 | Anthropic: Claude Opus 5 | Anthropic | 1.0M | 1.0M | 2026-07-24 |
| 32 | Qwen: Qwen3.5 Plus 2026-04-20 | Alibaba | 1.0M | 1.0M | 2026-04-27 |
| 33 | SpaceXAI: Grok 4.3 | xAI | 1.0M | 1.0M | 2026-04-30 |
| 34 | Sakana: Fugu Ultra | Sakana | 1.0M | 1.0M | 2026-06-24 |
| 35 | Anthropic: Claude Opus 4.7 (Fast) | Anthropic | 1.0M | 1.0M | 2026-05-12 |
| 36 | Anthropic: Claude Opus 4.8 (Fast) | Anthropic | 1.0M | 1.0M | 2026-05-27 |
| 37 | Qwen: Qwen3.8 27B | Alibaba | 1.0M | 1.0M | 2026-08-14 |
| 38 | Thinking Machines: Inkling | Thinking Machines | 524K | 524K | 2026-07-17 |
| 39 | SpaceXAI: Grok 4.7 | xAI | 500K | 500K | 2026-09-21 |
| 40 | Claude 4.5 Opus | Anthropic | 500K | 500K | 2026-05-19 |
| 41 | SpaceXAI: Grok 4.6 | xAI | 500K | 500K | 2026-08-12 |
| 42 | OpenAI: GPT-5.3-Codex | OpenAI | 400K | 400K | 2026-02-24 |
| 43 | GPT-5.6 Terra | OpenAI | 400K | 400K | 2026-07-08 |
| 44 | NVIDIA: Nemotron 3 Ultra | NVIDIA | 262K | 262K | 2026-06-04 |
| 45 | Mistral: Mistral Large 3 2512 | Mistral | 262K | 262K | 2025-12-01 |
| 46 | Qwen: Qwen3 Max Thinking | Alibaba | 262K | 262K | 2026-02-09 |
| 47 | Qwen 3 Max | Alibaba | 262K | 262K | 2026-06-15 |
| 48 | Qwen: Qwen3.5 397B A17B | Alibaba | 262K | 262K | 2026-02-16 |
| 49 | Grok 4 | xAI | 256K | 256K | 2026-06-11 |
| 50 | SpaceXAI: Grok Build 0.1 | xAI | 256K | 256K | 2026-05-20 |
| 51 | Mistral Large 3 | Mistral | 256K | 256K | 2026-05-08 |
| 52 | Cohere: Command A+ | Cohere | 192K | 192K | 2026-09-22 |
| 53 | Meta: Muse Glimmer 30B | Meta | 131K | 131K | 2026-08-09 |
| 54 | Google: Nano Banana 2 (Gemini 3.1 Flash Image) | 131K | 131K | 2026-06-18 | |
| 55 | Llama 4 405B | Meta | 128K | 128K | 2026-04-30 |
| 56 | DeepSeek V4 | DeepSeek | 128K | 128K | 2026-06-02 |
| 57 | Google: Nano Banana Pro (Gemini 3 Pro Image) | 66K | 66K | 2026-06-18 | |
| 58 | Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) | 66K | 66K | 2026-06-30 |
Advertised context is not usable context
A context window is a ceiling, not a promise. Every model degrades before it reaches its advertised limit, and the shape of that degradation matters more than the headline number. The well-documented pattern is that material at the very start and very end of a long prompt is recalled reliably while material in the middle is often missed — the lost-in-the-middle effect — which means a million-token window does not mean a million tokens of dependable attention.
Retrieval benchmarks flatter models here. Finding one planted sentence in a long document is far easier than reasoning across twelve facts scattered through it, and most published long-context results measure the former. If your task needs synthesis across a whole corpus rather than lookup within it, expect real performance well below the advertised capability.
Long prompts are also expensive and slow. Input tokens are billed on every call, so a large stable prefix multiplies cost across a conversation unless the provider caches it, and time to first token grows with prompt length. A retrieval step that sends four relevant pages instead of four hundred is usually faster, cheaper and more accurate than relying on the window.
Where large windows genuinely earn their place: whole-repository code understanding, long legal or financial documents that resist clean chunking, multi-hour transcripts, and agent loops that accumulate long tool-call histories. In those cases the window removes an entire class of chunking bugs, and that is worth paying for.
Practical rule — use retrieval by default, use the long window when chunking would destroy the structure you need, and always test recall on your own documents at the length you actually intend to use, not at the length the specification allows.
More on how these numbers are produced in the methodology and what each evaluation measures in the benchmark guide. Spotted a score that disagrees with its source? Tell us.
Frequently asked
- Which LLM has the largest context window?
- The current leader is at the top of this table. Context windows range from 128K to 2M+ tokens across frontier models; larger windows unlock whole-codebase and full-document workflows.
- Is bigger context always better?
- Not necessarily. Recall quality often degrades past ~200K tokens even when the window advertises 1M+. Use benchmarks like Needle-in-a-Haystack to verify effective context, not just declared window size.