What It Is
MAI Code 2 Flash is Microsoft AI’s smaller coding model for explanations, targeted edits, routine fixes, and short iteration loops. GitHub lists it as generally available in GitHub Copilot from 17 November 2026, including Copilot Free and Student as well as Pro, Pro+, Max, Business, and Enterprise, for subscribers on annual plans.
In Microsoft Foundry it is a limited-access preview, which the Ignite Book of News also calls a private preview. It is not generally available there. Microsoft says a later release is planned on OpenRouter, Vercel, Hermes, OpenCode, and Kilo. Those channels are not documented as live in the pages opened here. The GitHub changelog points readers to the model announcement for vision support. That announcement, as opened, does not describe image input.
Microsoft’s price comparisons for Flash use a 50% promotional price. Context window, knowledge cutoff, and data-retention terms were not on the pages opened for this card. Microsoft describes a further internal model, MAI Work Flash, as an optimisation of Code 2 Flash used inside Microsoft 365 and Fabric IQ. That name is not documented here as a model a customer can select, so it has no page of its own.
Sources: Microsoft AI, GitHub Changelog, GitHub supported models, Foundry Ignite note, Ignite Book of News.