MAI Code 2 Flash
Microsoft·
LLMscodingcloud
Overview
The smaller, low-latency model of Microsoft AI's MAI Code 2 family, announced at Ignite 2026. A sparse MoE (~398B total, 12B active per the model card), pre-trained with logit distillation from a larger in-house MAI teacher. Available in GitHub Copilot and through Microsoft Foundry (limited-access preview); weights are not distributed.
Capabilities and innovations
Agentic codingTargeted edits and routine fixesCode explanationConfigurable reasoning effortImage inputDistilled from a larger in-house MAI teacher modelFirst MAI Code model on Microsoft Foundry API
Benchmarks
| Benchmark | Score | Source |
|---|---|---|
| GPQA Diamond | 90.34% | vendor GPQA Diamond 90.34: reported in the CBRN safety evaluation table (section 3.2.3.1) of the model card, on the safety post-trained release checkpoint; not in the quality table. Settings not stated. |
| Terminal-Bench 2.x | 78.3% | vendor Terminal-Bench 2.1 78.3: MAI Code 2 model card, section 3. MSBench with the GitHub Copilot CLI 1.0.102 harness (subagents disabled), max reasoning effort, mean single-attempt pass rate over three runs per task. Not the Harbor harness; no independent run on vals.ai or tbench.ai as of 2026-11-18. |
- Humanity’s Last Exam (no tools): not reported by the vendor
- SWE-bench Pro: not reported by the vendor — Microsoft reports DeepSWE 1.1, Terminal-Bench 2.1, SWE Atlas and FrontierCode v1.1 instead; its predecessor MAI-Code-1-Flash still reported SWE-bench Pro.
- MMLU-Pro: not reported by the vendor
- Terminal-Bench 4.0: independent evaluation pending — Not on the Vals AI Terminal-Bench 4 board as of 2026-11-18.
- DeepSWE v1.1: independent evaluation pending — The model card gives two different DeepSWE 1.1 figures for MAI Code 2 Flash: 59.9 in the quality table (section 3) and 27.4 in the advanced-autonomy table (section 3.2.5.1), with no explanation of the difference. Both come from Microsoft's own MSBench / GitHub Copilot CLI harness, while DeepSWE's own runs fix mini-swe-agent. Field left null until one figure can be attributed to a named setting or Datacurve's board lists the model; entering either would pick between two vendor numbers at random.
- MMMU-Pro: not reported by the vendor
Architecture and hardware
- Parameters
- 398B total, 12B active per token (MoE)
Links
More from Microsoft
Data curated by AI Model Timeline. See the methodology for admission criteria, benchmark eras and source priority.