MAI Code 2 Flash

MAI Code 2 Flash

Everyday coding at scalable prices — the cheap Copilot default for routine fixes.

Microsoft's fast, low-cost coding model for routine work in GitHub Copilot: explanations, targeted edits and fixes at $0.05 per million input tokens.

Microsoft AI launch post for MAI Code 2 and Code 2 Flash

Microsoft AI launch post for MAI Code 2 and Code 2 Flash

Overview

What is MAI Code 2 Flash?

Everyday coding at scalable prices — the cheap Copilot default for routine fixes.

MAI Code 2 Flash is Microsoft's small, fast coding model, announced on November 17, 2026 at Ignite as part of the MAI Code 2 family. It is built for high-volume everyday work — code explanations, targeted edits, routine fixes and rapid iteration — inside GitHub Copilot, where it is available on every plan including Free and Student.

Microsoft reports Flash averaging 61.0% across three coding benchmarks (DeepSWE 59.9%, Terminal-Bench 2.1 78.3%, SWE-Atlas 44.8%), ahead of GPT-6 Luna at 55.1% and Claude Haiku 5.5 at 53.9% on the same average, at 65% and 20% of their cost. Those figures are Microsoft's own, run at maximum reasoning effort, and have no independent replication yet.

Pricing is promotional: $0.05 per million input tokens and $0.25 per million output tokens until May 17, 2027, then $0.10 and $0.50. Microsoft says the models are explicitly not yet tuned for harder problems such as fundamental science research and very long-horizon agentic work.

Platforms and languages

MAI Code 2 Flash Availability

Platforms

WebMacosWindowsLinux

Languages

English

Capabilities

MAI Code 2 Flash Key Features

Built for routine coding

Code explanations, targeted edits, routine fixes and rapid iteration — the high-volume work in a developer's day.

In GitHub Copilot on every plan

Available in Copilot Free, Student, Pro, Pro+, Max, Business and Enterprise, in VS Code, Visual Studio, JetBrains and the Copilot CLI.

61.0% across three benchmarks

Microsoft reports a 61.0% average on DeepSWE, Terminal-Bench 2.1 and SWE-Atlas, ahead of GPT-6 Luna and Claude Haiku 5.5 on the same average.

Promo pricing until May 2027

$0.05 input and $0.25 output per million tokens until May 17, 2027, then $0.10 and $0.50. Microsoft quotes $0.052 per task at promo rates.

12B active parameters

A compact model with 12 billion active parameters (about 398 billion total), built for speed and low cost per call.

Plans and access

MAI Code 2 Flash Pricing

Freemium

Promo $0.05 in / $0.25 out per 1M tokens until May 17, 2027; then $0.10 / $0.50.

Common questions

MAI Code 2 Flash FAQs

How much does MAI Code 2 Flash cost?

$0.05 per million input tokens and $0.25 per million output tokens until May 17, 2027, then $0.10 and $0.50. Cached input is $0.005, rising to $0.01.

Where can I use MAI Code 2 Flash?

In GitHub Copilot on every plan, including Free and Student, and in a limited-access preview in Microsoft Foundry.

What is MAI Code 2 Flash best for?

High-volume routine work: code explanations, targeted edits, routine fixes and rapid iteration. Microsoft says it is not yet tuned for hard, long-horizon agentic work.

How does Flash compare with GPT-6 Luna?

Microsoft reports Flash averaging 61.0% against Luna's 55.1% on three coding benchmarks, at 65% of Luna's cost — but only at the promotional price. At list prices after May 2027, Flash costs about 130% of Luna.

Reviews

See what the community thinks and share your experience.

—

Based on 0 ratings

Rating distribution

0
0
0
0
0

Leave a review

Sign in to rate

Community reviews

No reviews

No written reviews yet.

Explore by category

AI Coding Assistants

View all AI Coding Assistants websites
GPT-6.2 Sol preview
GPT-6.2 Sol

OpenAI's everyday model for coding and agentic work: near-frontier quality at $2 per million input tokens, 1.05M-token context.

AI Coding Assistants
Qube preview
Qube

A free, open-source, local-first personal AI agent that does the work, researches the web and uses a real browser — with your choice of model.

AI Coding Assistants
PeerBand preview
PeerBand

Reaches every coding agent you run, from anywhere, with an AI Concierge that talks to your agents over Telegram and MCP.

AI Coding Assistants
Statefold preview
Statefold

Coding agents that keep working in the cloud while you are away, billed by the machine hour instead of by the token.

AI Coding Assistants
Tendeck preview
Tendeck

A native Mac board that runs all your Claude Code and Codex agents at once, letting them hand work to each other and stepping in only when one needs you.

AI Coding Assistants

Explore by category

AI Development Infrastructure

View all AI Development Infrastructure websites