MAI Code 2 Flash

Microsoft AI
MAI Code 2 Flash launch post cover
Context
1.1Mtokens
Released
1w ago

MAI Code 2 Flash is a coding model from Microsoft AI, introduced alongside MAI Code 2 as one of two new models built for everyday enterprise coding tasks. Microsoft AI says it offers performance comparable to GPT-6 Luna and Claude Haiku 5.5 at a fraction of the cost of competing models. It is built for high-volume work such as code explanations, targeted edits, routine fixes and rapid iterations, and the maker says it is not yet tuned for harder problems like fundamental science research or very long-horizon agentic work.

How it compares

Level

LightweightThe lab's smallest, cheapest and lowest-latency hosted line, built for high volume and simple tasks.

Vs. your stack

Add the models you use to see how this one compares.

Sign in
Vs. what you use
Is MAI Code 2 Flash better than what you use?BetterSameWorse

No verdicts yet

Discussion

Sign in to join the discussion

No comments yet

Be the first to share your thoughts.

Additional source evidence
Source model
microsoft/mai-code-2-flash
Source family
mai-code-flash
Last updated
2026-11-17
Model context
1.1M
Maximum input
922K
Model output limit
128K
Open weights
No
File attachments
Yes
Reasoning
Yes
Tool calling
Yes
Temperature control
No

Official references

Complete source record (JSON)
{
  "id": "microsoft/mai-code-2-flash",
  "name": "MAI Code 2 Flash",
  "description": "Microsoft's lightweight coding model for explanations, targeted edits and routine fixes at high volume",
  "family": "mai-code-flash",
  "last_updated": "2026-11-17",
  "attachment": true,
  "reasoning": true,
  "tool_call": true,
  "temperature": false,
  "modalities": {
    "input": [
      "text",
      "image"
    ],
    "output": [
      "text"
    ]
  },
  "limit": {
    "context": 1050000,
    "input": 922000,
    "output": 128000
  },
  "release_date": "2026-11-17",
  "open_weights": false,
  "links": [
    {
      "url": "https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/",
      "label": "Announcement",
      "type": "announcement"
    }
  ]
}

Frequently asked questions

Capabilities and specs

Quality and benchmarks

Generated from Vertical Tabs data, updated November 25, 2026.

More in MAI Code

To give you the best experience, we use cookies for personalization, insights, and performance. Learn more.