Microsoft MAI Code 2 and MAI Cyber 2 Flash: What Is Verified, What Is Not

AI-generated illustration of MAI Code 2 and MAI Cyber 2 Flash represented by coding and cybersecurity paths converging toward a shared cost gauge.

At Microsoft Ignite on November 17, 2026, Microsoft AI released MAI Code 2, a coding model now in GitHub Copilot, and MAI Cyber 2 Flash, a security model available in preview only inside Microsoft’s MDASH scanning system. Microsoft claims near-frontier results at much lower cost. Those figures are vendor-reported, and Code 2’s cost comparison uses promotional pricing.

The most quoted line from Ignite says MAI Code 2 reaches 96% of Claude Opus 5.5’s coding performance at 5% of the cost. The footnote says that cost is shown at a 50% promotional price. According to GitHub’s pricing documentation, as of November 2026, that promotion ends on May 17, 2027.

This guide covers what shipped, who can use it today, what it costs before and after the promotion, and which claims rest on Microsoft’s own testing alone.

What did Microsoft announce at Ignite 2026, and what can you use today?

Microsoft’s announcement post lists seven items. Only some are language models you can use now, and one is a chip. Here is the status of each as of November 18, 2026.

ItemWhat Microsoft says it doesAccess today
MAI Code 2Everyday enterprise coding, multi-file work, UI and dashboardsGenerally available in GitHub Copilot (Pro, Pro+, Max, Business, Enterprise)
MAI Code 2 FlashHigh-volume routine coding: explanations, small edits, quick fixesGenerally available in Copilot (including Free and Student); limited-access preview in Microsoft Foundry
MAI Cyber 2 FlashFind, validate and help fix code vulnerabilitiesPreview only inside Codename MDASH, for eligible organizations
Microsoft-Decision-1.1Routing, classification, prioritization, verificationGenerally available in Foundry, OpenRouter and Vercel
MAI Image 2.7 and FlashImage editing and generationMicrosoft Foundry (the Book of News lists it as preview)
MAI Realtime 1Speech-to-speech conversation, from $0.01 per audio minuteTry in MAI Labs; interest form
MAI Transcribe 2 (in Dragon Copilot Transcribe)Medical and multilingual transcriptionLive in Dragon Copilot
Maia 200Second-generation AI acceleratorIn production, according to Microsoft

Names that get mixed up

NameWhy it confuses
“Seven models”Microsoft also announced seven MAI models at Build on June 2, 2026 (MAI-Thinking-1, MAI-Code-1-Flash and others). Ignite’s seven is a different list.
MAI Code 2 vs MAI-Code-1.1-FlashThe older Flash model reached Copilot in August 2026. GitHub’s changelog lists an upcoming deprecation of it in December.
MAI Cyber 2 Flash vs Cyber 1.1 FlashThe Book of News says MDASH supports Cyber 1.1 Flash today and will use Cyber 2 once evaluation testing is complete.
Decision 1.1Microsoft says it is built on Gemma 4 26B A4B, so it is not an MAI model trained from scratch.

How reliable is “98% of GPT-6.1 Sol at 40% of the cost”?

Treat it as a vendor claim with real conditions attached. Microsoft averaged four benchmarks: DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode v1.1. It reports 98% of GPT-6.1 Sol’s performance at 40% of the cost, and 96% of Claude Opus 5.5’s at 5%.

ConditionWhat Microsoft’s footnotes say
Who ran the testsThree benchmarks ran on Microsoft’s internal MSBench platform using the GitHub Copilot CLI without subagents. FrontierCode scores and costs come from Artificial Analysis.
SettingsAll models ran at maximum reasoning effort.
Price usedMAI Code 2’s cost is shown at its 50% promotional price.
ScopeMicrosoft says the models are not yet tuned for fundamental science research or very long-horizon agentic work.

What most people miss

  • The 96% figure means Code 2 scores slightly below Opus 5.5 on Microsoft’s own tests. The pitch is price, not a win.
  • Microsoft’s baselines are GPT-6.1 Sol and GPT-6 Astra. GitHub’s changelog lists GPT-6.2 Astra and GPT-6.2 Sol as released the same day. I found no Microsoft comparison against the 6.2 versions.
  • Microsoft’s own pages disagree on the blind frontend test. The Ignite overview says developers preferred Code 2 over GPT-6 Sol 64% of the time. The Code 2 post says 67%, from 258 annotators. Neither figure has been independently reproduced.
  • I found no independent benchmark of MAI Code 2 as of November 18, 2026.

What will MAI Code 2 cost, now and after May 2027?

In GitHub Copilot, MAI Code 2 costs $0.50 per million input tokens and $2.50 per million output tokens until May 17, 2027. After that date it doubles to $1.00 and $5.00, according to GitHub’s pricing documentation.

ModelPeriodInputCached inputOutput
MAI Code 2Until May 17, 2027$0.50$0.025$2.50
MAI Code 2From May 17, 2027$1.00$0.05$5.00
MAI Code 2 FlashUntil May 17, 2027$0.05$0.005$0.25
MAI Code 2 FlashFrom May 17, 2027$0.10$0.01$0.50

All prices are per million tokens. GitHub bills these models under usage-based billing.

Cost math (illustrative). Microsoft says its relative-cost figures use the promotional price. If you assume the list price is simply double and your token use stays the same, the comparisons shift. This is my arithmetic, not a Microsoft claim.

ComparisonMicrosoft’s figure (promo)Simple doubling at list price
Code 2 vs GPT-6.1 Sol40%about 80%
Code 2 vs Claude Opus 5.55%about 10%
Code 2 Flash vs GPT-6 Luna65%about 130%
Code 2 Flash vs Claude Haiku 5.520%about 40%

Under that assumption, Flash would cost more than GPT-6 Luna after the promotion, not less. Real cost per task also depends on how many tokens each model uses, which Microsoft does not break out.

For a sample monthly workload of 20 million uncached input tokens, 60 million cached input tokens and 4 million output tokens (assumed for illustration), the math is:

  • Code 2: $21.50 at promo price, $43.00 at list.
  • Code 2 Flash: $2.30 at promo price, $4.60 at list.

Cached-input share and output length drive most of the bill. Our context engineering guide explains how context size affects token spend. For a pricing comparison with a rival small model, see our Claude Haiku 5.5 pricing explainer.

AI-generated bar chart comparing promotional and illustrative list costs for MAI Code 2 and Flash against GPT-6.1 Sol, Claude Opus 5.5, GPT-6 Luna and Claude Haiku 5.5.

Who can use MAI Code 2 right now?

You need a paid GitHub Copilot plan for Code 2. Per GitHub’s changelog of November 17, 2026, Code 2 is available on Copilot Pro, Pro+, Max, Business and Enterprise. Code 2 Flash is also available on Free and Student.

You can pick the models in Visual Studio Code, Visual Studio, Copilot CLI, the Copilot cloud agent, the Copilot app, github.com, GitHub Mobile, JetBrains, Xcode and Eclipse.

  • Admins: Business and Enterprise administrators manage access through the model policy in Copilot settings. GitHub says new models are enabled automatically under default model enablement, unless the global default is off or the model is explicitly disabled.
  • Plan wording: GitHub also says both models are available to “eligible” subscribers on annual plans. The changelog does not explain that qualifier further, so check your plan before assuming access.
  • Foundry: Microsoft says Code 2 Flash, not Code 2, is in limited-access preview in Foundry.
  • Other channels: Microsoft says it will release the models on OpenRouter, Vercel, Hermes, Open Code and Kilo “soon,” with no dates given.
AI-generated infographic showing access channels for MAI Code 2, Code 2 Flash and Cyber 2 Flash, including GitHub Copilot, Microsoft Foundry, Codename MDASH and upcoming integrations.

What is MAI Cyber 2 Flash, and can you use it?

MAI Cyber 2 Flash is Microsoft’s security-specialist model for finding, verifying and fixing software vulnerabilities. It is not a standalone product. Microsoft says it is coming exclusively to Microsoft security products, including Codename MDASH.

MDASH is Microsoft’s agentic code-security system. According to the Ignite Book of News, it uses more than 100 specialized AI agents in a four-stage pipeline. It maps the attack surface, scans code, validates findings through agent debate and removes duplicates. Where possible, it reproduces findings with a triggering input. It is in preview for eligible organizations.

Access. Microsoft’s blog says Cyber 2 Flash will automatically replace the existing model in the MAI profile for eligible MDASH customers starting mid-December. Reuters reported that Microsoft plans to offer the model to a limited group of customers. Microsoft’s model page directs interested organizations to register interest.

Microsoft’s benchmark claims (vendor-reported):

  • On CyberGym-E2E, Cyber 2 Flash scored 92.3% against 91.5% for GPT-6 Astra. Microsoft says it used half the reasoning budget.
  • Microsoft’s own wording on the model’s blog post is “matches.” That is a 0.8-point gap, not a clear win.
  • The scores cover 813 tasks. Microsoft found that 92 of the benchmark’s 905 tasks overlap with open-source projects in its training data, so it excluded them for every model. It says the benchmark’s reference solutions were never used in training.
  • On WebExploitBench it scored 40.4% against 38.4% for GPT-5.6 Cyber at the same reasoning budget.
  • It has a one-million-token context window, four times that of Cyber 1.1 Flash.
  • Microsoft says the cost is under 2% per task, based on list prices of $0.10, $0.01 and $0.50 per million tokens against $10, $1 and $50 for GPT-6 Astra. It states this reflects offline evaluation cost, not customer spend.
  • Microsoft’s overall comparison against GPT-6 Cyber is not yet published. It says that model is available only to select customers and that results are coming in the coming weeks.

What most people miss

  • Microsoft’s own pages are inconsistent. The model page shows 83.2% on CyberGym-E2E and “under 1%” per-task cost, while the blog shows 92.3% and “under 2%.” I used the blog because it carries footnotes.
  • Microsoft says Cyber 2 Flash handles up to 90% of MDASH tasks and larger models handle the hardest cases. The headline cost therefore applies to part of the workflow.
  • Several summaries cite “12 billion active parameters.” I could not find that figure in Microsoft’s announcement, model page or Book of News. The only Cyber model card linked is for Cyber 1 Flash (137 billion total, 5 billion active). Treat the 12-billion figure as unconfirmed.
  • I found no independent evaluation of Cyber 2 Flash. In July 2026, The New York Times reported that Microsoft did not share the earlier MAI-Cyber-1-Flash with independent testers before release.

Reuters reported that Microsoft AI chief Mustafa Suleyman cited the recent wave of AI-driven hacking, including OpenAI agents’ breach of Hugging Face, as a reason to emphasize safeguards and alignment.

What are MAI Licensed Weights?

MAI Licensed Weights lets organizations deploy and customize Microsoft AI models in their own Azure environment. Microsoft says customer data and adaptations stay with the customer, and that Microsoft uses them to train its models only with express agreement. It is not available yet: Microsoft says it is “coming soon” through Frontier Company engagements, so you contact your Microsoft account team.

Microsoft cites customer results from AT&T, Woven by Toyota and Alaska Airlines. These are customer-specific evaluations of tuned models. Microsoft says results vary by workload.

Myth vs fact: common misreadings

Claim you may seeWhat the primary sources say
“MAI Code 2 is 95% cheaper than Claude Opus 5.5”Microsoft says 5% of the cost at its promotional price. Simple doubling at list price implies about 10%.
“Code 2 is in Microsoft Foundry”Microsoft says Code 2 Flash is in limited-access preview there.
“Cyber 2 Flash beats GPT-6 Astra”92.3% vs 91.5% on 813 tasks; Microsoft’s blog says “matches.”
“Anyone can use Cyber 2 Flash”Preview only inside MDASH for eligible organizations.
“Microsoft launched seven new MAI language models”The list includes a chip, a transcription product and a Gemma-based decision model.

Should you switch to MAI Code 2? A four-question test

Use a quick check before you move work to it. I call it the Promo-Proof Test. It is an illustrative framework, not an official one.

  1. Task fit: Is your work everyday multi-file edits, debugging and UI, or very long autonomous runs? Microsoft says the latter is not yet tuned.
  2. Price resilience: Does your budget still work if Code 2’s price doubles on May 17, 2027?
  3. Proof on your code: Did it match your current model on a sample of your own tickets?
  4. Access: Is your plan eligible, and has your admin left the model enabled?

If you answer yes to all four, pilot it. If you answer no to question 2 or 3, use Flash for routine tasks only. If you answer no to question 1, keep your current model for long-horizon agents.

AI-generated decision flowchart showing four evaluation steps—task fit, price resilience, proof on your code and access—with outcomes to pilot MAI Code 2, use Flash only or keep the current model.

Who should try it: Copilot teams with high-volume routine coding, and cost-sensitive teams that can measure results on their own repositories. For background on agent-style tools versus chat, see AI coding agents vs chatbots.

Who should wait: Teams that need very long autonomous runs, anyone relying on Microsoft’s benchmark claims alone, and security teams outside MDASH, who cannot access Cyber 2 Flash yet. If you are comparing other enterprise agents, see our look at the Google Cloud Gemini agent for enterprise work. For a sense of what inference capacity costs elsewhere, see our GPU rental pricing guide.

How to check this yourself:

  • Open the Copilot model picker and confirm whether Code 2 appears on your plan.
  • Run 20 recent, real tasks on Code 2 and on your current model.
  • Record tokens used, retries and whether the output was merge-ready.
  • Re-run the cost with the May 17, 2027 prices.
  • If you administer Copilot, review the model policy setting.

FAQs

What is MAI Code 2?
MAI Code 2 is a Microsoft AI coding model announced at Ignite on November 17, 2026. Microsoft says it is built for everyday enterprise coding, including multi-file work and UI. It is generally available in GitHub Copilot.

Is MAI Code 2 better than Claude Opus 5.5?
Microsoft’s own tests put it at 96% of Opus 5.5’s performance at 5% of the cost, at a promotional price. That is slightly lower quality, not higher. I found no independent comparison.

When does MAI Code 2’s price go up?
According to GitHub’s documentation, the promotional price ends on May 17, 2027. Code 2 then costs $1.00 per million input tokens and $5.00 per million output tokens.

Can I use MAI Cyber 2 Flash through an API?
I found no standalone API. Microsoft says it is available in preview only inside Codename MDASH for eligible organizations, and directs others to register interest.

Does MAI Cyber 2 Flash work alone?
No. Microsoft says it handles up to 90% of MDASH tasks, and larger models handle the hardest cases.

Is MAI Code 2 free?
GitHub lists Code 2 for paid plans only, and Code 2 Flash for Free and Student as well. Both are billed under usage-based billing. I did not verify Free-plan allowances.

Conclusion

MAI Code 2 is a real, available product with a credible price pitch, but the strongest claims are Microsoft’s own. MAI Cyber 2 Flash is a preview inside MDASH with no independent results yet.

Key takeaways:

  • Microsoft’s 40% and 5% cost figures use a promotional price that ends May 17, 2027.
  • Code 2 Flash is the Foundry preview model; Code 2 is not.
  • Cyber 2 Flash roughly matches GPT-6 Astra on a reduced task set, by Microsoft’s account.

Next step: Test Code 2 on 20 of your own tasks in Copilot and price the results at both promotional and list rates.

Related: Context engineering guide

Disclaimer: This article is for informational purposes only. It is not affiliated with, sponsored by or endorsed by Microsoft, GitHub, OpenAI, Anthropic or any brand mentioned. Prices, features and policies may change. Information last verified on November 18, 2026. Benchmark and cost figures are vendor-reported, and AI output can be inaccurate, so verify security tools independently before relying on them.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top