Microsoft releases MAI Code 2 and MAI Code 2 Flash coding models
Update · : The launch was announced at the opening keynote of Microsoft Ignite 2026 in San Francisco on 17 November. Standard prices rise from 17 May 2027: input goes from $0.50 to $1 per million tokens and output from $2.50 to $5, and the cost comparison with Claude Opus 5.5 used a 50% launch discount. Microsoft also plans to license the model weights so companies can tune the MAI models on their own data and run them in their own Azure cloud, and Foundry's model router can cut costs by up to 65%.
Microsoft has introduced two coding models, MAI Code 2 and MAI Code 2 Flash, built for everyday enterprise coding tasks. MAI Code 2 is aimed at taking code to production, deep debugging, multi-file implementation, repo-wide reasoning, and UI work. Flash is designed for high-volume tasks such as code explanations, targeted edits, routine fixes, and rapid iterations. The models are explicitly not tuned for fundamental science research or very long agentic work.
Across four benchmarks that reflect tasks seen in GitHub Copilot, MAI Code 2 reaches 98% of the performance of GPT 6.1 Sol at 40% of the cost, and 96% of Claude Opus 5.5 at 5% of the cost. In blind frontend evaluations, reviewers preferred its results over GPT-6 Sol 67% of the time. MAI Code 2 Flash offers comparable performance to GPT-6 Luna and Claude Haiku 5.5 at 65% and 20% of the cost on three coding benchmarks.
Microsoft also optimized Flash into a single model, MAI Work Flash, to serve multiple Microsoft products across M365 and Fabric IQ. In Word, it performs similarly to GPT 6.1 Sol on five internal benchmarks while using about 42% fewer input tokens per call. Both models are available in GitHub Copilot, and Code 2 Flash is in limited-access preview in Microsoft Foundry, with more platforms planned.
Microsoft shares (MSFT)
484.52 USD −4.3% since the news day, November 17
Close on November 20 Quotes: CNBC Chart by TradingView
Read the original microsoft.aiDiscussion
Discussion
Some commenters are skeptical, saying the lead over OpenAI and Anthropic lasts only a few months, and one says they would still rather use Claude Code or Codex for near-unlimited usage. Another commenter notes the cost comparison is made against GPT 6.1 Sol API prices rather than the newer 6.2.
Sources
-
Microsoft AI
MAI Code 2 and Code 2 Flash
-
KRGeekNews KO
MAI Code 2와 Code 2 Flash - 일상적인 기업 코딩의 가격 대비 성능에 초점을 맞춘 모델
-
KRDigital Daily KO new source ·
[디지털데일리 이안나 기자] 마이크로소프트(MS)가 기업에서 자주 하는 코드 수정과 오류 분석에 특화한 자체 인공지능(AI) 모델을 내놨다. 개발 업무를 에이전트에 반복해서 맡길 때 드는 비용을 낮춰 오픈AI와 ...
Terms
- agentic work — Work in which an AI model carries out multi-step tasks on its own, with little human input at each step.
- token — A small unit of text, such as a word or part of a word, that a language model reads and bills for.




