AI model Microsoft United States · 2 models on this site
MAI Code 2
Microsoft’s coding model, offered in GitHub Copilot. The price is promotional until 17 May 2027.
- Input
- $0.50 per 1M tokens on Microsoft’s API
- Output
- $2.50 per 1M tokens on Microsoft’s API
- Context
- 1M tokens
- Released
- 17 Nov 2026
- Status
- Current Microsoft’s present MAI Code version
Model facts checked 26 Nov 2026 against Microsoft’s documentation · Sources
Cheapest ways to use it
a monthThe cheapest plan of each tool that offers MAI Code 2.
Section 01 · Where it runs
Where you can use MAI Code 2
In 2 tools on this site: 1 editor and 1 coding agent, one of them also as a desktop app. None of them offers it on a free plan. Each tool shows the cheapest plan that offers the model and that plan’s monthly price.
No tool of this kind offers MAI Code 2 on a free plan.
Editors 1
The model runs inside the editor’s own AI, or in an AI add-on for it.| Tool | Plan you need | Plan price | How MAI Code 2 is paid | Details |
|---|---|---|---|---|
| GitHub Copilot in Visual Studio and VS Code | Pro | $10 a month | Included | |
Pricing page ↗ Checked 25 Nov 2026 The VS Code page → | ||||
Coding agents 1
In the terminal; one also comes as a desktop app.| Tool | Plan you need | Plan price | How MAI Code 2 is paid | Details |
|---|---|---|---|---|
GitHub Copilot CLI copilot · GitHub Copilot app | Pro | $10 a month | Included | |
Pricing page ↗ Checked 25 Nov 2026 The GitHub Copilot page → | ||||
- Included
- paid from the plan’s allowance
- Plan price
- the cheapest plan that offers it, a month
Section 02 · Family and maker
Next to the other Microsoft models
The MAI Code line
MAI Code 2 is one of 2 MAI Code versions on this site; the newest is MAI Code 2 Flash, released 17 Nov 2026.
| Model | Tier | Released | Status | In / out per 1M | Context | Tools |
|---|---|---|---|---|---|---|
| MAI Code 2 Flash | Microsoft’s own, fast | 17 Nov 2026 | Current | $0.05 / $0.25 | 1M | 2 tools |
| MAI Code 2 This page | Microsoft’s own | 17 Nov 2026 | Current | $0.50 / $2.50 | 1M | 2 tools |
In / out: Microsoft’s list price per 1M tokens. Tools: how many tools on this site offer the model.
Microsoft’s current models
Microsoft has 2 current models on this site, from MAI Code 2 Flash at $0.05 / $0.25 to MAI Code 2 at $0.50 / $2.50 per 1M tokens.
| Model | Tier | Released | Status | In / out per 1M | Context | Tools |
|---|---|---|---|---|---|---|
| MAI Code 2 This page | Microsoft’s own | 17 Nov 2026 | Current | $0.50 / $2.50 | 1M | 2 tools |
| MAI Code 2 Flash | Microsoft’s own, fast | 17 Nov 2026 | Current | $0.05 / $0.25 | 1M | 2 tools |
In / out: Microsoft’s list price per 1M tokens. Tools: how many tools on this site offer the model.
Section 03 · Sources
Where these facts come from
- Model facts
- Price, context, release date, status and API id from Microsoft’s documentation ↗, checked 26 Nov 2026.
- Where it runs
- Plans, plan prices and how each model is paid, from each tool’s own pricing page, checked 25 Nov 2026.