MAI Code 2
Microsoft·
LLMscodingcloud
Overview
The larger model of Microsoft AI's second in-house coding family, announced at Ignite 2026. A sparse MoE (~2.8T total, 77B active per the model card) trained from scratch by Microsoft, with a 1M-token context window and five reasoning-effort levels. Available only inside GitHub Copilot; weights are not distributed. Microsoft prices it against GPT-6.1 Sol and Claude Opus 5.5 on a four-benchmark average it ran itself.
Capabilities and innovations
Agentic codingLong-horizon software engineeringRepository question answeringConfigurable reasoning effortImage inputSecond-generation MAI coding family, larger pre-trained base than MAI-Code-1.xRL run directly in the GitHub Copilot CLI and VS Code agent harnesses
Benchmarks
| Benchmark | Score | Source |
|---|---|---|
| GPQA Diamond | 93.43% | vendor GPQA Diamond 93.43: 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 | 84.6% | vendor Terminal-Bench 2.1 84.6: 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: 73.2 in the quality table (section 3) and 60.2 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
- 2800B total, 77B 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.