Wait Which Model?
← Back to directory
Microsoft

MAI Code 2 Flash

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)
$0.10 / $0.50
Cost per task
—
Open weights
No
News1 story
Strengths & weaknesses

Strengths

  • Built for high-volume routine work — code explanations, targeted edits and quick fixes — where latency and per-call cost matter more than depth
  • Available on Copilot's Free and Student plans, so it is the MAI model most people can actually try
  • Fine-tunes well on a customer's own fix history, per Microsoft's launch partners, for narrow repetitive repair work

Weaknesses

  • Microsoft's own card says it needs more guidance than MAI Code 2 on complex, long-horizon tasks
  • Outside Copilot it is only a limited-access Foundry preview, so building on it means applying for access
  • Tuned for English code production only at release; other languages and less common frameworks are largely unevaluated

Announced at Microsoft Ignite on 2026-11-17, generally available in GitHub Copilot (Free, Student, Pro, Pro+, Max, Business, Enterprise) and in limited-access preview on Microsoft Foundry via the Responses API, hence availability "restricted"; no Foundry model string is published, so apiIds is empty. Pricing is the list rate from GitHub's models-and-pricing docs, $0.10/$0.50 per MTok ($0.01 cached input), which applies from 2027-05-17; until then a 50% promotion bills $0.05/$0.25, and Microsoft's "65% of GPT-6 Luna's" and "20% of Claude Haiku 5.5's" cost 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-to-max effort and closed weights are from the shared MAI Code 2 model card (microsoft.ai/pdf/MAI-Code-2-And-MAI-Code-2-Flash-Model-Card.pdf), which gives 12B active and about 398B total parameters (its summary table says 5B-15B). Terminal-Bench 2.1 78.3% 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 59.9% and SWE Atlas 44.8%, above MAI Code 2's 43.1%. Microsoft's claim that it matches GPT-6 Luna and Claude Haiku 5.5 is a vendor comparison over DeepSWE 1.1, Terminal-Bench 2.1 and SWE-Atlas. The card compares it with MAI-Code-1.1-Flash (not tracked here) without saying it replaces it.

Benchmarks1 of 10 reported

Terminal-Bench 2.1

78.3%

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