Microsoft released MAI Code 2 on November 17, 2026, alongside a cheaper Flash version, bringing its own agentic coding models to GitHub Copilot and intensifying competition over software development performance and AI costs.
MAI Code 2 and MAI Code 2 Flash share the same product family but address different development requirements. Microsoft designed MAI Code 2 for demanding software engineering work.
Microsoft published its principal coding comparisons on November 17, using four benchmarks intended to represent everyday enterprise development tasks.
The smaller model has its own performance and pricing comparisons. Microsoft said MAI Code 2 Flash delivered performance comparable to GPT 6 Luna at 65% of the price and Claude Haiku 5.5 at 20% of the price.
Microsoft made MAI Code 2 and MAI Code 2 Flash available through GitHub Copilot on November 17.
MAI Code 2 is part of a broader effort by Microsoft to develop specialized models for its own products and enterprise customers. During Ignite, Microsoft introduced seven new models across several categories.
For development teams, the immediate opportunity is to evaluate whether MAI Code 2 can reduce the cost of routine engineering work without lowering the quality of the resulting software.
The release gives Microsoft another way to compete with OpenAI and Anthropic in a market where coding assistants have become an important route for distributing AI models.
Microsoft Releases MAI Code 2 in Copilot With Lower AI Coding Costs