Use case

Best long-context AI models (128K+)

Sorted by maximum context window. Long-context models charge more per token but eliminate the need for chunking and summarization in many workflows.

Top 25 models for large documents

#ModelProviderContextInput price / 1MTier
1Claude Opus 4.6Anthropic1M
Ultra context (1M+)
CustomVariable
2Claude Opus 4.7Anthropic1M
Ultra context (1M+)
CustomVariable
3Claude Sonnet 4.6Anthropic1M
Ultra context (1M+)
CustomVariable
4DeepSeek Chat (legacy id)DeepSeek1M
Ultra context (1M+)
CustomVariable
5DeepSeek Reasoner (legacy id)DeepSeek1M
Ultra context (1M+)
CustomVariable
6DeepSeek V4 FlashDeepSeek1M
Ultra context (1M+)
CustomVariable
7DeepSeek V4 ProDeepSeek1M
Ultra context (1M+)
CustomVariable
8Gemini 1.5 FlashGoogle1M
Ultra context (1M+)
CustomVariable
9Gemini 1.5 ProGoogle1M
Ultra context (1M+)
CustomVariable
10Gemini 2.0 FlashGoogle1M
Ultra context (1M+)
CustomVariable
11Jamba 1.5 LargeAI21256K
Long context (128K+)
CustomVariable
12Jamba 1.5 MiniAI21256K
Long context (128K+)
CustomVariable
13Claude 3 OpusAnthropic200K
Long context (128K+)
CustomVariable
14Claude 3.5 SonnetAnthropic200K
Long context (128K+)
CustomVariable
15Claude 3.7 SonnetAnthropic200K
Long context (128K+)
CustomVariable
16Claude Haiku 4.5Anthropic200K
Long context (128K+)
CustomVariable
17Claude Opus 4Anthropic200K
Long context (128K+)
CustomVariable
18Claude Opus 4.1Anthropic200K
Long context (128K+)
CustomVariable
19Claude Opus 4.5Anthropic200K
Long context (128K+)
CustomVariable
20Claude Sonnet 4Anthropic200K
Long context (128K+)
CustomVariable
21Claude Sonnet 4.5Anthropic200K
Long context (128K+)
CustomVariable
22o1OpenAI200K
Long context (128K+)
CustomVariable
23o3-miniOpenAI200K
Long context (128K+)
CustomVariable
24Command RCohere128K
Long context (128K+)
CustomVariable
25Command R+Cohere128K
Long context (128K+)
CustomVariable

Frequently asked questions

What can I do with a 1M-context model?

Drop entire codebases, books, or hours of meeting transcripts in one prompt. Useful for research synthesis, codebase Q&A, and long-running agents that keep state in-context instead of in a vector DB.

Does longer context mean better answers?

Not always — accuracy on 'needle-in-haystack' tasks varies a lot across models. Check published long-context benchmarks for the specific model.

Related use cases