What Is MAI Code 2? Microsoft's New AI: Pricing and Performance
機械翻訳 / Machine-translated

機械翻訳 / Machine-translated
@aifriends
AI Friends(https://aifriends.jp)のクロスポスト公式アカウント。AIツールの紹介・使い方・できることを、中学生でもわかるやさしい日本語で届けます。
Have you ever felt that "AI coding is convenient, but the usage fees are too high"? At Ignite 2026, Microsoft announced its own coding AI, positioning affordability as its key selling point. This article breaks down what's inside, the pricing, and the implications for developers in Japan.
On November 17, 2026, Microsoft announced two models on its official blog.
MAI Code 2 is the standard model for writing production-grade code. It excels at production code, deep debugging (tracking down the root cause of issues), multi-file implementations, tasks that require a bird's-eye view of an entire repository, and UI development.
MAI Code 2 Flash is a lightweight, fast compact version. It's suited for high-volume tasks such as explaining code, targeted edits, fixing common bugs, and rapid iteration.
According to Microsoft, neither model has yet been tuned for fundamental scientific research or AI agents that run for very long periods of time. These are not all-purpose models—they're focused on everyday coding.
Microsoft compares the models using an average across four tests: DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas, and FrontierCode v1.1.
According to Microsoft's announcement, it delivers 98% of GPT-6.1 Sol's performance at 40% of the cost. Against Claude Opus 5.5, it delivers 96% of the performance at 5% of the cost.
Looking at the numbers more closely, an InfoWorld article reports average scores of 63.2% for MAI Code 2, 64.1% for GPT-6.1 Sol, and 65.3% for Opus 5.5. In other words, it falls slightly short. On SWE-Atlas in particular, there is a notable gap: MAI Code 2 scores 43.1 versus Opus 5.5's 57.5.
On the other hand, in a blind UI development test (where evaluators don't know which AI produced which output), 258 evaluators preferred MAI Code 2's output over GPT-6 Sol's 64% of the time.
Flash is reported to perform on par with GPT-6 Luna and Claude Haiku 5.5 on three everyday coding tests, at 65% and 20% of their respective costs.
Average scores are 61% for Flash, 55.1% for Luna, and 53.9% for Haiku 5.5. However, looking at individual tests, there are cases where Haiku 5.5 comes out ahead, so performance varies.
The cost per task is $0.309 for MAI Code 2, $0.761 for GPT-6.1 Sol, and $6.306 for Opus 5.5. Flash comes in at $0.052, compared to $0.080 for Luna and $0.319 for Haiku 5.5.
Pricing per million tokens (the unit measuring how much text an AI reads and writes) via GitHub is $0.50 input / $2.50 output for MAI Code 2, and $0.05 input / $0.25 output for Flash.
However, these are 50% discounted prices valid through May 17, 2027. Once the discount ends, MAI Code 2 rises to $1.00 input / $5.00 output, and Flash rises to $0.10 input / $0.50 output. The cost comparison figures are also based on the discounted prices.
A quick summary looks like this:
For example, a team that frequently runs large volumes of code explanations and minor fixes every day would find Flash's low cost highly attractive. Conversely, for complex architectural discussions, there are situations where you'd want to choose a model with even slightly higher accuracy.
According to Techzine, both models are available in GitHub Copilot. Flash has also begun a limited preview on Microsoft Foundry (Microsoft's AI platform for developers).
A Digital Trends article notes that MAI Code 2 is for Pro, Pro+, Max, Business, and Enterprise subscribers. Flash is also available on Free and Student plans with usage limits. It works in Visual Studio Code, Visual Studio, and the GitHub website.
Support for OpenRouter, Vercel, Hermes, OpenCode, and Kilo is listed as "coming soon."
The announcement did not address Japanese language support or Japan-specific pricing. However, since the models are available through GitHub Copilot, Japanese teams that already have subscriptions can try them out if the models have been added to their model selection options.
Consider a mid-sized company's development team that runs AI reviews on hundreds of pull requests every month and finds the billing a constant concern. By delegating draft reviews to Flash and routing only the complex fixes to a high-performance model, they may be able to keep costs in check.
That said, there are analyst perspectives cited by InfoWorld worth keeping in mind. Pareekh Jain noted that if model costs account for 10% of development expenses, a 60% reduction only translates to roughly a 6% overall saving. Sanchit Vir Gogia pointed out that the gap narrows once the discount ends.
Additionally, Microsoft's model card rates the model highly for offensive cybersecurity capabilities. Security implications are something to verify during the pilot phase.
Microsoft has also introduced MAI Work Flash, a further adaptation of Flash. It's a model tailored for Microsoft 365 and Fabric IQ.
For Excel and PowerPoint, it delivers quality on par with GPT-6 Luna. For Word, it performs close to GPT-6.1 Sol while requiring approximately 42% fewer input tokens per call. For Teams, it is said to operate with up to 28% fewer tokens than Luna.
MAI Code 2 is not only for developers—it is beginning to power the backend of Microsoft's own products.
A. MAI Code 2 is for paid plan subscribers. Flash has been reported to be available on Free and Student plans as well, with usage limits.
A. On average scores, it falls slightly short. Its strength is its price. Note that the benchmarks were measured by Microsoft itself.
A. The 50% discount runs through May 17, 2027. After that, prices double.
A. Microsoft states that it has not yet been tuned for agents that run for very long periods of time.
Start small by testing against your own code, and compare the cost and quality per change against the models you're currently using.
This article is a cross-post from AI Friends.