MAI Code 2

Released on November 17, 2026

Changes from previous version

Replaces the 5 billion active MAI Code 1.1 Flash line with a new 77 billion active base and a 1,050,000-token context. MAI Code 2 Flash is the same-day smaller sibling.

Release Summary

Microsoft's larger agentic coding model, released 2026-11-17 with MAI Code 2 Flash. About 2.8 trillion total parameters, 77 billion active, and 3 billion embedded. Text and image in, text out. Context is 1,050,000 tokens, with an input cap of 922,000 and output cap of 128,000. Reasoning effort is low, medium, high, xhigh, or max. Weights are not published. Knowledge cutoff is August 2026, and code generation is optimized for English. Available in GitHub Copilot, not as a Foundry API model. On the model card at max, with GitHub Copilot CLI 1.0.102 and subagents off, DeepSWE 1.1 is 73.2%, Terminal-Bench 2.1 is 84.6%, and SWE Atlas is 43.1%. In a blind visual-coding test, developers preferred it to GPT Sol 6 64% of the time across 258 annotators. Microsoft says that, averaged over DeepSWE 1.1, Terminal-Bench 2.1, SWE Atlas, and FrontierCode 1.1 at max, it reaches 98% of GPT Sol 6.1 performance at 40% of the cost, with the FrontierCode slice shown at a 50% promotional price. No list token price is published.

Timeline

November 17, 2026

MAI Code 2 released

Microsoft releases MAI Code 2 in GitHub Copilot for repository-scale coding, debugging, and visual coding.