GitHub Copilot

MAI Code 2 and MAI Code 2 Flash come to GitHub Copilot, with Flash on the Free plan

Published · By Editorial team promptdonuts.com

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

GitHub Copilot

Small edit prompt for a fast model

In [FILE], change only the function [FUNCTION NAME]. Goal: [WHAT IT SHOULD DO NOW]. Keep its name and inputs the same. Do not touch other functions. Show the edited function and one sentence on what changed.

Sources: GitHub: MAI Code 2 and MAI Code 2 Flash in GitHub Copilot

MORE AI NEWS

ALL NEWS