Wait Which Model?
← Back to directory
Microsoft

MAI Code 2

Released Nov 17, 2026 · knowledge cutoff 2026-08

Status
Not yet rated
Location
United States
Type
LLM
Modality
Multimodal
Context window
1.1M
Max output
128K
Speed
—
Price ($/MTok in / out)
$1 / $5
Cost per task
—
Open weights
No
News1 story
Strengths & weaknesses

Strengths

  • Tuned for dashboards, visualisations and frontend UI — Microsoft's blind side-by-side found developers preferred its frontend output to GPT-6 Sol's
  • Reinforcement learning ran inside the Copilot CLI and VS Code agent harnesses, so it is shaped to the tools it is actually used through
  • Takes screenshots and UI mockups as input for coding tasks, not only text

Weaknesses

  • Microsoft says it is not yet tuned for long-horizon agentic work — in long sessions it can repeat tool calls, drift from instructions or stop before verifying its work
  • Copilot-only at launch: no Foundry deployment or public API, so it can't be built on outside GitHub's clients
  • All published performance comparisons are Microsoft's own, run on its internal harness, with no independent measurements yet

Announced at Microsoft Ignite on 2026-11-17 and generally available in GitHub Copilot (Pro, Pro+, Max, Business, Enterprise) across VS Code, Visual Studio, Copilot CLI, JetBrains, Xcode and Eclipse; no Foundry or direct API access (OpenRouter and others are promised without dates), hence availability "restricted" and empty apiIds. Pricing is the list rate from GitHub's models-and-pricing docs, $1/$5 per MTok ($0.05 cached input), which applies from 2027-05-17; until then a 50% promotion bills $0.50/$2.50, and Microsoft's "40% of GPT-6.1 Sol's cost" and "5% of Claude Opus 5.5's" claims are made at that promotional price. Context 1,050,000 tokens (922K input), 128K output, text and image input, pre-training cutoff August 2026, low/medium/high/xhigh/max effort, and closed weights are from the MAI Code 2 model card (microsoft.ai/pdf/MAI-Code-2-And-MAI-Code-2-Flash-Model-Card.pdf); the card's summary gives 50B-100B parameters (80B active) while its overview says 77B active and about 2.8T total. Terminal-Bench 2.1 84.6% is lab-reported at max effort on Microsoft's MSBench with the GitHub Copilot CLI harness (subagents off, mean of three runs); the card also gives DeepSWE 1.1 73.2% and SWE Atlas 43.1%. Microsoft's headline claims (98% of GPT-6.1 Sol's and 96% of Opus 5.5's performance, averaged over DeepSWE 1.1, Terminal-Bench 2.1, SWE-Atlas and FrontierCode v1.1) are vendor figures. The card compares it with MAI-Code-1.1-Flash (not tracked here) without saying it replaces it; Microsoft rates it High for CBRN and offensive cyber under its Frontier Governance Framework. Tier is "balanced" because Microsoft prices and benchmarks it against GPT-6.1 Sol rather than the flagship class.

Benchmarks1 of 10 reported

Terminal-Bench 2.1

84.6%

MMLU-Proretired

—

GPQA Diamond

—

SWE-bench Verified

—

SWE-bench Pro

—

AIME (latest)retired

—

Humanity's Last Exam

—

LMArena Elo

—

GDPval-AA v2

—

ARC-AGI-2

—
For developers

API model strings

Not researched

Licence

Proprietary — weights not released

Retirement

No retirement announced

Lineage

No recorded predecessor