MAI Code 2 and MAI Code 2 Flash in GitHub Copilot
GitHub Copilot introduces MAI Code 2 and MAI Code 2 Flash for enhanced coding assistance.
New Models for Enhanced Coding Assistance
GitHub Copilot has introduced two new models, MAI Code 2 and MAI Code 2 Flash, representing a major step forward for the MAI-Code family. These models are designed to expand from lightweight coding assistance to complex, agentic software engineering.
Model Descriptions and Use Cases
MAI Code 2 is a powerful, general-purpose coding model that helps developers get from request to result with focused responses, practical code changes, and less unnecessary back and forth. It is ideal for complex tasks like deep debugging, multi-file implementation, refactoring, and repository-wide reasoning. MAI Code 2 Flash, on the other hand, is a lightweight, cost-efficient coding model optimized for everyday development workflows, well-suited for code explanations, targeted edits, routine fixes, and rapid iteration.
Availability and Pricing
Both models are available to eligible GitHub Copilot subscribers on annual plans. MAI Code 2 is available in Copilot Pro, Pro+, Max, Business, and Enterprise, while MAI Code 2 Flash is available in Copilot Free, Student, Pro, Pro+, Max, Business, and Enterprise. These models are billed under usage-based billing, with more details available in the Models and pricing for GitHub Copilot.
Implementation and Access
The models can be selected in the model picker in various platforms, including Visual Studio Code, Visual Studio, Copilot CLI, GitHub Copilot cloud agent, GitHub Copilot app, github.com, GitHub Mobile iOS and Android, JetBrains, Xcode, and Eclipse. Copilot Enterprise and Copilot Business plan administrators can manage access to MAI models through the model policy in Copilot settings.
ToolScout analysis: Model Tradeoffs
The introduction of MAI Code 2 and MAI Code 2 Flash offers developers more flexibility to choose the model that best fits their task. MAI Code 2 provides more powerful capabilities for complex tasks, while MAI Code 2 Flash offers a cost-efficient solution for everyday development workflows. However, the choice between the two models may depend on the specific needs of the project, and developers will need to weigh the benefits of each model against their costs.
Conclusion and Future Directions
The introduction of MAI Code 2 and MAI Code 2 Flash marks a significant step forward for GitHub Copilot, offering enhanced coding assistance and more flexibility for developers. As developers begin to use these models, feedback will be crucial in helping to improve them.