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.2-Codex
OpenAI
400KCoding-focused tasks$1.75
GPT-5.2
OpenAI
400KGeneral-purpose$1.75
Qwen 3 Max
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
Llama 4 (405B)
Meta
128KSelf-hosted$2
DeepSeek V3
DeepSeek
128KBudget coding$0.27
Mistral Large 3
Mistral
128KEuropean compliance$2
GPT-OSS-120B
OpenAI
128KSelf-hosted$0
Grok 4.1 Fast
xAI
2MLong context$0.2
GPT-5.5
OpenAI
1MComplex reasoning$5
Claude Opus 4.7
Anthropic
1MComplex reasoning$5
GPT-5.4
OpenAI
1MCoding$2.5
Gemini 3.1 Pro Preview
Google
1MMultimodal tasks$2
Claude Sonnet 4.6
Anthropic
1MBalanced performance$3

Fast picks