Skip to content
Level up your prompts with SurePrompts — curated prompts for every workflow.
agentscamp

LLM Context Windows Compared (2026)

Context windows and max output tokens across Claude, GPT, Gemini, DeepSeek, and Grok — the million-token era, what it costs, and what fits in practice.

By Imtiaz RayhanUpdated 3 min read

On this page
  1. The table
  2. What the table doesn't say

The 2026 frontier is a million tokens: Claude Fable 5, Opus 5, Sonnet 5 (1M, flat pricing), GPT-5.6/5.5/5.4 (~1M, 2x input above 272K), Gemini (~1M), DeepSeek V4 (1M), Grok 4.3 (1M; Grok 4.6 is 500K). Budget tiers trail: Haiku 4.5 200K, GPT-5.4 mini/nano 400K. Max output 64K–384K. Capacity is rarely the constraint — cost, latency, and attention are.

Key takeaways

  • A million tokens is the 2026 frontier baseline — roughly 750k words, several large codebases — across Anthropic, OpenAI, Google, and DeepSeek flagships (xAI's Grok 4.3 too; its newer Grok 4.6 is 500K).
  • Pricing models differ: Anthropic includes 1M at flat per-token rates; OpenAI bills GPT-5.x prompts above 272K input at 2x in / 1.5x out; Google roughly doubles Pro pricing beyond 200K; xAI bills Grok prompts of 200K+ at 2x. Same capacity, different bill shapes.
  • Max output is the forgotten limit: 64K–128K typical (DeepSeek claims up to 384K) — long generation, not long reading, is where jobs still hit walls.
  • Rules of thumb: ~4 characters or ~0.75 English words per token; a 500-page book ≈ 150–200K tokens; a mid-size codebase ≈ 1–5M tokens — still bigger than any window.
  • Fitting ≠ using well: cost scales with tokens sent, latency with prefill, and mid-window attention measurably lags — retrieval and context discipline outlive every window increase.

Specs verified against vendor docs on September 1, 2026 (same methodology as the pricing table: vendor pages only, unverifiable cells omitted). The headline: the million-token window became the frontier baseline — and stopped being the interesting number.

The table

ModelContext windowMax outputLong-context pricing
Claude Fable 51M128KStandard rates across full window
Claude Opus 5 (and legacy Opus 4.8)1M128KStandard rates across full window
Claude Sonnet 51M128KStandard rates across full window
Claude Haiku 4.5200K64K
GPT-5.6 Sol / Terra / Luna~1.05M128K2x input / 1.5x output above 272K input
GPT-5.5~1.05M128K2x input / 1.5x output above 272K input
GPT-5.5-pro~1.05M128K2x input / 1.5x output above 272K input (premium model)
GPT-5.4~1.05M128K2x input / 1.5x output above 272K input
GPT-5.4-mini / nano400K128KStandard
Gemini 3.1 Pro Preview~1.05M65K~2x per-token beyond 200K
Gemini 3.7 / 3.6 / 3.5 Flash, 3.5 Flash-Lite~1.05M65KFlat
DeepSeek V4 (Flash/Pro)1M384KFlat across window (peak/off-peak schedule; cache pricing separate)
Grok 4.6500K— (no stated limit)2x per-token at ≥200K prompts
Grok 4.31M2x per-token at ≥200K prompts

Token rules of thumb for reading it: ~4 characters ≈ 1 token; ~0.75 English words per token; a dense 500-page book ≈ 150–200K tokens; codebases run ~5–10 tokens per line.

What the table doesn't say

Capacity stopped being the constraint; three other things took its place. Cost: you pay per token sent — a full 1M-token prompt is real money on every call, softened by prompt caching only for stable prefixes (and note the pricing-shape difference: Anthropic's flat-rate window vs OpenAI's >272K and Google's and xAI's >200K tiering). Latency: prefill scales with input; whole-corpus prompts mean multi-second time-to-first-token. Attention: needle-in-haystack benchmarks are near-perfect, but synthesis across a packed window still measurably favors the start and end — a curated 10K context beats a noisy 1M one containing the same answer, which is the entire thesis of context engineering.

Max output is the sleeper limit. Reading got huge; writing didn't keep pace — 64–128K output caps mean "translate this book" or "generate the full report" still needs chunked generation, and reasoning thinking-tokens spend from the same output budget.

The practical playbook follows directly: use big windows to retrieve generously rather than to skip retrieval (RAG vs Long Context draws the line), cache the stable prefix, and treat window size as budget ceiling — not target. Agents operationalize the same idea with compaction and memory: the window is working memory, files are the disk.

Frequently asked questions

Which LLM has the biggest context window in 2026?
The frontier clusters at 1M tokens — Claude's Fable 5/Opus 5/Sonnet 5, GPT-5.6/5.5/5.4, Gemini's current lineup, DeepSeek V4, and Grok 4.3 all claim it (xAI's newer Grok 4.6 steps back to 500K). Differentiation moved from headline size to quality-at-depth (how well the model uses token 800,000) and to pricing shape across the window.
How much fits in a million tokens?
About 750,000 English words: several long novels, a year of meeting notes, or a substantial codebase (rule of thumb: ~1M tokens covers roughly 100k–200k lines of code with comments). What typically doesn't fit: enterprise document corpora and monorepos — which is why retrieval still exists.
Does a bigger window replace RAG?
It moved the threshold, not the conclusion. Under a few hundred pages of stable content, stuffing (plus prompt caching) beats building a pipeline. At corpus scale, four walls remain — per-query cost, prefill latency, mid-window attention degradation, and access control — covered honestly in our RAG vs Long Context guide.

Filed under

context-window · models · comparison · data

Related