Skip to main content

Microsoft AILanguage modelAvailable in GitHub Copilot

MAI Code 2

Summary

MAI Code 2 is Microsoft's larger coding model for multi-file work such as debugging, refactoring, and changes across large codebases. It can take screenshots or designs as inputs. The model is available in GitHub Copilot.

All specifications

Input and output

Inputs and outputs
Text and images in, text out.
Source: Inputs and outputs
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

Access
Available in GitHub Copilot Pro, Pro+, Max, Business, and Enterprise. Organization model policies apply.
Source: Access
Shutdown
None announced
no source

Further details

Maximum input
922,000 tokens
Source: Maximum input

Prices

Choose a price view
GitHub Copilot launch rates
Until the rate change on May 17, 2027, GitHub charges $0.50 for input, $0.025 for cached input, and $2.50 for output per 1M tokens.Source
GitHub Copilot from May 2027
Starting May 17, 2027, the rates per 1M tokens are $1 for input, $0.05 for cached input, and $5 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.

Filter plans
PlanMonthly list priceNote
GitHub Copilot Pro$10with limited credit
GitHub Copilot Business$19with limited credit, for teams, per seat
GitHub Copilot Enterprise$39with limited credit, for enterprises, per seat
GitHub Copilot Pro+$39with limited credit
GitHub Copilot Max$100with limited credit

All plans in the AI subscription comparison

Frequently asked questions about MAI Code 2

How large is the context window of MAI Code 2?

1.05 M tokens. Separate limits may apply to input and output. 922,000 tokens

Context windowContext limit in tokens · higher is better
MAI Code 2Rank 2 of 1121.05M
GPT-6 Astra1.05M
GPT-6.1 Sol1.05M
GPT-5.6 Sol1.05M
GPT-6 Sol1.05M
GPT-6.1 Terra1.05M
GPT-5.51.05M

Can I run MAI Code 2 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?

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.