BenchLM recommendation
Best Value LLM for Coding in 2026 — Cost-Adjusted Rankings
As of July 23, 2026, the top model in best value llm for coding on the BenchLM leaderboard is Ministral 3 3B with a score of 213.
Last verified: July 23, 2026
Raw benchmark scores only tell half the story. This ranking divides each model's weighted coding score by its output token price, surfacing models that deliver the most coding capability per dollar spent. A model scoring 70 at $1/1M tokens outranks one scoring 80 at $15/1M tokens here — because for the same budget you get far more coding work done. Use this alongside the standard coding leaderboard to find the sweet spot between performance and cost for your coding workflows.
Unless noted otherwise, ranking surfaces on this page use BenchLM's provisional leaderboard lane rather than the stricter sourced-only verified leaderboard.
Bottom line: Gemini 3.1 Flash-Lite dominates coding value at $0.40/1M output. DeepSeek Coder 2.0 offers the best absolute coding performance per dollar among serious coding models.
Ministral 3 3B leads this ranking with a score of 213, followed by DeepSeek V4 Flash (Max) (185.75) and DeepSeek V4 Flash (High) (185.04). There is a significant gap between the leading models and the rest of the field.
The best open-weight option is Ministral 3 3B (ranked #1 with a score of 213). Open-weight models are highly competitive in this category — self-hosting is a viable alternative to proprietary APIs.
This ranking is based on provisional weighted averages across the scoring benchmarks in coding tracked by BenchLM.ai. For detailed model profiles, click any model name below. To compare two specific models head-to-head, use the "vs #" links.
What changed
Gemini 3.1 Flash-Lite leads coding value — most coding capability per dollar spent.
DeepSeek Coder 2.0 best value among dedicated coding models with strong raw scores.
Gemini 2.5 Flash good coding value with broader model capabilities.
How to choose
Full Rankings (81 models)
Key Takeaways
The best value model is Ministral 3 3B by Mistral with a provisional Score/$ ratio of 213 (score: 21.3, output: $0.1/1M tokens).
The best open-weight model is Ministral 3 3B at position #1.
81 models are included in this ranking.
Score in Context
What these scores mean
Value scores divide the weighted coding score by output token price (per 1M tokens). Higher means more capability per dollar. Models with no listed price are excluded.
Known limitations
Value rankings favor cheap models even if absolute performance is modest. A model scoring half as well at one-tenth the price wins on value — but may not meet your quality bar. Always check raw scores alongside value rankings.
Choose a model with this week’s evidence
Join 2,000+ readers for ranking moves, pricing changes, and the claims that still need proof.
One email each week. Unsubscribe anytime.