Microsoft AILanguage modelAvailable in GitHub Copilot
MAI Code 2 Flash
Summary
MAI Code 2 Flash is designed for frequent development tasks such as code explanations, targeted edits, and quick iterations. In addition to GitHub Copilot, Microsoft offers a limited-access Foundry preview.
On this page
Similar models
More models of the same kind as MAI Code 2 Flash, chosen by model line, developer, size, price and release date.
- MAI Code 2Microsoft AI · same developer
- MAI-Thinking-1Microsoft AI · same developer
- MAI-Code-1.1-FlashMicrosoft AI · same developer
- GPT-6.1 TerraOpenAI · released around the same time
- Claude Haiku 5.5Anthropic · released around the same time
- Claude Opus 5.5Anthropic · released around the same time
- GPT-6.1 SolOpenAI · released around the same time
- GPT-6 LunaOpenAI · released around the same time
All specifications
Input and output
- Reasoning levels
- low, medium, high, xhigh, and max according to the model card.
- Source: Reasoning levels
Watermarking and provenance
AI watermarking refers to invisible signals embedded in the output. Visible marks and provenance metadata are listed separately. Unknown means there is insufficient evidence for that particular field.
- AI watermarking
- Unknown
- no source
- Watermarking technique
- Not known
- no source
Licence and access
- Shutdown
- None announced
- no source
Further details
Prices
- GitHub Copilot launch rates
- Until the rate change on May 17, 2027, GitHub charges $0.05 for input, $0.005 for cached input, and $0.25 for output per 1M tokens.Source
- GitHub Copilot from May 2027
- Starting May 17, 2027, the rates per 1M tokens are $0.10 for input, $0.01 for cached input, and $0.50 for output.Source
No Microsoft AI subscription access recorded. Through other providers from $10 a month (GitHub Copilot Pro, with limited credits). 5 plans in Germany.
| Plan | Monthly list price | Note |
|---|---|---|
| GitHub Copilot Pro | $10 | with limited credit |
| GitHub Copilot Business | $19 | with limited credit, for teams, per seat |
| GitHub Copilot Enterprise | $39 | with limited credit, for enterprises, per seat |
| GitHub Copilot Pro+ | $39 | with limited credit |
| GitHub Copilot Max | $100 | with limited credit |
Frequently asked questions about MAI Code 2 Flash
How large is the context window of MAI Code 2 Flash?
1.05 M tokens. Separate limits may apply to input and output. 922,000 tokens
Can I run MAI Code 2 Flash locally?
No. Microsoft AI does not publish the weights.
Stated by Microsoft AI
- Open weights
- no
- License
- n/a
- Parameters
- n/a
- active per token
- n/a
Where can I use MAI Code 2 Flash?
No Microsoft AI subscription access recorded. Including other providers that makes 5 plans in Germany.
Subscription comparison, prices in Germany incl. VAT
At Microsoft AI
No Microsoft AI subscription access recorded.
Through other providers
5 plans from 1 provider, from $10 a month (GitHub Copilot Pro), with limited credits.
Sources and data date
| Type | Evidence and data date |
|---|---|
| Input | Documented modalities. Retrieved November 19, 2026. |
| Output | Documented modalities. Retrieved November 19, 2026. |
| Additional source | Microsoft: MAI Code 2 and MAI Code 2 Flash (retrieved November 19, 2026) · Microsoft: MAI Code 2 and MAI Code 2 Flash · Editorial description reviewed November 19, 2026 |
| Additional source | GitHub Copilot availability (retrieved November 19, 2026) |
| Additional source | GitHub Copilot pricing (retrieved November 19, 2026) |