AI models for coding: 17 that hold a repository in one pass
| # | AI model | Capabilities | API $/1M (in / out) | Context window | Price / mo | Output $/1M | Overview | Visit site |
|---|---|---|---|---|---|---|---|---|
| 1 | Kimi K2.7 Code Moonshot AI | $0.71 / $3.5 | 262.1K tokens | API only | 3.5 | View | ||
| 2 | Qwen3 Coder Next Qwen | $0.12 / $0.8 | 262.1K tokens | API only | 0.8 | View | ||
| 3 | Devstral 2 2512 Mistral AI | $0.4 / $2 | 262.1K tokens | API only | 2 | View | ||
| 4 | GPT-5.3-Codex OpenAI | $1.75 / $14 | 400K tokens | API only | 14 | View | ||
| 5 | Codestral Mistral AI | $0.3 / $0.9 | 128K tokens | API only | 0.9 | View | ||
| 6 | Devstral 2 Mistral AI | 256K tokens | API only | View | ||||
| 7 | North Mini Code Cohere | 256K tokens | API only | View | ||||
| 8 | Doubao Seed 2.0 Code ByteDance | API only | View | |||||
| 9 | Laguna S 2.1 Poolside | $0.09 / $0.18 | 1.05M tokens | API only | 0.18 | View | ||
| 10 | Laguna XS 2.1 Poolside | $0.06 / $0.12 | 262.1K tokens | API only | 0.12 | View | ||
| 11 | Qwen3 Coder Flash Qwen | $0.195 / $0.975 | 1M tokens | API only | 0.975 | View | ||
| 12 | GPT-5.2-Codex OpenAI | $1.75 / $14 | 400K tokens | API only | 14 | View | ||
| 13 | Qwen3 Coder Plus Qwen | $0.65 / $3.25 | 1M tokens | API only | 3.25 | View | ||
| 14 | GPT-5.1-Codex-Mini OpenAI | $0.25 / $2 | 400K tokens | API only | 2 | View | ||
| 15 | GPT-5.1-Codex OpenAI | $1.25 / $10 | 400K tokens | API only | 10 | View | ||
| 16 | GPT-5.1-Codex-Max OpenAI | $1.25 / $10 | 400K tokens | API only | 10 | View | ||
| 17 | Seed-2.0-Code Bytedance Seed | $0.5 / $3 | 262.1K tokens | API only | 3 | View |
Browse by need
Seventeen models here are trained specifically for code: writing it, reviewing it, refactoring across a repository and filling in the middle of an existing file. Kimi K2.7 Code, Qwen3 Coder Next and Devstral 2 lead the dedicated list, with output from free tiers up to $14 per million tokens.
Dedicated coding models are usually cheaper than general flagships and competitive on routine work - boilerplate, tests, migrations, straightforward bug fixes. For large refactors spanning many files the frontier general models still pull ahead; Claude Opus 5 at $25 is the common choice. Check the context window: repository-scale work wants 1M tokens.
Models with this capability
The 17 models below all support this capability. Prices are input and output per 1M tokens from the vendor official price list; for dirhams multiply by 3.6725. Tap a card to open the model page.
How to choose
- Match the model to the task size: snippets, single files or whole repositories.
- Check fill-in-the-middle support if you integrate with an editor.
- Test on your own stack — training mixes differ sharply by language.
- Compare against a frontier general model on your hardest refactor before deciding.
Common mistakes
Who this suits
Related filters
Frequently asked questions
Are dedicated coding models better than flagships?
What is fill-in-the-middle?
How much context do I need?
Do coding models handle architecture questions?
Which is cheapest for bulk work?
Frequently searched
Rate this page
Help us improve