Skip to content
Articles

Microsoft MAI-Code-2 review 2026: Pricing, Coding Limits and Agent Workflows

Microsoft launched MAI Code 2 and Decision 1.1 at Ignite 2026. This review details pricing, context limits, benchmarks and agent workflow fit.

Rating 4.5 71 votes
Neo-brutalist 2D editorial illustration of Microsoft MAI-Code-2 showing modular code blocks and a 1.05M token badge.

Microsoft MAI-Code-2 review shows the new coding model reaches 63.2 percent average pass rate on enterprise benchmarks while offering promotional rates of $0.50 per million input tokens through May 2027. It targets complex debugging and multi-file edits inside GitHub Copilot. Decision 1.1, released the same day, handles structured routing and verification tasks at $0.042 per million input tokens.

Microsoft MAI-Code-2 review: Benchmarks, Limits and Context

MAI Code 2 supports up to 1.05 million tokens total context, with a maximum of 922,000 input tokens and 128,000 output tokens. The model accepts text and image inputs plus function calling and structured output. It includes a selectable reasoning effort setting that users can adjust per task.

Microsoft reported results at maximum reasoning effort: 63.2 percent across DeepSWE 1.1, Terminal-Bench 2.1, SWE-Atlas and FrontierCode v1.1. In a blind frontend evaluation with 258 annotators, the model was preferred over GPT-6.1 Sol 64 to 67 percent of the time. MAI Code 2 Flash targets routine edits and explanations and performs near GPT-6 Luna and Claude Haiku 5.5 on those tasks.

Key limits appear in the model card. The system is not tuned for fundamental science research or very long-horizon agentic workflows. Some sessions show repetition, drift or incomplete verification after extended runs. Context in current Copilot implementations is capped at 128,000 tokens in several reported tests. Image input works for UI tasks but adds to token count.

  • Deep debugging and repo-wide reasoning: supported
  • Production-ready multi-file edits: supported
  • Long agentic sessions: risk of drift noted
  • Fundamental research tasks: not optimized

Decision 1.1 Pricing, Speed and Agent Routing

Decision 1.1 reached general availability on November 17, 2026. The 26-billion-parameter MoE model returns calibrated probabilities and can abstain from decisions. It accepts text, JSON and image input but is not intended for open-ended generation. Median task time is 123 milliseconds, more than twice as fast as its predecessor.

Neo-brutalist 2D diagram illustrating Decision 1.1 AI agent routing and 26B parameter architecture.
Decision 1.1 routes tasks via calibrated probabilities across a 26B MoE engine.

Foundry pricing lists $0.042 per million input tokens under Global Standard rates. Output tokens are free. Context length sits at 32,000 to 33,000 tokens. Early enterprise adopters include Epic and Equinor, where the model routes tickets and prioritizes workflows inside existing Copilot systems.

Microsoft positions Decision 1.1 as a low-cost component for agent orchestration. It scores 68 on the Artificial Analysis Decision Index v2.1, ahead of several competing decision models. Internal use covers Copilot routing and M365 task classification.

Pricing Comparison and Practical Deployment

Promotional rates in GitHub Copilot run through May 17, 2027. After that, standard rates double. Flash remains available on Free and Student tiers. Both models appear in Copilot model picker, Fusion mode and CLI agent tools. Licensed weights are planned for select Azure customers later.

ModelPromo input/outputStandard input/outputContext
MAI Code 2$0.50 / $2.50$1 / $51.05M
MAI Code 2 Flash$0.05 / $0.25$0.10 / $0.50128k
Decision 1.1$0.042 / free$0.042 / free33k

Average task cost at promotional pricing stands at roughly $0.309 for MAI Code 2 versus $0.761 for GPT-6.1 Sol and $6.306 for Claude Opus 5.5 on comparable work. Flash averages $0.052 per task. These figures assume maximum reasoning effort and typical enterprise prompt lengths. Wider Foundry and API access is expected in 2027.

Frequently asked questions

What context limit does MAI Code 2 support?

The model lists 1.05 million tokens total, with 922,000 input and 128,000 output. Current Copilot deployments often enforce a 128,000 token cap.

How much does Decision 1.1 cost on Foundry?

Global Standard pricing is $0.042 per million input tokens with output free. Rates are slightly higher in some US, EU and APAC zones.

Can MAI Code 2 run long agentic workflows?

The model card notes potential repetition and drift in extended sessions. It is not optimized for very long-horizon agent tasks.

When do promotional prices end?

GitHub Copilot promotional rates for MAI Code 2 end on May 17, 2027, after which standard doubled rates apply.

Comments 1

Priya
I like that they finally added context limits in the article, makes it easier to compare with GPT models.

Leave a comment