GitHub has added Microsoft AI’s MAI Code 2 and MAI Code 2 Flash to GitHub Copilot. The company says Code 2 is suited to complex software engineering tasks, while Code 2 Flash is built for quicker, routine coding work.
GitHub describes MAI Code 2 as a general purpose model for deep debugging, changes across multiple files, refactoring and reasoning across a repository. It says the model aims to produce focused responses and practical code changes with less back and forth. Both models are designed for coding workflows in which an AI agent carries out tasks.
MAI Code 2 Flash is the lighter model. GitHub says it is suited to explaining code, making targeted edits, handling routine fixes and supporting rapid iteration. The two options let developers select a model based on the work they are doing.
Read nextGoogle Maps adds trip planning, appointment search and route tips to Ask MapsModels are available across different Copilot plans
MAI Code 2 is available on Copilot Pro, Pro+, Max, Business and Enterprise. Code 2 Flash is also available on Copilot Free and Student. GitHub says both models are available to eligible Copilot subscribers on annual plans and are billed based on usage. The release note does not state a price.
Developers can choose either model in the model picker in Visual Studio Code, Visual Studio, Copilot CLI, the Copilot cloud agent, the Copilot app, github.com, GitHub Mobile on iOS and Android, and JetBrains. Business and Enterprise administrators can control access through the model policy in Copilot settings. Under the default setting, new models are enabled automatically unless an administrator turns off the global default or disables the model. Both models are available to eligible subscribers on annual plans.



