# 微软发布编程模型 MAI Code 2 与 Code 2 Flash，GitHub Copilot 已正式可用，旧版 MAI-Code-1.1-Flash 将弃用



Microsoft



MAI Code 2 是通用编程模型，适合深度调试、多文件实现、重构和全仓库推理；MAI Code 2 Flash 是轻量低成本版本，适合代码解释、定点修改和日常修复。两款都面向智能体式编程。微软称 MAI Code 2 在四项企业编程基准上平均达到 GPT-6.1 Sol 98% 的表现，成本为其 40%。可在 VS Code、Visual Studio、Copilot CLI、github.com、JetBrains、Xcode 等的模型选择器中使用。微软称稍后将上架 OpenRouter、Vercel、OpenCode、Kilo 等平台。GitHub 同时宣布，将在 Copilot 全部场景弃用 MAI-Code-1.1-Flash，建议把工作流改用最新的 MAI Code Flash 模型；企业管理员可能需要先在 Copilot 模型策略中启用。


## 使用范围

GitHub Copilot 正式可用（MAI Code 2：Pro、Pro+、Max、Business、Enterprise；Flash 另含 Free 与 Student；均限符合条件的年付订阅），按用量计费；Code 2 Flash 在 Microsoft Foundry 受限预览
- 发布日期: 2026年11月18日 06:08 · 北京时间（UTC+8）

## 来源

- Source archive: https://github.blog/changelog/2026-11-17-mai-code-2-and-mai-code-2-flash-in-github-copilot/
- Source archive: https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/
- Source excerpt: https://x.com/github/status/2122814155979706846
- Source archive: https://github.blog/changelog/2026-11-17-upcoming-deprecation-of-mai-code-1-1-flash-in-december/

详情页：https://www.ailyre.com/source/?id=microsoft-mai-code-2-and-flash&lang=zh
