Microsoft launches MAI Code 2 and Code 2 Flash coding models in GitHub Copilot
Microsoft released MAI Code 2 and MAI Code 2 Flash, two models aimed at everyday enterprise coding rather than hard research or long-running agent tasks. Both are available in GitHub Copilot now; Code 2 Flash is also in limited-access preview in Microsoft Foundry, with Open Router, Vercel and other platforms promised later. Microsoft says MAI Code 2 averages 98% of GPT-6.1 Sol's performance at 40% of the cost and 96% of Claude Opus 5.5's at 5% of the cost across four coding benchmarks, and that blind reviewers preferred its frontend output over GPT-6 Sol 64% of the time. Flash is positioned for high-volume work like code explanations and routine fixes, at 65% of GPT-6 Luna's cost and 20% of Claude Haiku 5.5's. All figures are vendor-run evaluations, and Microsoft notes results vary by workload and pricing assumptions.
Microsoft's MAI coding models are not new to GitHub Copilot: an earlier small-tier model, MAI-Code-1.1-Flash, shipped inside Copilot on August 11, 2026, with native image input and a 256K context window, priced about 73% below its predecessor. MAI Code 2 and Code 2 Flash are the next generation of that line, and Microsoft is now positioning them against frontier models from OpenAI and Anthropic rather than only as cheap options.
Teams already on GitHub Copilot can switch models without changing tooling, so the practical decision is whether the cheaper model holds up on their own codebase. One commenter reports doing exactly that at a 50% discount and finding no clear gap against Claude Opus on Python build, test and Azure deployment fixes — a single anecdote, not a benchmark. Anyone budgeting on the 5%-of-Opus figure should check it against their own workload, since Microsoft itself says cost comparisons shift with configuration and pricing assumptions.
Commenters split between treating the price-performance gap as evidence that frontier labs have only a thin, temporary lead, and questioning the numbers themselves — one asks whether Microsoft is cherry-picking the GPT-versus-Opus cost ratios, and another wonders whether the model is a smaller coding specialist. A user who switched Copilot to MAI Code 2 at a 50% discount said it resolved tricky Python build issues in WSL and Azure deployment problems with no felt difference from Claude Opus.