Long-context models
Long-context models eliminate chunking and summarization for many workflows — drop entire codebases, books, or research libraries in one prompt.
37 models in this category. See also the “Best long-context AI models (128K+)” ranking with editorial picks and FAQ.
| Model | Provider | Context | Input price / 1M | Tier |
|---|---|---|---|---|
| Claude Opus 4.6 anthropic/claude-opus-4.6 | Anthropic | 1M Ultra context (1M+) | Custom | Variable |
| Claude Opus 4.7 anthropic/claude-opus-4.7 | Anthropic | 1M Ultra context (1M+) | Custom | Variable |
| Claude Sonnet 4.6 anthropic/claude-sonnet-4.6 | Anthropic | 1M Ultra context (1M+) | Custom | Variable |
| DeepSeek Chat (legacy id) deepseek/deepseek-chat | DeepSeek | 1M Ultra context (1M+) | Custom | Variable |
| DeepSeek Reasoner (legacy id) deepseek/deepseek-reasoner | DeepSeek | 1M Ultra context (1M+) | Custom | Variable |
| DeepSeek V4 Flash deepseek/deepseek-v4-flash | DeepSeek | 1M Ultra context (1M+) | Custom | Variable |
| DeepSeek V4 Pro deepseek/deepseek-v4-pro | DeepSeek | 1M Ultra context (1M+) | Custom | Variable |
| Gemini 1.5 Flash google/gemini-1.5-flash | 1M Ultra context (1M+) | Custom | Variable | |
| Gemini 1.5 Pro google/gemini-1.5-pro | 1M Ultra context (1M+) | Custom | Variable | |
| Gemini 2.0 Flash google/gemini-2.0-flash | 1M Ultra context (1M+) | Custom | Variable | |
| Jamba 1.5 Large ai21/jamba-1.5-large | AI21 | 256K Long context (128K+) | Custom | Variable |
| Jamba 1.5 Mini ai21/jamba-1.5-mini | AI21 | 256K Long context (128K+) | Custom | Variable |
| Claude 3 Opus anthropic/claude-3-opus | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude 3.5 Sonnet anthropic/claude-3.5-sonnet | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude 3.7 Sonnet anthropic/claude-3.7-sonnet | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude Haiku 4.5 anthropic/claude-haiku-4.5 | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude Opus 4 anthropic/claude-opus-4 | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude Opus 4.1 anthropic/claude-opus-4.1 | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude Opus 4.5 anthropic/claude-opus-4.5 | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude Sonnet 4 anthropic/claude-sonnet-4 | Anthropic | 200K Long context (128K+) | Custom | Variable |
| Claude Sonnet 4.5 anthropic/claude-sonnet-4.5 | Anthropic | 200K Long context (128K+) | Custom | Variable |
| o1 openai/o1 | OpenAI | 200K Long context (128K+) | Custom | Variable |
| o3-mini openai/o3-mini | OpenAI | 200K Long context (128K+) | Custom | Variable |
| Command R cohere/command-r | Cohere | 128K Long context (128K+) | Custom | Variable |
| Command R+ cohere/command-r-plus | Cohere | 128K Long context (128K+) | Custom | Variable |
| DeepSeek R1 deepseek/deepseek-r1 | DeepSeek | 128K Long context (128K+) | Custom | Variable |
| DeepSeek V3 deepseek/deepseek-v3 | DeepSeek | 128K Long context (128K+) | Custom | Variable |
| Llama 3.3 70B Versatile groq/llama-3.3-70b-versatile | Groq | 128K Long context (128K+) | Custom | Variable |
| Llama 3.1 405B Instruct meta/llama-3.1-405b-instruct | Meta | 128K Long context (128K+) | Custom | Variable |
| Llama 3.1 70B Instruct meta/llama-3.1-70b-instruct | Meta | 128K Long context (128K+) | Custom | Variable |
| Llama 3.1 8B Instruct meta/llama-3.1-8b-instruct | Meta | 128K Long context (128K+) | Custom | Variable |
| Mistral Large mistral-ai/mistral-large | Mistral AI | 128K Long context (128K+) | Custom | Variable |
| Mistral Small mistral-ai/mistral-small | Mistral AI | 128K Long context (128K+) | Custom | Variable |
| GPT-4o openai/gpt-4o | OpenAI | 128K Long context (128K+) | Custom | Variable |
| GPT-4o mini openai/gpt-4o-mini | OpenAI | 128K Long context (128K+) | Custom | Variable |
| Qwen2.5 72B Instruct qwen/qwen2.5-72b-instruct | Qwen | 128K Long context (128K+) | Custom | Variable |
| Qwen2.5 Coder 32B qwen/qwen2.5-coder-32b | Qwen | 128K Long context (128K+) | Custom | Variable |