Home Models Coding Agents Compare Pricing Model Picker Source Data Local Models OpenClaw

Long-context guide

Best Long-Context Models

For giant documents, repos, transcripts, and agent memory buffers, context window only helps when it is paired with retrieval discipline and pricing you can actually afford.

ModelContextBest forInput $/M
GPT-5.5
OpenAI
1MComplex reasoning$5
Claude Opus 4.8
Anthropic
1MComplex reasoning$5
GPT-5.4
OpenAI
1MCoding$2.5
Gemini 3.1 Pro Preview
Google
1MMultimodal tasks$2
Gemini 3.5 Flash
Google
1MFast multimodal agents$1.5
Claude Sonnet 4.6
Anthropic
1MBalanced performance$3
Llama 4 Maverick
Meta
1MOpen weights$2
DeepSeek V4 Pro
DeepSeek
1MBudget coding$0.435
Grok 4.3
xAI
1MLong context$1.25
GPT-5.2-Codex
OpenAI
400KCoding-focused tasks$1.75
GPT-5.2
OpenAI
400KGeneral-purpose$1.75
Qwen3 Max 2026-01-23
Alibaba
262KMultilingual$1.2
Kimi K2.5
Moonshot AI
256KVisual coding$0.6
GLM-5
Zhipu AI
205KBilingual (CN/EN)$0.5
MiniMax M2.5
MiniMax
196KReal-world productivity$0.3
Mistral Medium 3.5
Mistral
128KEuropean compliance$2
GPT-OSS-120B
OpenAI
128KSelf-hosted$0

Fast picks