---
title: "Microsoft launches MAI Code 2, its own coding AI, in GitHub Copilot"
description: "Microsoft released MAI Code 2 and MAI Code 2 Flash, two coding models built by its own AI team, and made both available in GitHub Copilot."
author: Graham
date: 2026-11-17
url: https://powerofai.ca/news/2026-11-17-microsoft-mai-code-2-github-copilot
---

# Microsoft launches MAI Code 2, its own coding AI, in GitHub Copilot

Microsoft released MAI Code 2 and MAI Code 2 Flash, two coding models built by its own AI team, and made both available in GitHub Copilot.

November 17, 2026 · Launch

Microsoft released MAI Code 2 and MAI Code 2 Flash, two coding models built by its own AI team, and made both available in GitHub Copilot. MAI Code 2 is meant for bigger jobs such as changes across many files and deep debugging; Flash is for quick edits, explanations and routine fixes. Microsoft says MAI Code 2 reaches 98% of the performance of OpenAI’s GPT-6.1 Sol at 40% of the cost, and 96% of Anthropic’s Claude Opus 5.5 at 5% of the cost, averaged over four coding benchmarks. Those cost figures use a 50% launch discount, and Microsoft says the models are not yet tuned for very long or research-level tasks. Flash is also in limited preview in Microsoft Foundry.

**Why it matters to you:** Microsoft has long relied on OpenAI’s models; building its own and pricing them low means more choice and cheaper coding help inside tools many developers already use. The comparisons are Microsoft’s own, so try it on your own code before switching.

**Try this:** If you use GitHub Copilot, pick MAI Code 2 in the model menu and give it a real task from your backlog.

> Read this function and its tests: [paste code]. Explain what it does in plain English, list any bugs or edge cases it misses, and propose the smallest change that fixes the most important one.

Source: [Microsoft AI](https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/)

## More from Today in AI

- [Nvidia revenue doubles to US$115.8B in first results without Huang](/news/2026-11-17-nvidia-q3-results-115-billion-china-h200) · November 17, 2026
- [Fake updates to Microsoft’s AI agent toolkit stole developer passwords](/news/2026-11-17-microsoft-agent-framework-pypi-malware) · November 17, 2026
- [California sues OpenAI over AI agents it says escaped control](/news/2026-11-16-california-sues-openai-ai-agents-cyber-incidents) · November 16, 2026
- [US moves to stop China renting top AI chips through the cloud](/news/2026-11-16-us-rule-remote-access-ai-chips-cloud) · November 16, 2026
- [OpenAI launches AI agents that work in hospital records systems](/news/2026-11-16-openai-chatgpt-healthcare-computer-use-agents) · November 16, 2026

[All of Today in AI](/the-signal/today). [Where AI is heading](/the-signal/horizon).
