MAI Code 2 / MAI Code 2 Flash
Microsoft AI / MAI · 2026-11-17 · 专项模型
官方发布来源 · 按需求选型 · 查看覆盖缺口 · 归档与转录记录
MAI Code 2
微软官方定位:MAI Code 2 是面向日常企业编码任务的价格性能前沿模型,擅长把代码带上生产、深层调试、多文件实现、仓库级推理与 UI,官方同时声明它尚未针对基础科学研究与超长程智能体工作调优。本次收录 4 项基准:DeepSWE 1.1 73.2%、Terminal-Bench 2.1 84.6%、SWE Atlas 43.1%、FrontierCode v1.1 52.0%——前三项为微软在 MSBench + GitHub Copilot CLI 上自跑,FrontierCode 一项由 Artificial Analysis 提供。
- 输入模态
- 文本
- 上下文
- 官方资料未说明
- 参数
- 官方资料未说明
- 价格(每百万 tokens)
- 无此口径报价;不等于免费
本变体的评测证据
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · table: Pass rate and cost per task at max reasoning effort for MAI Code 2, GPT-6.1 Sol and Claude Opus 5.5. MAI Code 2 cost is at the 50% promotional price. · row: DeepSWE 1.1 · quote_snippet: DeepSWE 1.1 | 73.2% | $0.618 | 74.6% | $1.212 | 69.0% | $10.717
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(without subagents)",
"tools": null,
"shots": null,
"reasoning_effort": "max",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": "3 runs averaged(官方模型页 microsoft.ai/models/mai-code-2/ 图注:All evaluations are averaged over three runs using the same settings)",
"aggregation": null,
"judge": null
}该页服务端 HTML 的 <table> 计数为 0,本行数值取自 base64 编码的 <block-widget> 模板内发布方自带的数据常量(D.bench 数组),浏览器端渲染为带 <caption> 与 <th scope="row"> 的数据表,属机读 DOM 行、非位图/OCR,故记 verified。quote_snippet 是渲染后的数据表整行(列序:MAI Code 2 pass rate / cost per task,GPT-6.1 Sol 同两列,Claude Opus 5.5 同两列)。页脚脚注「MAI Code 2 performance and price: All models were run at max reasoning effort. DeepSWE 1.1, TerminalBench 2.1 and SWE Atlas were run on MSBench (Microsoft's internal eval platform) with the GitHub Copilot CLI without subagents.」同图竞品列(按口径不拆独立行):GPT-6.1 Sol 74.6%(成本 $1.212)、Claude Opus 5.5 69.0%(成本 $10.717)。成本为五折促销价下的每任务成本,属效率对照,不建行。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · table: Pass rate and cost per task at max reasoning effort for MAI Code 2, GPT-6.1 Sol and Claude Opus 5.5. MAI Code 2 cost is at the 50% promotional price. · row: Terminal-Bench 2.1 · quote_snippet: Terminal-Bench 2.1 | 84.6% | $0.081 | 85.0% | $0.265 | 78.7% | $1.842
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(without subagents)",
"tools": null,
"shots": null,
"reasoning_effort": "max",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": "3 runs averaged(官方模型页 microsoft.ai/models/mai-code-2/ 图注:All evaluations are averaged over three runs using the same settings)",
"aggregation": null,
"judge": null
}数值取自 base64 编码的 <block-widget> 模板内发布方自带数据常量(机读 DOM 行,非位图/OCR)。quote_snippet 是渲染后的数据表整行(列序:MAI Code 2 pass rate / cost per task,GPT-6.1 Sol 同两列,Claude Opus 5.5 同两列)。脚注明示该基准在 MSBench + GitHub Copilot CLI(不用 subagents)、max reasoning effort 下测得。同图竞品列(按口径不拆独立行):GPT-6.1 Sol 85.0%(成本 $0.265)、Claude Opus 5.5 78.7%(成本 $1.842)。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · table: Pass rate and cost per task at max reasoning effort for MAI Code 2, GPT-6.1 Sol and Claude Opus 5.5. MAI Code 2 cost is at the 50% promotional price. · row: SWE Atlas · quote_snippet: SWE Atlas | 43.1% | $0.228 | 47.4% | $0.605 | 57.5% | $4.234
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(without subagents)",
"tools": null,
"shots": null,
"reasoning_effort": "max",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": "3 runs averaged(官方模型页 microsoft.ai/models/mai-code-2/ 图注:All evaluations are averaged over three runs using the same settings)",
"aggregation": null,
"judge": null
}数值取自 base64 编码的 <block-widget> 模板内发布方自带数据常量(机读 DOM 行,非位图/OCR)。quote_snippet 是渲染后的数据表整行(列序:MAI Code 2 pass rate / cost per task,GPT-6.1 Sol 同两列,Claude Opus 5.5 同两列)。页面行名只写 "SWE Atlas",未标版本/子集,故 benchmark_variant 留 null;脚注明示该基准在 MSBench + GitHub Copilot CLI(不用 subagents)、max reasoning effort 下测得。同图竞品列(按口径不拆独立行):GPT-6.1 Sol 47.4%(成本 $0.605)、Claude Opus 5.5 57.5%(成本 $4.234)。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · table: Pass rate and cost per task at max reasoning effort for MAI Code 2, GPT-6.1 Sol and Claude Opus 5.5. MAI Code 2 cost is at the 50% promotional price. · row: FrontierCode v1.1 · quote_snippet: FrontierCode v1.1 | 52.0% | $0.310 | 49.4% | $0.960 | 56.0% | $8.430
{
"harness": null,
"tools": null,
"shots": null,
"reasoning_effort": "max",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": null,
"aggregation": null,
"judge": null
}页脚脚注明示「FrontierCode 1.1 scores and costs are from Artificial Analysis」,按仓库口径(厂商注明该行由第三方评测/榜单提供)记 third_party_reported,不计入厂商自报数。该行的评测协议与本 release 其余三行(微软自建 MSBench)不同,harness 留 null,comparison_scope=only_same_protocol。数值取自 base64 编码的 <block-widget> 模板内发布方自带数据常量(机读 DOM 行,非位图/OCR);quote_snippet 是渲染后的数据表整行。同图竞品列(按口径不拆独立行):GPT-6.1 Sol 49.4%(成本 $0.960)、Claude Opus 5.5 56.0%(成本 $8.430)。MAI Code 2 Flash 图不含 FrontierCode,故本基准只记 Code 2 一行。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · row: 四项编码基准平均得分(相对 GPT-6.1 Sol 的性能指数) · quote_snippet: Averaged over four widely used benchmarks that target the everyday enterprise coding tasks we see in GitHub Copilot (DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode v1.1), MAI Code 2 gives you 98% of the performance of GPT-6.1 Sol at 40% of the cost, and 96% of Claude Opus 5.5’s performance at just 5% of the cost.
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(无 subagents);FrontierCode 1.1 的分数与成本取自 Artificial Analysis",
"tools": null,
"shots": null,
"reasoning_effort": "max reasoning effort",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": null,
"aggregation": null,
"judge": null
}重要口径:该 98% 不是任何单一基准的绝对分(本行 benchmark_id 为 new-benchmark id `mai-coding-bench-average`,不挂在 DeepSWE 等任一单项基准上,故不进入跨模型对照),而是官方在 DeepSWE 1.1、Terminal Bench 2.1、SWE-Atlas、FrontierCode v1.1 四项上的平均「相对 GPT-6.1 Sol 的性能指数」。禁止与仓内 DeepSWE / Terminal Bench / SWE-Atlas / FrontierCode 的绝对分行直接比较——补充口径(2026-11-25 合并勘误):本页 base64 数据表同时给出这四项基准的绝对 pass rate(DeepSWE 1.1 73.2%、Terminal Bench 2.1 84.6%、SWE Atlas 43.1%、FrontierCode v1.1 52.0%,四项算术均值 63.2%),已分别记入本 release 的 DeepSWE / Terminal Bench / SWE Atlas / FrontierCode 绝对分行;本行 98% 是官方另行给出的「相对 GPT-6.1 Sol 的性能指数」,与上述绝对分不是同一量纲,仍不可直接比较。同一句里的竞品值按「同一行竞品列只写 notes」口径记在本行:Claude Opus 5.5 为 96%、对应成本 5%;GPT-6.1 Sol 成本为 40%。协议脚注原文:所有模型均在 max reasoning effort 下运行;DeepSWE 1.1 / TerminalBench 2.1 / SWE Atlas 在 MSBench(微软内部评测平台)用 GitHub Copilot CLI 无 subagents 运行;FrontierCode 1.1 分数与成本来自 Artificial Analysis;MAI Code 2 成本按其 50% 促销价计。本页未披露 temperature / top_p / shots / 运行次数等键,protocol 对应键一律 null,comparison_scope 记 only_same_protocol。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · row: 盲测前端应用生成偏好率(对 GPT-6 Sol) · quote_snippet: MAI Code 2 is also tuned for producing great dashboards and visualizations, and excels at visual coding. In blind frontend app evaluations, developers preferred its results over GPT-6 Sol 64% of the time.
{
"harness": null,
"tools": null,
"shots": null,
"reasoning_effort": null,
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": null,
"aggregation": null,
"judge": null
}人工偏好口径:盲测中开发者更偏好 MAI Code 2 的结果而非 GPT-6 Sol 的比例为 64%(即 64% 对 36%,官方未印反向比例)。评测为微软自有盲测前端应用评估,样本量、题面与评分细则未公开,故 new-benchmark: mai-frontend-blind-eval,无 benchmark 实体,由兜底详情页承载。同一句里的竞品列(GPT-6 Sol)按口径只写在本行 notes,不另建 comparison_cited 行。与仓内 code-arena-frontend(Code Arena: Frontend 人类偏好排行榜)是不同评测,不可混读。
MAI Code 2 Flash
微软官方定位:MAI Code 2 Flash 面向高频批量编码工作(代码解释、针对性修改、常规修复与快速迭代),在显著更低的成本下保持质量,是 MAI Work Flash 的上游基座。本次收录 3 项基准:DeepSWE 1.1 59.9%、Terminal-Bench 2.1 78.3%、SWE Atlas 44.8%,均为微软在 MSBench + GitHub Copilot CLI(不用 subagents)、max reasoning effort 下自跑。
- 输入模态
- 文本
- 上下文
- 官方资料未说明
- 参数
- 官方资料未说明
- 价格(每百万 tokens)
- 无此口径报价;不等于免费
本变体的评测证据
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · table: Pass rate and cost per task at max reasoning effort for MAI Code 2 Flash, GPT-6 Luna and Claude Haiku 5.5. MAI Code 2 Flash cost is at the 50% promotional price. · row: DeepSWE 1.1 · quote_snippet: DeepSWE 1.1 | 59.9% | $0.098 | 59.6% | $0.159 | 46.0% | $0.668
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(without subagents)",
"tools": null,
"shots": null,
"reasoning_effort": "max",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": "3 runs averaged(官方模型页 microsoft.ai/models/mai-code-2/ 图注:All evaluations are averaged over three runs using the same settings)",
"aggregation": null,
"judge": null
}同一 release 的第二个模型(MAI Code 2 Flash),edge id 以 -code-2-flash 后缀区分。数值取自 base64 编码的 <block-widget> 模板内发布方自带数据常量(机读 DOM 行,非位图/OCR)。quote_snippet 是渲染后的数据表整行(列序:MAI Code 2 Flash pass rate / cost per task,GPT-6 Luna 同两列,Claude Haiku 5.5 同两列)。页脚脚注「MAI Code 2 Flash performance and price: All models were run at max reasoning effort. DeepSWE 1.1, TerminalBench 2.1 and SWE Atlas were run on MSBench with the GitHub Copilot CLI without subagents.」同图竞品列(按口径不拆独立行):GPT-6 Luna 59.6%(成本 $0.159)、Claude Haiku 5.5 46.0%(成本 $0.668)。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · table: Pass rate and cost per task at max reasoning effort for MAI Code 2 Flash, GPT-6 Luna and Claude Haiku 5.5. MAI Code 2 Flash cost is at the 50% promotional price. · row: Terminal-Bench 2.1 · quote_snippet: Terminal-Bench 2.1 | 78.3% | $0.023 | 69.3% | $0.028 | 73.4% | $0.067
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(without subagents)",
"tools": null,
"shots": null,
"reasoning_effort": "max",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": "3 runs averaged(官方模型页 microsoft.ai/models/mai-code-2/ 图注:All evaluations are averaged over three runs using the same settings)",
"aggregation": null,
"judge": null
}同一 release 的第二个模型(MAI Code 2 Flash)。数值取自 base64 编码的 <block-widget> 模板内发布方自带数据常量(机读 DOM 行,非位图/OCR)。quote_snippet 是渲染后的数据表整行(列序:MAI Code 2 Flash pass rate / cost per task,GPT-6 Luna 同两列,Claude Haiku 5.5 同两列)。脚注明示该基准在 MSBench + GitHub Copilot CLI(不用 subagents)、max reasoning effort 下测得。同图竞品列(按口径不拆独立行):GPT-6 Luna 69.3%(成本 $0.028)、Claude Haiku 5.5 73.4%(成本 $0.067)。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · table: Pass rate and cost per task at max reasoning effort for MAI Code 2 Flash, GPT-6 Luna and Claude Haiku 5.5. MAI Code 2 Flash cost is at the 50% promotional price. · row: SWE Atlas · quote_snippet: SWE Atlas | 44.8% | $0.034 | 36.4% | $0.051 | 42.1% | $0.223
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(without subagents)",
"tools": null,
"shots": null,
"reasoning_effort": "max",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": "3 runs averaged(官方模型页 microsoft.ai/models/mai-code-2/ 图注:All evaluations are averaged over three runs using the same settings)",
"aggregation": null,
"judge": null
}同一 release 的第二个模型(MAI Code 2 Flash)。数值取自 base64 编码的 <block-widget> 模板内发布方自带数据常量(机读 DOM 行,非位图/OCR)。quote_snippet 是渲染后的数据表整行(列序:MAI Code 2 Flash pass rate / cost per task,GPT-6 Luna 同两列,Claude Haiku 5.5 同两列)。页面行名只写 "SWE Atlas",未标版本/子集,故 benchmark_variant 留 null。同图竞品列(按口径不拆独立行):GPT-6 Luna 36.4%(成本 $0.051)、Claude Haiku 5.5 42.1%(成本 $0.223)。
归一化读数:不计算;样本及方差不完整,无法计算置信区间。
原文位置与完整协议
heading: Production quality at less than half the price · row: 三项日常编码基准平均得分(官方只给可比性能与成本比,未给绝对分) · quote_snippet: In addition, MAI Code 2 Flash offers comparable performance to GPT-6 Luna and Claude Haiku 5.5 at 65% and 20% of the cost, across three coding benchmarks measuring day-to-day, high-volume routine coding tasks.
{
"harness": "MSBench(微软内部评测平台)+ GitHub Copilot CLI(无 subagents)",
"tools": null,
"shots": null,
"reasoning_effort": "max reasoning effort",
"temperature": null,
"top_p": null,
"token_budget": null,
"turn_limit": null,
"time_limit": null,
"run_count": null,
"aggregation": null,
"judge": null
}本行 benchmark_id 为 new-benchmark id `mai-coding-bench-average`(三项均值口径),与仓内 DeepSWE / Terminal Bench / SWE-Atlas 的单项绝对分不是同一物,也不进入跨模型对照。官方正文点名三项编码基准(脚注:DeepSWE 1.1、TerminalBench 2.1、SWE Atlas)并给出可比性能与成本比,但在正文散文中未印绝对分数,故本行 reported_score 为 null、score_status=not_extracted。补充口径(2026-11-25 合并勘误):本页 base64 数据表另给出 MAI Code 2 Flash 的三项绝对 pass rate(DeepSWE 1.1 59.9%、Terminal-Bench 2.1 78.3%、SWE Atlas 44.8%),已分别记入本 release 对应的绝对分行;本行保留正文口径,与绝对分行不可混读。同句竞品列按口径只写本行 notes:GPT-6 Luna 成本为 65%、Claude Haiku 5.5 成本为 20%,官方表述为「表现相当(comparable)」而非给出分差。协议脚注原文:所有模型均在 max reasoning effort 下运行,三项基准在 MSBench 用 GitHub Copilot CLI 无 subagents 运行;MAI-Code-2-Flash 成本按其 50% 促销价计。