MAI Code 2 and MAI Code 2 Flash come to GitHub Copilot, with Flash on the Free plan
GitHub Copilot now offers two Microsoft AI coding models, MAI Code 2 and MAI Code 2 Flash, for eligible subscribers on annual plans. MAI Code 2 is for complex work such as deep debugging, multi-file changes, refactoring and reasoning across a whole repository. It is available on Pro, Pro+, Max, Business and Enterprise. MAI Code 2 Flash is a lighter, cheaper model for code explanations, targeted edits and routine fixes. It is also available on Free and Student. Both are billed by usage and appear in the model picker in the main editors, the CLI, github.com and mobile.
Why it matters: You can match the model to the size of the job. Use Flash for short, specific prompts such as an explanation or a one-function edit, and MAI Code 2 when the prompt spans many files.
Try this
Small edit prompt for a fast model
Sources: GitHub: MAI Code 2 and MAI Code 2 Flash in GitHub Copilot
