modelgrep

Best Mistral Models for Coding

Match · Updated July 2026

Mistral Medium 3.5 is the best Mistral model for coding, with a 46.9 Artificial Analysis Coding Index across benchmarks like SWE-bench and SciCode. Mistral Medium 3.1 (20.5) is next.

46.9Coding
29.9Intelligence
$1.50Input /M
262KContext

AI models ranked by the Artificial Analysis Coding Index, measuring real-world software engineering ability across benchmarks like SWE-bench, SciCode and terminal tasks. The best AI coding models for code generation, debugging and agentic development.

  1. 1mistralai logo
    mistral-medium-3-5
    ReasoningToolsJSON+129.9 intel · $1.50/M · 262K ctx
    46.9
    Coding
  2. 2mistralai logo
    mistral-medium-3.1
    ToolsJSONVision14.7 intel · $0.400/M · 131K ctx
    20.5
    Coding

Frequently asked

What is the best Mistral model for coding?

Mistral Medium 3.5 is the best Mistral model for coding, with a 46.9 Artificial Analysis Coding Index across benchmarks like SWE-bench and SciCode. Mistral Medium 3.1 (20.5) is next.

What's a good alternative to Mistral Medium 3.5?

Mistral Medium 3.1 (20.5) is the closest alternative on this metric. See the full ranking above for the tradeoffs.

How many Mistral models are there?

modelgrep tracks 19 Mistral models with live benchmarks, speed, latency and per-provider pricing, led on intelligence by Mistral Medium 3.5. 2 of them qualify for this ranking.

More Mistral rankings

All rankings