通义灵码(AI IDE 平台市场研究)


1. 介绍

通义灵码(Tongyi Lingma)是阿里云基于通义大模型推出的 AI 编码助手,2023 年 10 月开启公测,是国内大厂编码工具中铺开最早、装机量最大的产品之一。它的产品主线长期是补全流:行级 / 函数级实时续写、注释生成、单元测试生成、研发问答,以编辑器插件形态覆盖 VS Code、Visual Studio、JetBrains 全系与自有 Lingma IDE。2025 年起,产品线补上了智能体能力(编程智能体、AI 程序员多文件修改、单测智能体 TestAgent),并在 2026 年整体并入 Qoder 产品体系、切换为 Credits 计费。

在 AI IDE 的流派划分中,通义灵码代表大厂 IDE 插件 + 自有模型生态的中美对照样本之一:与 GitHub Copilot(依托代码托管平台)和 Gemini CLI(开源终端,详见 13-gemini-cli.md)分别构成三种不同的「大厂路线」。它的 Harness 特色集中在两端:L1 的企业知识库注入与 L6 的专属 VPC 私有化部署——这两项使它成为国内受合规约束组织事实上的主要候选之一。

1.1. 开发商与产品沿革

项目内容来源
开发商阿里云官方网站
公测时间2023 年 10 月(具体日期 )第三方资料
关键节点2024 年发布 2.0:引入 AI 程序员(多文件批量修改)、单测智能体、图生代码;推出 Lingma IDE官方网站
生态认证官方称其为唯一进入 Gartner AI 代码助手挑战者象限的中国产品;首批通过信通院 AI 代码大模型评估与「可信 AI 智能编码工具」评测(4+ 评级)官方网站(营销口径)
品牌演进2026 年 5 月起整体升级并入 Qoder 产品体系(Qoder CN),计费切换为 Credits 体系;原「通义灵码」品牌与官方定价页并行保留官方升级公告与第三方资料

品牌演进是需要注意的口径问题:官方公告与第三方报道一致显示「通义灵码已正式升级为 Qoder CN」,但升级前后的定价、版本命名在多个来源间不一致(详见 1.3 节的冲突标注)。本篇以「通义灵码」为主体撰写,凡涉及 Qoder 体系的新口径均单独标注。

1.2. 定位与最新版本

通义灵码的定位是覆盖个人到大型企业的分层编码助手:个人档主打补全流体验(免费 + 低价专业档),企业档主打知识库增强与私有化合规。与其余大厂工具相比,它的差异化是三个「企业侧重」:企业知识库检索增强(把代码规范文档变成补全与问答的上下文)、专属 VPC 部署(数据不出域)、多组织管理。补全与智能体能力本身在同类中并非独占,但「合规部署形态的完整梯度」是它的护城河。

最新版本号与 Qoder 切换后的具体版本序列未获官方一手披露,记 [待填写]

1.3. 定价体系

通义灵码官方定价页口径(检索时点为 2026 年)

档位价格关键权益与限制
个人基础版免费行级 / 函数级续写、注释生成、单测生成;限制:对话 50 轮次/月,单测智能体 50 方法/月
个人专业版¥59 / 月无限补全、AI 程序员(多文件批量修改)、单测智能体、企业知识库问答等全部功能面
企业标准版¥79 / 人/月(10 人起购)个人专业版全部能力 + 授权管理、统计报表、审计日志、知识管理、自定义扩展管理、企业版专用推理服务
企业专属版¥159 / 人/月(100 人起购)企业标准版全部能力 + 多组织管理、专属 VPC 部署、IP 白名单管理、专有网络访问
私有化部署方案另行咨询官方提供通义灵码私有化部署方案页面

Qoder CN 新体系口径(2026-05-20 起,第三方与阿里云开发者社区资料)

档位价格Credits 额度
体验版免费有限补全 + 300 Credits
个人 Pro¥59 / 月2,000 Credits / 月
个人 Pro+¥169 / 月6,000 Credits / 月
企业 Teams¥99 / 席位/月3,000 Credits / 席位/月
企业 VPC 版¥199 / 席位/月(50 席起购)3,000 Credits / 席位/月
资源包个人 ¥40 起 / 1,000 Credits;企业 ¥80 起 / 2,000 Credits超额部分约 ¥30 / 1,000 Credits

两套口径并存:官方灵码定价页(A 级来源)与 Qoder 新体系(B 级来源)在档位命名与价格上冲突。本篇以官方定价页为基线,Qoder 口径标注 ,采购决策应以官方页实时显示为准。


2. 名词解释

术语英文 / 缩写释义
行级 / 函数级续写Line / Function-level Completion实时补全的两个粒度:光标处续写下一行,或一次生成完整函数体;基于当前文件与跨文件上下文
行间建议预测Inline Suggestion Prediction结合代码修改与光标位置动态预测后续变更的补全形态,区别于被动触发的续写
研发智能问答R&D Q&A基于研发文档、产品文档、阿里云服务文档训练的问答能力,覆盖技术方案、报错排查等场景
本地工程问答Workspace Q&A(@workspace以当前工程为上下文的问答与检索,通过 @workspace 显式调用,使回答锚定在本仓库事实而非通用知识
企业知识库问答Enterprise Knowledge Q&A企业上传代码规范、领域文档后构建的检索增强问答,注入企业私有约定作为上下文
AI 程序员AI Programmer通义灵码 2.0 引入的智能体形态:按任务描述自主规划并跨多文件批量修改,产出统一差异供人工审查
单测智能体TestAgent专注单元测试的智能体:批量生成测试用例,自动编译运行,失败时迭代修复直至通过
注释生成Comment Generation按选中代码生成注释与文档说明;官方称遵循阿里巴巴 Java 开发规范等约定(营销口径)
工程自动感知Project Auto-sensing智能体根据任务描述自动感知工程框架、技术栈、相关文件与错误信息,无需手动添加上下文
编程智能体Coding Agent具备自主规划、工具使用(工程检索、文件编辑、终端)能力的端到端编码智能体模式
Lingma IDELingma IDE阿里云推出的自有 IDE,与插件形态并列的产品形态
Qoder CNQoder CN通义灵码 2026 年升级并入的产品体系,切换为 Credits 计费,增加 Quest 任务规划等能力
CreditsCreditsQoder 体系的用量计量单位,个人与企业各档按月配额,超额按量计费
专属 VPC 部署Dedicated VPC Deployment企业专属版能力:模型推理与数据流约束在企业专有网络内,配合 IP 白名单实现数据不出域
审计日志Audit Log企业档能力,留存问答、生成与扩展使用记录供合规审计
Diff-ReviewDiff ReviewAI 程序员多文件修改后以差异视图呈现全部改动,由开发者逐处审查的交互机制

3. 功能说明

3.1. 补全与编辑器内智能

能力说明Harness 层位
行级 / 函数级续写感知代码库级上下文,秒级生成行或函数建议L1(跨文件感知)+ L2
行间建议预测结合改动与光标位置预测下一处变更L1
注释生成 / 代码解释生成注释、解释选中代码L2
离线模型单行补全本地小模型提供基础单行补全,弱网可用L2(本地执行)
多结果推荐同一位置给出多个候选L1
企业代码生成增强企业知识库注入后的定向补全L1 + L6

离线单行补全是一个值得注意的设计:它把「网络不可用时的最低可用性」下沉到本地模型,属于 L2 执行域中少见的离线降级路径。

3.2. 问答与工程感知

  • 研发智能问答:通用技术知识 + 阿里云产品文档(对阿里云技术栈使用者的问答质量是相对优势)。
  • 本地工程问答(@workspace:以工程为检索域的问答,配合工程自动感知,智能体按任务描述自行定位相关文件与技术栈。
  • 问题智能排查和修复:结合工程内代码与环境信息排查编译、运行报错并给出修复建议。
  • 终端问答:终端场景内的命令与报错问答。
  • 多模态:支持图片输入的问答与图生代码。

3.3. AI 程序员与智能体能力

能力说明Harness 层位
编程智能体自主任务拆解 + 工程检索、文件编辑、终端工具链,端到端完成编码任务L3
AI 程序员多文件批量修改,产出统一 Diff-ReviewL3 + L6(差异审查即闸门)
单测智能体 TestAgent批量生成单测 → 编译运行 → 失败自动修复再生成,闭环到测试通过L3 + L5(以测试通过为机械判据)
Quest(Qoder 体系)复杂任务规划与多智能体协同(第三方口径)L3

单测智能体在 Harness 视角下意义重大:它是国内工具中少见的把 L5「机械判据」内建为产品能力的形态——完成与否由编译与测试通过与否判定,不依赖模型自评

3.4. 企业能力

能力档位作用
企业知识库标准版起代码规范与领域文档检索增强,注入补全与问答
审计日志标准版起留存使用记录供合规审计
统计报表与授权管理标准版起席位、用量与权限管理
自定义扩展管理标准版起组织内统一管理插件的可用扩展
企业版专用推理服务标准版起独立推理资源,隔离与稳定性保障
多组织管理专属版集团多法人主体分层管理
专属 VPC + IP 白名单 + 专有网络访问专属版数据不出域的部署形态
私有化部署另行咨询完全私有化方案

4. 平台架构

图 4-1|通义灵码平台架构(数据面 × 执行面的组合)

通义灵码平台架构(数据面 × 执行面的组合) 信息截止 2026-05 · 示意:基于本文分析绘制 上下文装配 模型推理 结果下发 · 本地执行 客户端形态层 编辑器插件 VS Code · VS · JetBrains 全系 Lingma IDE 自有 IDE(2024 年推出) 终端问答 Qoder 口径另含 CLI / 桌面端 模型与知识层 通义大模型(Qwen 系列) 补全 / 问答 / 智能体能力底座 企业知识库检索增强(RAG) 规范与领域文档注入补全和问答 服务端部署层(本图重点) 阿里云托管推理 个人档与标准版经云端 专属 VPC 部署 数据不出域(专属版起) 私有化部署 模型 / 服务 / 数据全域内 执行面 · 本地工程 文件编辑 AI 程序员多文件批量修改 终端命令 终端问答与报错排查 编译运行 TestAgent 单测闭环 结构解读:本地执行 + 云端推理为默认形态;专属 VPC / 私有化把推理收回域内,代价是企业档起购门槛。 部署形态本身即治理手段——「数据不出域」直接决定受监管行业的候选集。

数据来源:基于本文分析绘制的示意图。

维度内容
客户端形态VS Code / Visual Studio / JetBrains 全系插件 + Lingma IDE + 终端问答;Qoder 体系另含 CLI 与桌面应用(第三方口径)
模型底座通义大模型(Qwen 系列);官方称支持 200+ 编程语言(营销口径);Qoder 体系称接入 GLM、DeepSeek、Kimi、MiniMax 等多模型可切换(第三方口径)
索引与检索本地工程感知 + 企业知识库检索增强;未披露向量索引的实现细节,[待填写]
服务端阿里云托管推理;企业专属版约束在客户 VPC 内;另有私有化部署形态
数据面个人与标准版经云端推理;专属版与私有化实现数据不出域
执行面文件编辑、终端命令、编译运行(单测智能体闭环)在本地工程内执行

架构上的关键分界是数据面与执行面的组合:本地执行 + 云端推理是默认形态;专属 VPC / 私有化把推理也收回域内,代价是企业档起购门槛(10 人 / 100 人 / 私有化另行报价)。


5. Harness 设计

5.1. L1 上下文工程层

通义灵码的 L1 投入有三处:

  1. 跨文件感知的补全。行级 / 函数级续写声称感知代码库级上下文(官方表述),意味着补全请求装配时纳入了仓库内的相关文件,而非仅当前文件。
  2. @workspace 与工程自动感知。显式与隐式两条路径:@workspace 让用户主动圈定检索域;工程自动感知让智能体按任务自定位文件与技术栈。两者共同缓解「手动选上下文」的负担。
  3. 企业知识库注入。这是通义灵码在 L1 上最独特的机制:把企业的代码规范、领域文档做成检索增强源,使补全与问答携带企业私有约定。对比组内其他平台:Cursor 用规则文件承载约定(人工编写),通义灵码用文档语料承载约定(上传即用)——前者精确但维护成本高,后者覆盖广但约束力弱(是「参考」不是「强制」)。工程上建议两者并用:规范写进知识库供检索,红线写进规则供强制。

已知弱点:未披露规则文件体系(类似 .cursor/rulesAGENTS.md 的公开规范与作用域机制),[待填写];仓库内约定的版本化与就近加载能力无法评估。

5.2. L2 工具与执行层

  • 智能体工具链:工程检索、文件编辑、终端命令执行(官方表述);单测智能体额外闭环编译与运行。
  • 文件修改以 Diff-Review 呈现,逐处审查——差异审查是默认闸门。
  • 离线单行补全提供弱网与断网降级。
  • 未披露命令审批的分级模型(类似 Windsurf 的安全 / 歧义 / 危险三级命令表)与沙箱机制,[待填写]

5.3. L3 编排与控制层

  • 编程智能体:任务拆解 + 工具调用的单循环编排,端到端完成编码任务。
  • AI 程序员 / TestAgent:面向特定产出物(多文件改动、测试集)的专用智能体,TestAgent 内建「生成 → 运行 → 修复」迭代环。
  • Quest(Qoder 体系):第三方资料称支持复杂任务规划、多智能体协同与专家团模式,。
  • 无公开的子智能体派发、并行云任务或计划模式文档,[待填写]

5.4. L4 记忆与状态层

  • 企业知识库是唯一明确的持久化知识层,作用域为组织。
  • 未检索到个人级自动记忆、会话跨任务记忆或检查点机制的官方文档,记「无结果」。
  • Diff-Review 会话内的改动状态由本地工程与版本控制承接,依赖 git 作为回滚护栏。

5.5. L5 评估与观测层

  • 单测智能体的测试闭环是 L5 最实的机制:以编译与测试通过为完成判据,属程序化验收。
  • 企业统计报表提供用量观测(席位、活跃、功能使用),属成本与使用观测,非质量观测。
  • 审计日志提供行为留痕,是 L6 能力对 L5 的外溢(事后可追溯即一种观测)。
  • 无公开的轨迹追踪、回归集或线上质量指标体系,[待填写]

5.6. L6 治理与安全层

通义灵码的 L6 是其最强的层,也是国内大厂工具相对国际产品的普遍结构性优势——部署形态本身即是治理手段

治理维度实现档位
数据不出域专属 VPC 部署 + 专有网络访问 + IP 白名单企业专属版
完全私有化私有化部署方案(含模型、服务、数据全部域内)另行咨询
审计审计日志留存问答与生成行为企业标准版起
权限授权管理、席位权限、多组织管理标准版 / 专属版
推理隔离企业版专用推理服务标准版起
扩展管控自定义扩展管理,统一可用插件范围标准版起
合规背书信通院首批评估认证(官方口径);Qoder VPC 版第三方称满足等保与行业合规审核

对照组内平台:GitHub Copilot 的治理靠组织策略与内容排除(详见 03-github-copilot.md),通义灵码的治理靠部署边界。对国内金融、政务、涉密行业,「数据不出域」这一条往往直接决定候选集,这也是它在本组对比中的核心生态位。已知弱点:个人档数据用于训练的开关与隐私细则未在检索中逐条核实,[待填写]

5.7. 六层能力小结

评级一句话判断
L1 上下文工程★★跨文件补全 + 知识库注入;缺公开的规则文件体系
L2 工具与执行★★工具链完整、Diff-Review 闸门;审批与沙箱未披露
L3 编排与控制★★编程智能体 + 专用智能体;无公开编排细节
L4 记忆与状态组织知识库之外无记忆机制
L5 评估与观测★★TestAgent 测试闭环是亮点;无轨迹与回归体系
L6 治理与安全★★★VPC / 私有化 / 审计 / 推理隔离的完整合规梯度,全组最强之一

6. 实际案例

说明:本节如实说明数据可得性。未检索到阿里云官方发布的、带方法与对照的量化效果数据,本节不引用未核实数字。

可引用信息分三类:

  1. 规模与认证信号:官方称「百万开发者使用」「满意率超过 87%」「国内开发者首选」(营销口径);Gartner 挑战者象限与信通院认证为官方披露。
  2. 生态位案例(定性):官方用户证言显示企业知识库功能被创业公司用于「上传代码规范文档 → 按规范补全与优化」的场景;AI 程序员被前端开发者用于单工程 20 处改动的批量修改场景。证言均为个体体验描述,不构成对照测量。
  3. 可复现的 Harness 工作流范式(基于公开功能组合,非量化案例):
  • 合规先行接入:受监管行业从企业专属版起步,先落 VPC 边界与审计,再谈提效——治理(L6)是准入项而非增量项,与本组 README 3.4 节的结论一致。
  • 规范沉淀:把团队代码规范上传企业知识库,配合 TestAgent 批量补测试,形成「约定注入 + 机械验收」的闭环,弥补 L1 约束力弱的短板。
  • 阿里云技术栈研发:依赖阿里云全家桶(云产品文档问答)的团队,问答域的相对优势最明显。

7. 总结

7.1. 优势

  1. 合规部署梯度最完整:免费个人档 → 企业标准版 → 专属 VPC → 完全私有化,四档递进无断层,覆盖从个人到涉密行业的全部数据边界要求。
  2. 企业知识库注入:以文档语料承载企业约定,接入成本低,是 L1 上独有的组织级机制。
  3. TestAgent 的机械判据:单测生成闭环到「编译运行通过」,把 L5 内建为产品能力。
  4. 补全流成熟:行级 / 函数级续写 + 行间预测 + 离线降级,编辑器内体验是产品根基。
  5. 阿里云生态协同:云产品文档问答与云开发环境衔接,对阿里云用户有天然迁移优势。

7.2. 局限

  1. L3 编排透明度低:智能体的任务分解、审批分级、并行能力均无公开细节,深度委托场景无法评估上限。
  2. 规则文件体系缺位:相比 .cursor/rules、CLAUDE.md、Steering 等公开规范,仓库内约定的版本化与作用域机制不明,L1 的精确性短板。
  3. 品牌与计费切换期口径混乱:通义灵码 → Qoder CN 的过渡中,两套版本命名与定价并存(官方页与第三方口径冲突),采购须以官方实时页面为准。
  4. 无沙箱披露:命令执行的安全模型(审批分级、隔离原语)未公开,L6 的部署边界强,但执行边界弱。
  5. 智能化深度依赖 Qwen 生态:多模型可切换性在 Qoder 口径下才明确,锁定风险需评估。

7.3. 适用边界与选型建议

场景是否适用理由
国内受监管行业(金融 / 政务 / 涉密)强适用VPC / 私有化 + 审计的完整梯度,本组最强之一
阿里云技术栈团队适用文档问答与生态衔接优势
个人开发者的免费补全适用免费档覆盖基础补全流,限制明确(对话 50 轮/月等)
深度智能体委托(长链路自主任务)部分适用编排细节不透明,上限待验证,宜对照 02 / 05 / 13 篇终端型方案
国际团队 / 跨境数据流不适用数据面与生态均以国内为主

选型建议:把通义灵码放进本组主线「补全流 → Agent 流 → 规格流 → 终端流」的补全流 + 大厂合规象限。判断标准两条:数据能否出域(不能 → 它进入候选集)、主要工作是否仍是编辑器内补全与小步委托(是 → 它是性价比合理的选择)。若团队已进入规格驱动或长链路智能体工作流,应同时评估 Kiro 与终端型工具,把通义灵码定位为补全层而非编排层。


信息缺口声明

  1. 通义灵码公测确切日期:2023 年 10 月为第三方口径,具体日期 。
  2. 当期版本号与 Qoder CN 切换后的版本序列:未获官方一手披露,[待填写]
  3. Qoder CN 定价与 Credits 规则:来自第三方与阿里云开发者社区文章,与官方灵码定价页口径并存,。
  4. 规则文件体系(仓库内约定的作用域与加载机制):未检索到公开文档,[待填写]
  5. 命令执行审批分级与沙箱机制:未披露,[待填写]
  6. 个人档数据用于训练的开关与隐私细则:未逐条核实,[待填写]
  7. Quest / 多智能体 / 专家团等 Qoder 新能力:第三方口径,。
  8. 企业量化采用案例:未检索到官方一手对照数据,全部规模与满意率数字为营销口径,。

8. 参考资料

  1. 通义灵码官方网站 — 阿里云,2026。https://lingma.aliyun.com/
  2. 通义灵码定价页 — 阿里云,2026。https://lingma.aliyun.com/pricing
  3. 通义灵码正式升级为 Qoder CN — 阿里云官方公告,2026。https://www.aliyun.com/notice/detail?notice-id=118234
  4. Qoder CN(原通义灵码)深度解析 — 阿里云开发者社区(第三方),2026。https://developer.aliyun.com/article/1757564
  5. Qoder CN(原通义灵码)全解析 — 阿里云开发者社区(第三方),2026。https://developer.aliyun.com/article/1740785
  6. Introducing the Model Context Protocol — Anthropic,2024-11-25。https://www.anthropic.com/news/model-context-protocol
  7. 2025 Stack Overflow Developer Survey — Stack Overflow,2025-07-30。https://survey.stackoverflow.co/2025/
  8. DORA 2025 State of AI-assisted Software Development — Google Cloud / DORA,2025。https://dora.dev/
  9. Terminal-Bench 官方站(模型 + Harness 系统评测口径) — Stanford / Laude Institute,2025—2026。https://www.tbench.ai/
  10. Effective context engineering for AI agents — Anthropic,2025。https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents
  11. Harness engineering: leveraging Codex in an agent-first world — OpenAI,2026-02-11。https://openai.com/index/harness-engineering/
  12. SWE-bench 官方站 — Princeton / 社区,2023—2026。https://www.swebench.com/

Tongyi Lingma (AI IDE Platform Market Research)

1. Introduction

Tongyi Lingma is an AI coding assistant launched by Alibaba Cloud, built on the Tongyi foundation models. It entered public beta in October 2023 as one of the earliest and most widely deployed coding tools among domestic (Chinese) big-tech companies. Its product line has long centered on the completion flow: line-level / function-level real-time continuation, comment generation, unit test generation, and R&D Q&A, delivered as editor plugins covering the full VS Code, Visual Studio, and JetBrains ranges plus its own Lingma IDE. From 2025 onward, the product line added agent capabilities (a coding agent, AI Programmer for multi-file edits, and the TestAgent unit-test agent), and in 2026 it was folded entirely into the Qoder product family with billing switched to a Credits model.

In the taxonomy of AI IDE schools, Tongyi Lingma represents one of the China-US comparison samples of big-tech IDE plugins + self-owned model ecosystems: alongside GitHub Copilot (built on a code-hosting platform) and Gemini CLI (an open-source terminal; see 13-gemini-cli.md), it forms one of three distinct "big-tech approaches." Its Harness highlights concentrate at two ends: L1's enterprise knowledge-base injection and L6's dedicated VPC private deployment — these two make it one of the de facto leading candidates for compliance-constrained organizations in China.

1.1. Developer and Product History

ItemDetailsSource
DeveloperAlibaba CloudOfficial website
Public beta dateOctober 2023 (exact date)Third-party sources
Key milestones2.0 released in 2024: introduced AI Programmer (multi-file batch edits), the unit-test agent, and image-to-code; launched Lingma IDEOfficial website
Ecosystem certificationOfficially claimed to be the only Chinese product in the Gartner "Challengers" quadrant for AI coding assistants; among the first to pass the CAICT AI code large-model evaluation and the "Trusted AI Intelligent Coding Tool" assessment (4+ rating)Official website (marketing claim)
Brand evolutionFrom May 2026, fully upgraded and folded into the Qoder product family (Qoder CN), with billing switched to the Credits model; the original "Tongyi Lingma" brand and official pricing page are retained in parallelOfficial upgrade announcement and third-party sources

Brand evolution is a framing issue worth noting: both official announcements and third-party reports consistently state that "Tongyi Lingma has officially upgraded to Qoder CN," yet pricing and version naming before and after the upgrade are inconsistent across multiple sources (see the conflict annotations in section 1.3). This article is written with "Tongyi Lingma" as the subject; any new framing involving the Qoder family is annotated separately.

1.2. Positioning and Latest Version

Tongyi Lingma is positioned as a tiered coding assistant spanning individuals to large enterprises: the personal tier centers on the completion-flow experience (free plus a low-cost Pro tier), while the enterprise tier centers on knowledge-base enhancement and private-deployment compliance. Compared with other big-tech tools, its differentiation lies in three "enterprise emphases": enterprise knowledge-base retrieval augmentation (turning coding-standard documents into context for completion and Q&A), dedicated VPC deployment (data stays in-domain), and multi-organization management. Completion and agent capabilities themselves are not exclusive to it among peers, but the "complete gradient of compliant deployment forms" is its moat.

The latest version number and the specific version sequence after the Qoder switch have not been released first-hand by the vendor; recorded as [To be filled].

1.3. Pricing Structure

Tongyi Lingma official pricing page framing (as of the 2026 retrieval point):

TierPriceKey benefits and limits
Personal BasicFreeLine-level / function-level continuation, comment generation, unit-test generation; limits: 50 dialogue rounds/month, 50 test-agent methods/month
Personal Pro¥59 / monthThe full feature surface: unlimited completion, AI Programmer (multi-file batch edits), unit-test agent, enterprise knowledge-base Q&A, and more
Enterprise Standard¥79 / person/month (10-person minimum)All of Personal Pro's capabilities + entitlement management, statistics reports, audit logs, knowledge management, custom extension management, and dedicated enterprise inference serving
Enterprise Dedicated¥159 / person/month (100-person minimum)All of Enterprise Standard's capabilities + multi-organization management, dedicated VPC deployment, IP whitelist management, and private network access
Private deployment planContact for pricingAlibaba Cloud offers a dedicated Tongyi Lingma private-deployment plan page

Qoder CN new-system framing (from 2026-05-20; third-party and Alibaba Cloud developer-community sources):

TierPriceCredits allowance
ExperienceFreeLimited completion + 300 Credits
Personal Pro¥59 / month2,000 Credits / month
Personal Pro+¥169 / month6,000 Credits / month
Enterprise Teams¥99 / seat/month3,000 Credits / seat/month
Enterprise VPC¥199 / seat/month (50-seat minimum)3,000 Credits / seat/month
Resource packPersonal from ¥40 / 1,000 Credits; Enterprise from ¥80 / 2,000 CreditsOverage approximately ¥30 / 1,000 Credits

Two framings coexist: the official Lingma pricing page (an A-grade source) and the new Qoder system (a B-grade source) conflict over tier naming and prices. This article uses the official pricing page as the baseline; the Qoder framing is annotated [To be verified], and purchasing decisions should defer to the official page's real-time display.


2. Glossary

TermEnglish / AbbreviationDefinition
Line / Function-level CompletionLine / Function-level CompletionThe two granularities of real-time completion: continuing the next line at the cursor, or generating a complete function body at once; based on current-file and cross-file context
Inline Suggestion PredictionInline Suggestion PredictionA completion form that dynamically predicts subsequent changes based on code edits and cursor position, distinct from passively-triggered continuation
R&D Q&AR&D Q&AA Q&A capability trained on R&D documentation, product documentation, and Alibaba Cloud service documentation, covering scenarios such as technical solutions and error troubleshooting
Workspace Q&AWorkspace Q&A (@workspace)Q&A and retrieval that uses the current project as context, invoked explicitly via @workspace so answers are anchored in this repository's facts rather than general knowledge
Enterprise Knowledge Q&AEnterprise Knowledge Q&ARetrieval-augmented Q&A built after the enterprise uploads coding standards and domain documents, injecting enterprise-private conventions as context
AI ProgrammerAI ProgrammerThe agent form introduced in Tongyi Lingma 2.0: autonomously plans from a task description and makes batch edits across multiple files, producing a unified diff for human review
TestAgentTestAgentAn agent focused on unit tests: batch-generates test cases, automatically compiles and runs them, and iteratively fixes failures until they pass
Comment GenerationComment GenerationGenerates comments and documentation from selected code; officially claimed to follow conventions such as Alibaba Java Development Guidelines (marketing claim)
Project Auto-sensingProject Auto-sensingThe agent automatically senses the project framework, tech stack, relevant files, and error information from the task description, without manual context addition
Coding AgentCoding AgentAn end-to-end coding-agent mode with autonomous planning and tool use (project retrieval, file editing, terminal)
Lingma IDELingma IDEAlibaba Cloud's self-developed IDE, a product form standing alongside the plugin form
Qoder CNQoder CNThe product family that Tongyi Lingma upgraded into in 2026, switched to Credits billing and added capabilities such as Quest task planning ()
CreditsCreditsThe usage-measurement unit of the Qoder system; individual and enterprise tiers get monthly allowances, with overage billed by quantity ()
Dedicated VPC DeploymentDedicated VPC DeploymentAn Enterprise Dedicated capability: model inference and data flows are constrained within the enterprise's private network, combined with IP whitelisting to keep data in-domain
Audit LogAudit LogAn enterprise-tier capability that retains question, generation, and extension-usage records for compliance auditing
Diff-ReviewDiff ReviewA review mechanism that presents all of the AI Programmer's multi-file changes in a diff view for the developer to review item by item

3. Feature Description

3.1. Completion and In-editor Intelligence

CapabilityDescriptionHarness layer
Line / Function-level CompletionPerceives repository-level context and generates line or function suggestions in secondsL1 (cross-file awareness) + L2
Inline Suggestion PredictionPredicts the next change based on edits and cursor positionL1
Comment Generation / Code ExplanationGenerates comments and explains selected codeL2
Offline-model single-line completionA local small model provides basic single-line completion, usable on weak networksL2 (local execution)
Multiple-result suggestionsOffers several candidates at the same positionL1
Enterprise code-generation enhancementTargeted completion after enterprise knowledge-base injectionL1 + L6

Offline single-line completion is a design worth noting: it pushes the "minimum usability when the network is unavailable" down to a local model, one of the rare offline degradation paths in the L2 execution domain.

3.2. Q&A and Project Awareness

  • R&D Q&A: general technical knowledge + Alibaba Cloud product documentation (Q&A quality for Alibaba Cloud tech-stack users is a relative strength).
  • Workspace Q&A (@workspace): Q&A scoped to the project's retrieval domain, combined with project auto-sensing so the agent locates relevant files and tech stack on its own from the task description.
  • Intelligent problem troubleshooting and repair: troubleshoots compilation and runtime errors using in-project code and environment information and gives repair suggestions.
  • Terminal Q&A: command and error Q&A within the terminal context.
  • Multimodal: supports image-input Q&A and image-to-code.

3.3. AI Programmer and Agent Capabilities

CapabilityDescriptionHarness layer
Coding AgentAutonomous task decomposition + project retrieval, file editing, and terminal toolchain, completing coding tasks end to endL3
AI ProgrammerMulti-file batch edits producing a unified Diff-ReviewL3 + L6 (diff review is the gate)
TestAgent unit-test agentBatch-generates unit tests → compiles and runs → auto-fixes failures and regenerates, closing the loop until tests passL3 + L5 (mechanical criterion of tests passing)
Quest (Qoder family)Complex-task planning and multi-agent collaboration (third-party framing)L3

The unit-test agent is highly significant from a Harness perspective: it is one of the rare domestic tools that builds the L5 "mechanical criterion" into a product capability — completion is judged by whether compilation and tests pass, not by the model's self-assessment.

3.4. Enterprise Capabilities

CapabilityTierFunction
Enterprise knowledge baseStandard and aboveRetrieval enhancement of coding standards and domain documents, injected into completion and Q&A
Audit logsStandard and aboveRetains usage records for compliance auditing
Statistics reports & entitlement managementStandard and aboveSeat, usage, and permission management
Custom extension managementStandard and aboveCentrally manages which plugin extensions are available within the organization
Dedicated enterprise inference servingStandard and aboveIndependent inference resources for isolation and stability
Multi-organization managementDedicatedLayered management across a group's multiple legal entities
Dedicated VPC + IP whitelist + private network accessDedicatedA deployment form that keeps data in-domain
Private deploymentContact for pricingA fully private deployment option

4. Platform Architecture

图 4-1|通义灵码平台架构(数据面 × 执行面的组合)

通义灵码平台架构(数据面 × 执行面的组合) 信息截止 2026-05 · 示意:基于本文分析绘制 上下文装配 模型推理 结果下发 · 本地执行 客户端形态层 编辑器插件 VS Code · VS · JetBrains 全系 Lingma IDE 自有 IDE(2024 年推出) 终端问答 Qoder 口径另含 CLI / 桌面端 模型与知识层 通义大模型(Qwen 系列) 补全 / 问答 / 智能体能力底座 企业知识库检索增强(RAG) 规范与领域文档注入补全和问答 服务端部署层(本图重点) 阿里云托管推理 个人档与标准版经云端 专属 VPC 部署 数据不出域(专属版起) 私有化部署 模型 / 服务 / 数据全域内 执行面 · 本地工程 文件编辑 AI 程序员多文件批量修改 终端命令 终端问答与报错排查 编译运行 TestAgent 单测闭环 结构解读:本地执行 + 云端推理为默认形态;专属 VPC / 私有化把推理收回域内,代价是企业档起购门槛。 部署形态本身即治理手段——「数据不出域」直接决定受监管行业的候选集。

数据来源:基于本文分析绘制的示意图。

DimensionDetails
Client formVS Code / Visual Studio / JetBrains full-range plugins + Lingma IDE + terminal Q&A; the Qoder family additionally includes a CLI and desktop apps (third-party framing)
Model foundationTongyi foundation models (Qwen series); officially claims support for 200+ programming languages (marketing claim); the Qoder family claims switchable support for multiple models including GLM, DeepSeek, Kimi, and MiniMax (third-party framing)
Indexing & retrievalLocal project awareness + enterprise knowledge-base retrieval enhancement; the implementation details of the vector index are not disclosed, [To be filled]
Server sideAlibaba Cloud hosted inference; the Enterprise Dedicated tier is constrained within the customer's VPC; a private-deployment form also exists
Data planeIndividuals and the Standard tier go through cloud inference; the Dedicated and private tiers keep data in-domain
Execution planeFile editing, terminal commands, and compile/run (the TestAgent loop) execute within the local project

The key architectural boundary is the combination of the data plane and the execution plane: local execution + cloud inference is the default form; dedicated VPC / private deployment also pulls inference back in-domain, at the cost of the enterprise-tier purchase minimums (10 / 100 seats, with private deployment quoted separately).


5. Harness Design

5.1. L1 Context-Engineering Layer

Tongyi Lingma's L1 investment is in three areas:

  1. Cross-file-aware completion. Line-level / function-level continuation claims to perceive repository-level context (official wording), meaning the completion request assembly incorporates relevant files in the repo, not just the current file.
  2. @workspace and project auto-sensing. Two paths, explicit and implicit: @workspace lets the user actively scope the retrieval domain; project auto-sensing lets the agent locate files and tech stack itself from the task. Both together ease the burden of "manually selecting context."
  3. Enterprise knowledge-base injection. This is Tongyi Lingma's most distinctive L1 mechanism: it turns the enterprise's coding standards and domain documents into a retrieval-augmented source so that completion and Q&A carry enterprise-private conventions. Compared with other platforms in the group: Cursor carries conventions via rule files (manually written), while Tongyi Lingma carries them via document corpora (upload-and-use) — the former is precise but costly to maintain, the latter broad but weakly binding (a "reference," not a "mandate"). Engineering-wise, using both is recommended: standards go into the knowledge base for retrieval, and red lines go into rules for enforcement.

Known weakness: no rule-file system is disclosed (a public convention and scoping mechanism similar to .cursor/rules or AGENTS.md), [To be filled]; the versioning and nearest-loading of in-repo conventions cannot be assessed.

5.2. L2 Tools and Execution Layer

  • Agent toolchain: project retrieval, file editing, and terminal command execution (official wording); the unit-test agent additionally closes the loop on compiling and running.
  • File changes are presented via Diff-Review for item-by-item review — diff review is the default gate.
  • Offline single-line completion provides weak-network and disconnection degradation.
  • No tiered model for command approval (similar to Windsurf's three-tier safe / ambiguous / dangerous command table) or sandboxing mechanism is disclosed, [To be filled].

5.3. L3 Orchestration and Control Layer

  • Coding Agent: single-loop orchestration of task decomposition + tool invocation, completing coding tasks end to end.
  • AI Programmer / TestAgent: specialized agents targeting specific deliverables (multi-file changes, test suites); TestAgent embeds a "generate → run → fix" iteration loop.
  • Quest (Qoder family): third-party sources say it supports complex-task planning, multi-agent collaboration, and expert-team modes.
  • No public documentation of sub-agent dispatch, parallel cloud tasks, or plan mode, [To be filled].

5.4. L4 Memory and State Layer

  • The enterprise knowledge base is the only clearly defined persistent knowledge layer, scoped to the organization.
  • No official documentation of personal-level automatic memory, cross-task session memory, or checkpoint mechanisms was found; recorded as "no results."
  • Change state within a Diff-Review session is handled by the local project and version control, relying on git as the rollback guardrail.

5.5. L5 Evaluation and Observation Layer

  • The unit-test agent's test loop is L5's most concrete mechanism: passing compilation and tests is the completion criterion — programmatic acceptance.
  • Enterprise statistics reports provide usage observation (seats, activity, feature usage) — cost and usage observation, not quality observation.
  • Audit logs provide behavioral traces, an overflow of L6 capability into L5 (post-hoc traceability is itself a form of observation).
  • No public trajectory tracking, regression sets, or online-quality metrics system, [To be filled].

5.6. L6 Governance and Security Layer

Tongyi Lingma's L6 is its strongest layer, and also a general structural advantage of domestic big-tech tools over international products — the deployment form itself is a governance measure:

Governance dimensionImplementationTier
Data stays in-domainDedicated VPC deployment + private network access + IP whitelistEnterprise Dedicated
Full privatizationPrivate deployment plan (model, service, and data all in-domain)Contact for pricing
AuditAudit logs retain Q&A and generation behaviorEnterprise Standard and above
PermissionsEntitlement management, seat permissions, multi-organization managementStandard / Dedicated
Inference isolationDedicated enterprise inference servingStandard and above
Extension controlCustom extension management, unifying the set of available pluginsStandard and above
Compliance endorsementAmong the first batch of CAICT assessment certifications (official framing); third parties say the Qoder VPC tier meets equal-protection and industry compliance review ()

Compared with platforms in the group: GitHub Copilot's governance relies on organization policies and content exclusions (see 03-github-copilot.md), while Tongyi Lingma's relies on deployment boundaries. For domestic finance, government, and classified industries, "data stays in-domain" alone often directly determines the candidate set — this is its core niche in the group comparison. Known weakness: the personal-tier toggle for using data in training and its privacy details were not verified item by item in this retrieval, [To be filled].

5.7. Six-Layer Capability Summary

LayerRatingOne-line verdict
L1 Context engineering★★Cross-file completion + knowledge-base injection; lacks a public rule-file system
L2 Tools and execution★★Complete toolchain, Diff-Review gate; approval and sandboxing undisclosed
L3 Orchestration and control★★Coding agent + specialized agents; no public orchestration details
L4 Memory and stateNo memory mechanism beyond the organizational knowledge base
L5 Evaluation and observation★★The TestAgent test loop is a highlight; no trajectory or regression system
L6 Governance and security★★★A complete compliance gradient of VPC / privatization / audit / inference isolation, among the strongest in the group

6. Real-world Cases

Note: this section honestly states data availability. No quantitative effectiveness data with methodology and comparison released by Alibaba Cloud was found; this section does not cite unverified figures.

Referencable information falls into three categories:

  1. Scale and certification signals: officially claims "used by millions of developers," "satisfaction above 87%," and "the first choice of domestic developers" (marketing claims); the Gartner Challengers quadrant and CAICT certifications are official disclosures ().
  2. Niche cases (qualitative): official customer testimonials show the enterprise knowledge base being used by startups for "upload code-standard documents → complete and optimize per the standards"; the AI Programmer is used by front-end developers for batch edits of 20 changes in a single project. Testimonials are individual experience descriptions, not controlled measurements.
  3. Reproducible Harness workflow patterns (based on public feature combinations, not quantified cases):
  • Compliance-first adoption: regulated industries start from the Enterprise Dedicated tier, establishing the VPC boundary and audit first, then discussing efficiency — governance (L6) is an admission item, not an incremental item, consistent with the conclusion in section 3.4 of this group's README.
  • Standard sedimentation: upload team coding standards to the enterprise knowledge base and pair them with TestAgent for batch test addition, forming a "convention injection + mechanical acceptance" loop that compensates for L1's weak binding.
  • Alibaba Cloud tech-stack development: teams relying on the Alibaba Cloud family (cloud-product documentation Q&A) see the strongest relative advantage in the Q&A domain.

7. Summary

7.1. Strengths

  1. Most complete compliant-deployment gradient: free personal tier → Enterprise Standard → dedicated VPC → full privatization, four tiers progressing without gaps, covering all data-boundary requirements from individuals to classified industries.
  2. Enterprise knowledge-base injection: carries enterprise conventions via document corpora with low onboarding cost, an organizational-level mechanism unique at L1.
  3. TestAgent's mechanical criterion: the unit-test generation loop closes on "compilation and tests pass," building L5 into a product capability.
  4. Mature completion flow: line-level / function-level continuation + inline prediction + offline degradation, with the in-editor experience as the product's foundation.
  5. Alibaba Cloud ecosystem synergy: cloud-product documentation Q&A and cloud development environment integration give natural migration advantages for Alibaba Cloud users.

7.2. Limitations

  1. Low L3 orchestration transparency: the agent's task decomposition, approval tiers, and parallelism all lack public detail, so the ceiling for deep-delegation scenarios cannot be assessed.
  2. Missing rule-file system: compared with public conventions such as .cursor/rules, CLAUDE.md, and Steering, the versioning and scoping of in-repo conventions are unclear — an L1 precision weakness.
  3. Confused framing during the brand and billing transition: during the Tongyi Lingma → Qoder CN transition, two sets of version naming and pricing coexist (official page vs. third-party framing conflict); purchases must defer to the official live page.
  4. No sandboxing disclosure: the command-execution security model (approval tiers, isolation primitives) is not public; L6's deployment boundary is strong, but its execution boundary is weak.
  5. Intelligence depth depends on the Qwen ecosystem: multi-model switchability is only explicit under the Qoder framing (); lock-in risk needs assessment.

7.3. Applicability Boundary and Selection Recommendations

ScenarioApplicable?Reason
Domestic regulated industries (finance / government / classified)Strongly applicableA complete gradient of VPC / privatization + audit, among the strongest in the group
Alibaba Cloud tech-stack teamsApplicableDocumentation Q&A and ecosystem integration advantages
Individual developers' free completionApplicableThe free tier covers the basic completion flow with clear limits (e.g., 50 dialogue rounds/month)
Deep agent delegation (long-chain autonomous tasks)Partially applicableOrchestration details are opaque; the ceiling needs validation; compare against the terminal-type solutions in articles 02 / 05 / 13
International teams / cross-border data flowsNot applicableBoth the data plane and ecosystem are primarily domestic

Selection recommendation: place Tongyi Lingma in the completion flow + big-tech compliance quadrant of this group's main line of "completion flow → Agent flow → spec flow → terminal flow". Two criteria: whether data can leave the domain (if it cannot, it enters the candidate set), and whether the main work is still in-editor completion and small-step delegation (if so, it is a cost-effective choice). If a team has already moved to spec-driven or long-chain agent workflows, Kiro and terminal-type tools should also be evaluated, positioning Tongyi Lingma as the completion layer rather than the orchestration layer.


Information Gap Statement

  1. Tongyi Lingma's exact public-beta date: October 2023 is a third-party framing; the exact date is [To be verified].
  2. Current version number and the version sequence after the Qoder CN switch: not released first-hand by the vendor, [To be filled].
  3. Qoder CN pricing and Credits rules: from third-party and Alibaba Cloud developer-community articles, coexisting with the official Lingma pricing-page framing.
  4. Rule-file system (scoping and loading of in-repo conventions): no public documentation was found, [To be filled].
  5. Command-execution approval tiers and sandboxing mechanism: undisclosed, [To be filled].
  6. The personal-tier toggle for using data in training and its privacy details: not verified item by item, [To be filled].
  7. New Qoder capabilities such as Quest / multi-agent / expert team: third-party framing.
  8. Quantitative enterprise adoption cases: no official first-hand controlled data was found; all scale and satisfaction figures are marketing claims.

8. References

  1. Tongyi Lingma official website — Alibaba Cloud, 2026. https://lingma.aliyun.com/
  2. Tongyi Lingma pricing page — Alibaba Cloud, 2026. https://lingma.aliyun.com/pricing
  3. Tongyi Lingma officially upgrades to Qoder CN — Alibaba Cloud official announcement, 2026. https://www.aliyun.com/notice/detail?notice-id=118234
  4. Deep dive into Qoder CN (formerly Tongyi Lingma) — Alibaba Cloud Developer Community (third party), 2026. https://developer.aliyun.com/article/1757564
  5. Full analysis of Qoder CN (formerly Tongyi Lingma) — Alibaba Cloud Developer Community (third party), 2026. https://developer.aliyun.com/article/1740785
  6. Introducing the Model Context Protocol — Anthropic, 2024-11-25. https://www.anthropic.com/news/model-context-protocol
  7. 2025 Stack Overflow Developer Survey — Stack Overflow, 2025-07-30. https://survey.stackoverflow.co/2025/
  8. DORA 2025 State of AI-assisted Software Development — Google Cloud / DORA, 2025. https://dora.dev/
  9. Terminal-Bench official site (model + Harness system evaluation framing) — Stanford / Laude Institute, 2025–2026. https://www.tbench.ai/
  10. Effective context engineering for AI agents — Anthropic, 2025. https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents
  11. Harness engineering: leveraging Codex in an agent-first world — OpenAI, 2026-02-11. https://openai.com/index/harness-engineering/
  12. SWE-bench official site — Princeton / community, 2023–2026. https://www.swebench.com/