LLM Context Window & Capacity Benchmarks

Context window benchmarks test the absolute payload threshold of large language models. Llama 4 Scout holds the highest context capacity at 10,000,000 tokens (~7.5M words), followed by Gemini 3.5 Flash and Claude Sonnet 4.6 at 1,048,576 tokens (~780K words), while GPT-4o sits at 128,000 tokens (~96K words).

Logical Context Capacity Rankings

Comparison of maximum document capacities (books, pages, codebases) mapped to absolute token context windows.

Model NameTokenizer ProviderContext Window (Tokens)Max Output WindowEquivalent Page CapacityDetailed Guide
Llama 4 Scout (17B)huggingface10,000,0008,192 tokens~15,000 pagesView details →
GPT-5.5openai1,050,000128,000 tokens~1,575 pagesView details →
GPT-5.5 Proopenai1,050,000128,000 tokens~1,575 pagesView details →
Gemini 3.5 Flashgemini1,048,57665,536 tokens~1,573 pagesView details →
Gemini 3.1 Progemini1,048,57665,536 tokens~1,573 pagesView details →
Gemini 3 Flashgemini1,048,57665,536 tokens~1,573 pagesView details →
Gemini 3.1 Flash-Litegemini1,048,57665,536 tokens~1,573 pagesView details →
Gemini 2.5 Progemini1,048,57665,536 tokens~1,573 pagesView details →
Gemini 2.5 Flashgemini1,048,57665,535 tokens~1,573 pagesView details →
Gemini 2.5 Flash-Litegemini1,048,5768,192 tokens~1,573 pagesView details →
Claude Opus 4.8anthropic1,000,000128,000 tokens~1,500 pagesView details →
Claude Fable 5anthropic1,000,000128,000 tokens~1,500 pagesView details →
Claude Opus 4.7anthropic1,000,000128,000 tokens~1,500 pagesView details →
Claude Opus 4.6anthropic1,000,000128,000 tokens~1,500 pagesView details →
Claude Sonnet 4.6anthropic1,000,00064,000 tokens~1,500 pagesView details →
Llama 4 Maverick (17B)huggingface1,000,0008,192 tokens~1,500 pagesView details →
DeepSeek V4 Flashhuggingface1,000,0008,192 tokens~1,500 pagesView details →
DeepSeek V4 Prohuggingface1,000,000384,000 tokens~1,500 pagesView details →
GPT-5.4 miniopenai400,000128,000 tokens~600 pagesView details →
GPT-5.4 nanoopenai272,000128,000 tokens~408 pagesView details →
Qwen 3.5 9Bhuggingface262,1444,096 tokens~393 pagesView details →
Qwen 3.6 27Bhuggingface262,14465,536 tokens~393 pagesView details →
Mistral Small 4 (119B)huggingface256,0008,192 tokens~384 pagesView details →
Kimi K2.6huggingface256,0008,192 tokens~384 pagesView details →
Gemma 4 26B A4Bhuggingface256,0008,192 tokens~384 pagesView details →
Gemma 4 31Bhuggingface256,000262,000 tokens~384 pagesView details →
o3openai200,000100,000 tokens~300 pagesView details →
o4-miniopenai200,000100,000 tokens~300 pagesView details →
Claude Opus 4.5anthropic200,0008,000 tokens~300 pagesView details →
Claude Sonnet 4.5anthropic200,00064,000 tokens~300 pagesView details →
Claude Haiku 4.5anthropic200,00064,000 tokens~300 pagesView details →
GPT-4oopenai128,00016,384 tokens~192 pagesView details →
GPT-4o miniopenai128,00016,384 tokens~192 pagesView details →
Gemma 4 E4Bhuggingface128,0004,096 tokens~192 pagesView details →
GPT-3.5 Turboopenai16,3854,096 tokens~25 pagesView details →
GPT-4openai8,1924,096 tokens~12 pagesView details →