Best Long Context Coding Models
Long-context models are valuable for agent workflows that need large repositories, logs, documentation, and multi-file reasoning.
| # | Model | SWE-bench | Context | Cost | Open |
|---|---|---|---|---|---|
| 1 | Opus Mythos | 93.9 | 1M | TBD | No |
| 2 | Opus 4.8 | 88.6 | 1M | $$5/$25/$ | No |
| 3 | Opus 4.7 | 87.6 | 1M | $$5/$30/$ | No |
| 4 | GPT-5.5 | 82.6 | 1M | $$6/$25/$ | No |
| 5 | DeepSeek V4 Pro | 80.6 | 1M | $$0.44/$0.87/$ | Yes |
| 6 | Gemini 3.1 Pro | 80.6 | 1M+ | $$1.5/$6/$ | No |
| 7 | Qwen 3.7 Max | 80.4 | 1M | $$1.66/$4.95/$ | No |
| 8 | Kimi K2.6 | 80.2 | 256K | $$0.6/$2.5/$ | Yes |
| 9 | Sonnet 4.6 | 79.6 | 1M | $$2/$8/$ | No |
| 10 | GPT-5.4 | 79.2 | 1M | $$5/$20/$ | No |
| 11 | DeepSeek V4 Flash | 79 | 1M | $$0.14/$0.28/$ | Yes |
| 12 | Gemini 3 Flash | 76.2 | 1M+ | $$0.5/$3/$ | No |
| 13 | Llama 4 Maverick | 62 | 1M | $$0.8/$2.2/$ | Yes |
How to read this: Agent pages score the wrapper and workflow. Stack pages score agent plus model combinations.
Related rankings
Other useful paths through the dataset.
Best CLI AI Coding Agents
Terminal-first coding agents are best when you want repo-level edits, scriptable workflows, and less IDE lock-in.
11 entries
Best Open Source AI Coding Agents
Open-source agents are strongest when you want provider choice, local-model support, and transparent agent behavior.
9 entries
Best AI Coding Agents for VS Code
IDE-focused agents are best for daily coding, codebase navigation, completions, and fast multi-file edits.
7 entries
Best Browser AI Coding Agents
Browser coding agents are useful when you want to build, preview, and ship without managing a local development environment.
3 entries