Workload recommendation · code
Best models for coding
Which models are worth evaluating for coding work? Shortlist coding-capable models using published software-engineering benchmark records, tool support, and context.
Short answer. GPT-5.2-Codex ranks first under this page’s catalog-fit rules because 86.957% on Code Completion (+8.7 normalized benchmark points) and supports tool parameters. This is a shortlist for testing, not a live task-quality result.
GPT-5.2-Codex
- Context window
- 400K
- Input / 1M tokens
- $1.75
- Output / 1M tokens
- $14.00
How this shortlist is ranked
The ranking is a transparent starting point derived from the public catalog, not a live evaluation. The rules stay visible so you can disagree with the weighting.
Published coding benchmark evidence. Tool parameters and reasoning controls. Context for the repository or task. Listed cost for repeated use.
- Router availability is a separate pick and does not change the overall score.
- Benchmark row counts are shown as evidence coverage and do not add quality points.
- When a shared Coding or Software percentage benchmark group exists, its published score contributes up to 10 normalized points. Rows must match source dataset, benchmark, split, score unit, and evaluation group. Reasoning effort or serving configurations can still differ.
- Require text input and output. Add 4 points for tool parameters, 3 for catalog reasoning support, and 3 for context of at least 100,000 tokens.
- Selected benchmark group: Code Completion, Suite release Jun 25, 2026 · run date unavailable, covering 44 eligible models.
Scores are published benchmark evidence, not a live coding evaluation. Test edits, tool reliability, latency, and cost on your repository.
Ranked candidates
Positions are ordered by the catalog-fit score. Showing 24 of 370 eligible models.
| Position | Score (points) | Model | Provider | Router catalog | Context | Input / 1M | Output / 1M | Benchmark rows | Why included | Evidence |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 18.7 | GPT-5.2-Codex | OpenAI | Unverified | 400K | $1.75 | $14.00 | 23 | 86.957% on Code Completion (+8.7 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 400K-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 2 | 18.5 | Claude Opus 4.8 | Anthropic | Listed | 1M | $5.00 | $25.00 | 30 | 84.783% on Code Completion (+8.5 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 3 | 18.3 | Claude Fable 5.1 | Anthropic | Listed | 1M | $10.00 | $50.00 | 44 | 82.609% on Code Completion (+8.3 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 4 | 18.3 | Claude Opus 5 | Anthropic | Listed | 1M | $5.00 | $25.00 | 30 | 82.609% on Code Completion (+8.3 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 5 | 18.3 | GPT-5.5 | OpenAI | Listed | 1.05M | $5.00 | $30.00 | 30 | 82.609% on Code Completion (+8.3 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 6 | 18.3 | GPT-6.1 Sol | OpenAI | Unverified | 1.05M | $2.00 | $10.00 | 44 | 82.609% on Code Completion (+8.3 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 7 | 18.3 | Kimi K3 | Moonshot AI | Listed | 1.05M | $0.192 | $16.00 | 44 | 82.609% on Code Completion (+8.3 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 8 | 18.0 | Claude Fable 5 | Anthropic | Listed | 1M | $10.00 | $50.00 | 30 | 80.435% on Code Completion (+8.0 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 9 | 18.0 | GLM 5.2 | Z.ai | Unverified | 1.05M | $0.62 | $2.42 | 23 | 80.435% on Code Completion (+8.0 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 10 | 18.0 | GLM 5.3 | Z.ai | Unverified | 1.05M | $0.0699 | $1.40 | 30 | 80.435% on Code Completion (+8.0 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 11 | 18.0 | GLM 5.3 Flash | Z.ai | Unverified | 1.05M | $0.15 | $0.50 | 44 | 80.435% on Code Completion (+8.0 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 12 | 18.0 | GPT-5.4 | OpenAI | Listed | 1.05M | $2.50 | $15.00 | 35 | 80.435% on Code Completion (+8.0 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 13 | 18.0 | Muse Spark 1.2 | Meta | Unverified | 1.05M | $1.25 | $4.25 | 30 | 80.435% on Code Completion (+8.0 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 14 | 18.0 | Muse Spark 1.3 | Meta | Unverified | 1.05M | $1.25 | $4.25 | 44 | 80.435% on Code Completion (+8.0 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 15 | 17.8 | Claude Opus 4.7 | Anthropic | Listed | 1M | $5.00 | $25.00 | 23 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 16 | 17.8 | Claude Sonnet 4.6 | Anthropic | Listed | 1M | $3.00 | $15.00 | 39 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 17 | 17.8 | Claude Sonnet 5 | Anthropic | Listed | 1M | $2.00 | $10.00 | 30 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 18 | 17.8 | DeepSeek V4 Pro 0813 | DeepSeek | Listed | 1.05M | $0.0999 | $5.00 | 23 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 19 | 17.8 | Gemini 3.1 Pro Preview | Unverified | 1.05M | $2.00 | $12.00 | 23 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 | |
| 20 | 17.8 | Gemini 3.6 Flash | Unverified | 1.05M | $0.75 | $3.75 | 23 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 | |
| 21 | 17.8 | Grok 4.7 | xAI | Unverified | 500K | $2.00 | $6.00 | 44 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 500K-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 22 | 17.8 | Muse Spark 1.1 | Meta | Unverified | 1.05M | $1.25 | $4.25 | 23 | 78.261% on Code Completion (+7.8 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 23 | 17.6 | Claude Opus 4.6 | Anthropic | Listed | 1M | $5.00 | $25.00 | 23 | 76.087% on Code Completion (+7.6 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
| 24 | 17.6 | Gemini 3.5 Flash | Unverified | 1.05M | $1.50 | $9.00 | 23 | 76.087% on Code Completion (+7.6 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 1.05M-token context | Code CompletionUsed for rank · livebench-v1-20260625 · 2026-06-25 |
Best for different constraints
Overall starting point
GPT-5.2-Codex
86.957% on Code Completion (+8.7 normalized benchmark points); supports tool parameters; catalog lists reasoning support; 400K-token context
The lowest listed token rates are a catalog price comparison. They do not establish cost per completed task or output quality.
Run this next
Run the same repository bug-fix and code-review tasks through each candidate. Compare build and test success, patch quality, latency, and total token cost.
Compare the shortlist
Pair pages show shared benchmark evidence and separate model-level records.
Evidence and limits
Model identity, capabilities, context, and listed rates come from the public model catalog. Benchmark rows link to the original result releases. Router availability matches the public Weave Router catalog. This page does not claim that a catalog ranking is a controlled head-to-head result.
Frequently asked questions
Which model ranks first for best models for coding?
GPT-5.2-Codex ranks first under this page’s catalog-fit rules because 86.957% on Code Completion (+8.7 normalized benchmark points) and supports tool parameters. This is a shortlist for testing, not a live task-quality result.
How is this workload ranking calculated?
Router availability is a separate pick and does not change the overall score. Benchmark row counts are shown as evidence coverage and do not add quality points. When a shared Coding or Software percentage benchmark group exists, its published score contributes up to 10 normalized points. Rows must match source dataset, benchmark, split, score unit, and evaluation group. Reasoning effort or serving configurations can still differ. Require text input and output. Add 4 points for tool parameters, 3 for catalog reasoning support, and 3 for context of at least 100,000 tokens. Selected benchmark group: Code Completion, Suite release Jun 25, 2026 · run date unavailable, covering 44 eligible models. Scores are fit points, not quality ratings.
Does the first result prove to be the best model for this workload?
Scores are published benchmark evidence, not a live coding evaluation. Test edits, tool reliability, latency, and cost on your repository.
Does Router-listed status confirm I can use the model?
It confirms only that the exact model ID appears in the public Weave Router catalog snapshot checked Nov 27, 2026. It does not establish plan, account, endpoint, or billing eligibility.