Microsoft introduced two in-house coding models at Ignite on November 17 and made both available in GitHub Copilot. MAI Code 2 targets work such as implementing a feature across files, debugging difficult problems and making changes that require an understanding of the broader repository. MAI Code 2 Flash is built for high volumes of shorter tasks, including code explanations, targeted fixes and quick iterations.
Flash is also in limited-access preview in Microsoft Foundry. Microsoft says it will bring the model to other platforms. In Copilot, the company can offer its own models alongside rivals at the point where developers already assign work to coding assistants.
What the price comparison measures
Microsoft says Code 2 averaged 98% of GPT‑6.1 Sol’s performance at around 40% of the cost across four coding benchmarks. Three ran on Microsoft’s internal evaluation platform through the Copilot command line, with no work delegated to subagents. The fourth, FrontierCode 1.1, used results from Artificial Analysis. Models ran at maximum reasoning effort, and the comparison includes a 50% promotional discount for Code 2.
Microsoft optimized the models for common coding work. How closely real project costs follow the benchmark will depend on the type of change, how many attempts it takes and the duration of the discount.
Our sources
- MAI Code 2 and Code 2 Flash ↗Microsoft AI · 17 November 2026 · Checked 18 November 2026
- Microsoft unveils AI models for coding and cybersecurity ↗Reuters · 17 November 2026 · Checked 18 November 2026
AI tools assist our editors. Articles are published after human approval. Practical examples are ΠΕΡΑ analysis unless stated otherwise. How we work



