> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# 微软MAI Code 2与Flash：便宜的编程模型何时够用
- URL: https://globalfeed.ai/zh/wei-ruan-mai-code-2yu-flash-bian-yi-de-bian-cheng-mo-xing-he-shi-gou-yong/
- Published: 2026-11-19T14:05:05.000Z
- Updated: 2026-11-19T14:05:05.000Z
- Description: 微软在 Ignite 发布两款编程模型并上线 GitHub Copilot：如何训练、数据测什么、便宜模型何时够用。
- Author: GlobalFeed Editor
- Tags: Microsoft, MAI Code 2, GitHub Copilot, 编程模型, dil-zh, elle

微软于 11 月 17 日在 Ignite 大会发布 [MAI Code 2 和 MAI Code 2 Flash](https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/?ref=globalfeed.ai)，面向日常企业编程任务，当天即可在 GitHub Copilot 中选用。据微软自己的测量，MAI Code 2 以约 40% 的成本达到 GPT-6.1 Sol 98% 的编程表现，以 5% 的成本达到 Claude Opus 5.5 的 96%；Flash 以 65% 和 20% 的成本取得与 GPT-6 Luna 和 Claude Haiku 5.5 相近的结果。成本按 50% 促销价计算，促销于 2027 年 5 月 17 日结束。

据模型卡，两款模型均由微软从零训练，采用稀疏混合专家架构，上下文窗口 105 万词元。MAI Code 2 总参数约 2.8 万亿、激活 800 亿，基础模型为我们 10 月报道过的 [MAI-Base-2](https://globalfeed.ai/zh/wei-ruan-wan-cheng-zi-yan-ji-chu-mo-xing-mai-base-2-de-yu-xun-lian/)；Flash 总参数约 3980 亿、激活 120 亿，通过从更大教师模型蒸馏训练。后训练的强化学习直接在 GitHub Copilot CLI 和 VS Code 智能体环境中进行。部分合成数据由 OpenAI 的 GPT-5.6 Sol 和 GPT-6 Astra 生成。

微软表示两款模型尚未针对基础科学研究和超长智能体任务调优。实用做法是：日常解释、单文件修复和测试先用轻量模型，跨多个文件时换用大模型。MAI Code 2 面向 Copilot Pro 及以上方案，Flash 也向 Copilot Free 和学生方案开放，并在 Microsoft Foundry 有限预览。所有对比数据均来自微软。

来源： [MAI Code 2 发布文章（Microsoft AI）](https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/?ref=globalfeed.ai), [MAI Code 2 模型卡（PDF）](https://microsoft.ai/pdf/MAI-Code-2-And-MAI-Code-2-Flash-Model-Card.pdf?ref=globalfeed.ai), [GitHub Copilot 更新日志](https://github.blog/changelog/2026-11-17-mai-code-2-and-mai-code-2-flash-in-github-copilot?ref=globalfeed.ai), [GitHub Copilot 模型价格](https://docs.github.com/copilot/reference/copilot-billing/models-and-pricing?ref=globalfeed.ai)