Contact, if you are interested in this website / domain name / sponsorship / advertisement / partnership

Best LLMs for long documents

Models with a context window of at least 1 million tokens, or that their providers position for long-document work.

31 modelsData checked October 10, 2026

A 1M-token window holds roughly 750,000 words: a stack of contracts, several long books or a mid-size codebase in a single request. That makes whole-document analysis possible without building a retrieval pipeline first.

A big window isn't free. You pay for every input token on every call, many providers charge higher rates once a prompt passes a threshold, and accuracy on details buried in the middle of a long prompt varies by model. If you only need a few passages, retrieval (RAG) is usually cheaper and more precise.

The shortlist

ModelTierWeightsContextInput / 1MOutput / 1MInputs
DeepSeek-V4-ProDeepSeekFrontierOpen weights1M$1.32$3.96Text
GLM-5.3Z.ai (Zhipu AI)FrontierOpen weights1M$1.40$4.40Text
Qwen3.8-MaxAlibaba (Qwen)FrontierClosed1M$2$6Text, Images
Kimi K3Moonshot AIFrontierOpen weights1M$3$15Text, Images, Video
Claude Opus 5.5AnthropicFrontierClosed1M$4$20Text, Images, PDF
Claude Fable 5.1AnthropicFrontierClosed1M$10$50Text, Images, PDF
GPT-6 AstraOpenAIFrontierClosed1.05M$10$50Text, Images
DeepSeek-V4.1-FlashDeepSeekAdvancedOpen weights1M$0.30$1.20Text, Images
MiniMax-M3MiniMaxAdvancedOpen weights1M$0.30$1.20Text, Images, Video
Mistral Large 3Mistral AIAdvancedOpen weights256K$0.50$1.50Text, Images
NVIDIA Nemotron 3 UltraNVIDIAAdvancedOpen weights1M$0.50$2.20Text
Gemini 3.8 FlashGoogleAdvancedClosed1M$0.75$3.75Text, Images, Video, Audio, PDF
Gemini 3.6 FlashGoogleAdvancedClosed1M$0.75$3.75Text, Images, Video, Audio, PDF
Claude Sonnet 5.5AnthropicAdvancedClosed1M$2$10Text, Images, PDF
GPT-6.1 SolOpenAIAdvancedClosed1.05M$2$10Text, Images
Claude Haiku 5.5AnthropicEfficientClosed1M$0.10$0.50Text, Images, PDF
GPT-6 LunaOpenAIEfficientClosed1.05M$0.10$0.50Text, Images
GLM-5.3-FlashZ.ai (Zhipu AI)EfficientOpen weights1M$0.15$0.50Text, Images, Video
Gemini 3.1 Flash-LiteGoogleEfficientClosed1M$0.25$1.50Text, Images, Video, Audio, PDF
Gemini 3.5 Flash-LiteGoogleEfficientClosed1M$0.30$2.50Text, Images, Video, Audio, PDF
Grok 4.3xAIEfficientClosed1M$1.25$2.50Text, Images
Amazon Nova 2 LiteAmazon (AWS)EfficientClosed1M——Text, Images, Video, PDF
NVIDIA Nemotron 3.5 Lightning 30B-A3BNVIDIACompactOpen weights1M$0.05$0.20Text
Mistral Large 4Mistral AIFrontierClosed1M$1.36$4.18Text, Images
Gemini 3.1 ProGoogleFrontierClosed1M$2$12Text, Images, Video, Audio, PDF
Muse Spark 1.3MetaAdvancedClosed1M$1.25$4.25Text, Images, Video, PDF
GPT-5.6 SolOpenAIFrontierClosed1.05M$4$20Text, Images
Claude Opus 5AnthropicFrontierClosed1M$5$25Text, Images, PDF
GPT-5.5OpenAIFrontierClosed1.05M$5$30Text, Images
Llama 4 MaverickMetaAdvancedOpen weights1M——Text, Images
Llama 4 ScoutMetaEfficientOpen weights10M$0.10$0.30Text, Images

Ordered by status, capability tier and then price. Tiers are our editorial grouping of provider positioning and public benchmark standings, not our own test results. How we rank.

How to choose

  • Check the long-context surcharge in each model's price note before you send 500K-token prompts.
  • Use prompt caching when you ask many questions about the same document.
  • Test recall on your own documents: plant a few facts deep in the text and check that the model finds them.
  • Compare against a RAG setup; see RAG explained and context windows explained.

Frequently asked questions

How many pages fit in a 1M-token context window?

Roughly 1,500 pages of plain English text, using the rule of thumb of 0.75 words per token and 500 words per page. Tables, code and non-English text use more tokens per page, so the real number is often lower.

Is long context better than RAG?

For questions that need the whole document, such as summarizing a contract or comparing chapters, long context is simpler. For finding specific facts across a large or changing collection, RAG is usually cheaper, faster and easier to keep current. Many production systems combine both.

Other shortlists

Need hands-on help building it?

RAG, agents, fine-tuning or a production chatbot: describe the project and we'll suggest an approach and, if you want, partners who build it.

  • Free and vendor-neutral: no model provider pays for placement.
  • Your details go only to partners you agree to.

Takes about 2 minutes. No sales calls unless you ask for one.