[{"data":1,"prerenderedAt":1711},["ShallowReactive",2],{"header-counts":3,"footer-counts":6,"compare-codex-vs-qwen-code":9,"compare-a-codex":10,"compare-b-qwen-code":877},{"tools":4,"reviews":5},78,26,{"tools":4,"reviews":5,"playbooks":7,"news":8},22,21,null,{"id":11,"title":12,"alternatives":13,"api_compatible":17,"body":19,"category":779,"chinese_friendly":367,"cover":780,"description":781,"domestic":782,"extension":783,"faq":784,"free":782,"github":81,"languages":800,"lastVerified":9,"meta":803,"models":804,"navigation":370,"notSuitable":808,"opensource":370,"path":812,"pillar":813,"platforms":814,"priceTable":818,"pricing":834,"published":835,"relatedPlaybooks":836,"relatedReviews":839,"score":844,"self_host":782,"seo":845,"seoTitle":9,"slug":846,"sources":847,"stem":859,"suitable":860,"tagline":865,"tags":866,"updated":874,"verdict":875,"website":727,"__hash__":876},"tools\u002Ftools\u002Fcoding\u002Fcli\u002Fcodex.md","Codex CLI",[14,15,16],"coding\u002Fcli\u002Fclaude-code","coding\u002Fcli\u002Faider","coding\u002Fcli\u002Fcline",[18],"openai",{"type":20,"value":21,"toc":763},"minimark",[22,27,74,77,90,93,115,118,150,153,219,225,229,234,239,276,279,283,307,311,331,334,338,453,464,467,612,617,620,674,678,685,688,717,720,749,759],[23,24,26],"h2",{"id":25},"tldr","TL;DR",[28,29,34,46,71],"div",{"className":30},[31,32,33],"card","p-5","my-4",[35,36,37,41,42,45],"p",{},[38,39,40],"strong",{},"一句话："," Codex CLI 是 OpenAI 官方做的终端 Coding Agent，对标 Claude Code。",[38,43,44],{},"Rust 实现 + Windows 原生沙箱 + 子代理 + MCP + Hooks","，ChatGPT Plus\u002FPro\u002FTeam\u002FEdu 已含使用额度。",[35,47,48,51,52,55,56,61,62,65,66,70],{},[38,49,50],{},"2026-07 最新","：稳定版 ",[38,53,54],{},"0.144.1","（7-09）接入 ",[57,58,60],"a",{"href":59},"\u002Fmodels\u002Fgpt-5-6.html","GPT-5.6"," 家族（Sol\u002FTerra\u002FLuna）；新增 ",[38,63,64],{},"ACP 支持","，可在 ",[57,67,69],{"href":68},"\u002Fcoding\u002Fide\u002Fwindsurf.html","Devin Desktop"," \u002F Zed 等 ACP 客户端里作为 Agent provider 运行；此前已作为公测 Agent provider 进入 JetBrains（经 GitHub Copilot，7-07）。",[35,72,73],{},"形态和 Claude Code 几乎一样，差异主要在模型选择。喜欢 GPT 的人选它，喜欢 Claude 的留 Claude Code。",[23,75,76],{"id":76},"它到底是个什么",[35,78,79,85,86,89],{},[57,80,84],{"href":81,"rel":82},"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex",[83],"nofollow","GitHub: openai\u002Fcodex","，",[38,87,88],{},"Apache-2.0 开源","，Rust 写的二进制，428+ 贡献者。在终端里跑一个能读 \u002F 改 \u002F 执行代码的 Agent，类似 Claude Code 但绑定 OpenAI 模型。",[35,91,92],{},"2026 的三个主线：",[94,95,96,103,109],"ol",{},[97,98,99,102],"li",{},[38,100,101],{},"速度 & 实时","：gpt-5.3-codex-spark 推理速度 1000+ token\u002Fs；WebSocket 远程控制延迟优化。",[97,104,105,108],{},[38,106,107],{},"Agent 自主性","：Subagents GA、Smart Approvals、PostToolUse hooks、worktree 自动化。",[97,110,111,114],{},[38,112,113],{},"企业就绪","：自定义 CA 证书、userpromptsubmit hooks、托管配置、插件策略强制。",[35,116,117],{},"最有用的 4 个能力：",[119,120,121,127,133,139],"ul",{},[97,122,123,126],{},[38,124,125],{},"沙箱执行","：默认在受限沙箱跑命令（macOS Sandbox \u002F Linux Landlock \u002F Windows AppContainer），不会污染主机。",[97,128,129,132],{},[38,130,131],{},"MCP 工具调用","：连 GitHub \u002F 数据库 \u002F Slack \u002F 自建 server，支持并行 tool call。",[97,134,135,138],{},[38,136,137],{},"Subagents","：把大任务拆给多个并行 sub-agent，token 用得多但效率高。",[97,140,141,144,145,149],{},[38,142,143],{},"Image inputs","：终端里 ",[146,147,148],"code",{},"codex -i screenshot.png \"解释这个错误\""," 直接读图。",[23,151,152],{"id":152},"价格",[154,155,156,171],"table",{},[157,158,159],"thead",{},[160,161,162,166,168],"tr",{},[163,164,165],"th",{},"档位",[163,167,152],{},[163,169,170],{},"说明",[172,173,174,186,197,208],"tbody",{},[160,175,176,180,183],{},[177,178,179],"td",{},"ChatGPT Plus",[177,181,182],{},"$20\u002F月",[177,184,185],{},"含 Codex CLI 用量（2026-03 起 mini 模型额度 +4×）",[160,187,188,191,194],{},[177,189,190],{},"ChatGPT Pro",[177,192,193],{},"$200\u002F月",[177,195,196],{},"更高额度 + 优先处理 + Spark 研究预览",[160,198,199,202,205],{},[177,200,201],{},"Business \u002F Edu \u002F Team",[177,203,204],{},"$25-30\u002F用户\u002F月起",[177,206,207],{},"企业管理 + SSO + Codex 含在内",[160,209,210,213,216],{},[177,211,212],{},"纯 API",[177,214,215],{},"按 token",[177,217,218],{},"gpt-5.5 ≈ $1.25 \u002F $10 per 1M token",[220,221,222],"blockquote",{},[35,223,224],{},"已经付 ChatGPT Plus 的人，等于白嫖一个 Codex CLI 用量，几乎不必另开 API 账号。",[23,226,228],{"id":227},"真实任务实测基于官方文档归纳","真实任务实测（基于官方文档归纳）",[220,230,231],{},[35,232,233],{},"来源说明：以下基于 Codex CLI 官方 features 文档与公开评测整合。",[235,236,238],"h3",{"id":237},"任务-1在-50k-行-rust-项目里加新-feature","任务 1：在 50k 行 Rust 项目里加新 feature",[240,241,246],"pre",{"className":242,"code":243,"language":244,"meta":245,"style":245},"language-bash shiki shiki-themes github-light github-dark","codex -m gpt-5-codex\n> 在 src\u002Fauth 模块下加 OAuth2 callback handler，参考已有的 token refresh 实现\n","bash","",[146,247,248,265],{"__ignoreMap":245},[249,250,253,257,261],"span",{"class":251,"line":252},"line",1,[249,254,256],{"class":255},"sScJk","codex",[249,258,260],{"class":259},"sj4cs"," -m",[249,262,264],{"class":263},"sZZnC"," gpt-5-codex\n",[249,266,268,272],{"class":251,"line":267},2,[249,269,271],{"class":270},"szBVR",">",[249,273,275],{"class":274},"sVt8B"," 在 src\u002Fauth 模块下加 OAuth2 callback handler，参考已有的 token refresh 实现\n",[35,277,278],{},"Agent 会 plan → 读相关文件 → 跑 cargo check → 跑测试 → 提 diff。子代理可以同时跑 lint 和 test 两条线。",[235,280,282],{"id":281},"任务-2ci-失败自动-debug","任务 2：CI 失败自动 debug",[240,284,286],{"className":242,"code":285,"language":244,"meta":245,"style":245},"codex --features enable post_tool_use_hook\n# 然后跑 cargo test，CI 失败时 Hook 自动触发 Agent 分析失败 + 写 fix\n",[146,287,288,301],{"__ignoreMap":245},[249,289,290,292,295,298],{"class":251,"line":252},[249,291,256],{"class":255},[249,293,294],{"class":259}," --features",[249,296,297],{"class":263}," enable",[249,299,300],{"class":263}," post_tool_use_hook\n",[249,302,303],{"class":251,"line":267},[249,304,306],{"class":305},"sJ8bj","# 然后跑 cargo test，CI 失败时 Hook 自动触发 Agent 分析失败 + 写 fix\n",[235,308,310],{"id":309},"任务-3跨仓库脚手架生成","任务 3：跨仓库脚手架生成",[240,312,314],{"className":242,"code":313,"language":244,"meta":245,"style":245},"codex -m gpt-5-codex\n> 用 mono-repo 模式建 3 个 package：core \u002F cli \u002F web，统一走 pnpm workspace\n",[146,315,316,324],{"__ignoreMap":245},[249,317,318,320,322],{"class":251,"line":252},[249,319,256],{"class":255},[249,321,260],{"class":259},[249,323,264],{"class":263},[249,325,326,328],{"class":251,"line":267},[249,327,271],{"class":270},[249,329,330],{"class":274}," 用 mono-repo 模式建 3 个 package：core \u002F cli \u002F web，统一走 pnpm workspace\n",[35,332,333],{},"子代理并行起 3 个目录的初始化，单次任务跑完 ~3 分钟，token 用约 80k。",[23,335,337],{"id":336},"上手-5-分钟","上手 5 分钟",[240,339,341],{"className":242,"code":340,"language":244,"meta":245,"style":245},"# macOS \u002F Linux\ncurl -fsSL https:\u002F\u002Fchatgpt.com\u002Fcodex\u002Finstall.sh | sh\n\n# Windows（原生 PowerShell）\n# 见官方 Windows setup guide，或用 npm i -g @openai\u002Fcodex\n\ncodex                          # 启动 TUI\ncodex -m gpt-5-codex .         # 在当前目录起 Agent\ncodex --remote wss:\u002F\u002F...       # 远程模式（SSH \u002F 容器）\ncodex features list            # 看可用 feature flag\ncodex features enable unified_exec\n",[146,342,343,348,365,372,378,384,389,397,413,427,441],{"__ignoreMap":245},[249,344,345],{"class":251,"line":252},[249,346,347],{"class":305},"# macOS \u002F Linux\n",[249,349,350,353,356,359,362],{"class":251,"line":267},[249,351,352],{"class":255},"curl",[249,354,355],{"class":259}," -fsSL",[249,357,358],{"class":263}," https:\u002F\u002Fchatgpt.com\u002Fcodex\u002Finstall.sh",[249,360,361],{"class":270}," |",[249,363,364],{"class":255}," sh\n",[249,366,368],{"class":251,"line":367},3,[249,369,371],{"emptyLinePlaceholder":370},true,"\n",[249,373,375],{"class":251,"line":374},4,[249,376,377],{"class":305},"# Windows（原生 PowerShell）\n",[249,379,381],{"class":251,"line":380},5,[249,382,383],{"class":305},"# 见官方 Windows setup guide，或用 npm i -g @openai\u002Fcodex\n",[249,385,387],{"class":251,"line":386},6,[249,388,371],{"emptyLinePlaceholder":370},[249,390,392,394],{"class":251,"line":391},7,[249,393,256],{"class":255},[249,395,396],{"class":305},"                          # 启动 TUI\n",[249,398,400,402,404,407,410],{"class":251,"line":399},8,[249,401,256],{"class":255},[249,403,260],{"class":259},[249,405,406],{"class":263}," gpt-5-codex",[249,408,409],{"class":263}," .",[249,411,412],{"class":305},"         # 在当前目录起 Agent\n",[249,414,416,418,421,424],{"class":251,"line":415},9,[249,417,256],{"class":255},[249,419,420],{"class":259}," --remote",[249,422,423],{"class":263}," wss:\u002F\u002F...",[249,425,426],{"class":305},"       # 远程模式（SSH \u002F 容器）\n",[249,428,430,432,435,438],{"class":251,"line":429},10,[249,431,256],{"class":255},[249,433,434],{"class":263}," features",[249,436,437],{"class":263}," list",[249,439,440],{"class":305},"            # 看可用 feature flag\n",[249,442,444,446,448,450],{"class":251,"line":443},11,[249,445,256],{"class":255},[249,447,434],{"class":263},[249,449,297],{"class":263},[249,451,452],{"class":263}," unified_exec\n",[35,454,455,456,459,460,463],{},"配置文件：",[146,457,458],{},"$CODEX_HOME\u002Fconfig.toml","（默认 ",[146,461,462],{},"~\u002F.codex\u002Fconfig.toml","）。",[23,465,466],{"id":466},"同类对比",[154,468,469,487],{},[157,470,471],{},[160,472,473,476,478,481,484],{},[163,474,475],{},"维度",[163,477,12],{},[163,479,480],{},"Claude Code",[163,482,483],{},"Aider",[163,485,486],{},"Cline",[172,488,489,505,521,537,554,569,584,599],{},[160,490,491,494,497,499,502],{},[177,492,493],{},"形态",[177,495,496],{},"终端 TUI",[177,498,496],{},[177,500,501],{},"终端 REPL",[177,503,504],{},"VS Code 插件",[160,506,507,510,513,516,519],{},[177,508,509],{},"默认模型",[177,511,512],{},"gpt-5-codex",[177,514,515],{},"Claude Sonnet\u002FOpus",[177,517,518],{},"BYOK 任意",[177,520,518],{},[160,522,523,526,529,532,535],{},[177,524,525],{},"含在订阅",[177,527,528],{},"ChatGPT Plus\u002FPro",[177,530,531],{},"Claude.ai $20\u002F月",[177,533,534],{},"❌（仅 API）",[177,536,534],{},[160,538,539,542,545,548,551],{},[177,540,541],{},"沙箱",[177,543,544],{},"macOS Sandbox \u002F Landlock \u002F AppContainer",[177,546,547],{},"类似",[177,549,550],{},"无",[177,552,553],{},"VS Code 环境",[160,555,556,559,562,564,567],{},[177,557,558],{},"MCP",[177,560,561],{},"✅",[177,563,561],{},[177,565,566],{},"部分",[177,568,561],{},[160,570,571,573,576,579,582],{},[177,572,137],{},[177,574,575],{},"✅ GA",[177,577,578],{},"✅ Task tool",[177,580,581],{},"❌",[177,583,581],{},[160,585,586,589,592,595,597],{},[177,587,588],{},"开源",[177,590,591],{},"Apache-2.0",[177,593,594],{},"闭源",[177,596,591],{},[177,598,591],{},[160,600,601,604,606,608,610],{},[177,602,603],{},"原生 Windows",[177,605,561],{},[177,607,566],{},[177,609,561],{},[177,611,561],{},[220,613,614],{},[35,615,616],{},"一句话区分：Codex CLI = OpenAI 官方版的 Claude Code；Claude Code = Anthropic 官方版的 Codex；Aider = 任意 OpenAI 兼容 API 都能跑；Cline = VS Code 里的 GUI 终端 Agent。",[23,618,619],{"id":619},"避坑清单",[94,621,622,628,638,648,654,660],{},[97,623,624,627],{},[38,625,626],{},"国内访问别频繁切 IP","，OpenAI 风控严，账号被封基本无法找回。",[97,629,630,633,634,637],{},[38,631,632],{},"沙箱默认会限制网络","，跑 ",[146,635,636],{},"npm install"," 等需要联网的命令前先看 approval 弹窗。",[97,639,640,643,644,647],{},[38,641,642],{},"Subagents 吃 token 多","，预算敏感时关闭 ",[146,645,646],{},"[agents]"," 配置或换 mini 模型。",[97,649,650,653],{},[38,651,652],{},"WebSocket 远程模式只接受 wss:\u002F\u002F 或 localhost ws:\u002F\u002F","，远程公网必须 TLS。",[97,655,656,659],{},[38,657,658],{},"gpt-5-codex 比 gpt-5.5 便宜但能力对齐","，2026-03 之后默认推荐用 codex 系列而非 5.5。",[97,661,662,669,670,673],{},[38,663,664,665,668],{},"不要用过期的 ",[146,666,667],{},"--approval-mode"," 旧参数","，新版用 ",[146,671,672],{},"codex features"," 子命令管理。",[23,675,677],{"id":676},"适合-不适合","适合 \u002F 不适合",[35,679,680,681,684],{},"✅ 终端 \u002F TMUX \u002F Vim 重度用户；已订阅 ChatGPT Plus \u002F Pro 的人；Windows 原生开发者；headless \u002F SSH \u002F 容器场景。",[682,683],"br",{},"\n❌ GUI 党；纯内网开发；偏好 Claude 长上下文风格的人。",[23,686,687],{"id":687},"相关阅读",[119,689,690,697,704],{},[97,691,692,693],{},"配套 playbook：",[57,694,696],{"href":695},"\u002Fplaybook\u002Fcodex-cli-vs-claude-code.html","Codex CLI vs Claude Code 怎么选",[97,698,699,700],{},"同分类：",[57,701,703],{"href":702},"\u002Fcoding\u002Fcli\u002F","AI CLI 全分类",[97,705,706,707,710,711,710,714],{},"替代品：",[57,708,480],{"href":709},"\u002Fcoding\u002Fcli\u002Fclaude-code.html"," · ",[57,712,483],{"href":713},"\u002Fcoding\u002Fcli\u002Faider.html",[57,715,486],{"href":716},"\u002Fcoding\u002Fcli\u002Fcline.html",[23,718,719],{"id":719},"来源",[119,721,722,729,736,742],{},[97,723,724,725],{},"官方文档：",[57,726,727],{"href":727,"rel":728},"https:\u002F\u002Fdevelopers.openai.com\u002Fcodex\u002Fcli",[83],[97,730,731,732],{},"Features 页：",[57,733,734],{"href":734,"rel":735},"https:\u002F\u002Fdevelopers.openai.com\u002Fcodex\u002Fcli\u002Ffeatures",[83],[97,737,738,739],{},"GitHub：",[57,740,81],{"href":81,"rel":741},[83],[97,743,744,745],{},"2026 更新综述：",[57,746,747],{"href":747,"rel":748},"https:\u002F\u002Fcodex.danielvaughan.com\u002F2026\u002F03\u002F27\u002Fcodex-cli-in-2026-whats-new",[83],[220,750,751],{},[35,752,753,754,758],{},"本卡片由 AIHO 编辑部根据以上公开资料整理，非厂商付费内容；定价与功能以官网为准，欢迎在 ",[57,755,757],{"href":756},"mailto:hello@aiho.net","反馈邮箱"," 反馈更新。",[760,761,762],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":245,"searchDepth":367,"depth":367,"links":764},[765,766,767,768,773,774,775,776,777,778],{"id":25,"depth":267,"text":26},{"id":76,"depth":267,"text":76},{"id":152,"depth":267,"text":152},{"id":227,"depth":267,"text":228,"children":769},[770,771,772],{"id":237,"depth":367,"text":238},{"id":281,"depth":367,"text":282},{"id":309,"depth":367,"text":310},{"id":336,"depth":267,"text":337},{"id":466,"depth":267,"text":466},{"id":619,"depth":267,"text":619},{"id":676,"depth":267,"text":677},{"id":687,"depth":267,"text":687},{"id":719,"depth":267,"text":719},"cli","\u002Fimg\u002Ftools\u002Fcodex.webp","Codex CLI 真实评测：OpenAI 官方开源（Apache-2.0）终端 Coding Agent，Rust 实现，原生 Windows 沙箱 + 子代理 + MCP + 钩子 + 远程控制；2026-07 接入 GPT-5.6（Sol\u002FTerra\u002FLuna）家族，支持 ACP 可在 Devin Desktop \u002F Zed 运行，Plus\u002FPro\u002FTeam\u002FEdu 计划已含。",false,"md",[785,788,791,794,797],{"q":786,"a":787},"Codex CLI 和 Claude Code 有什么区别？","形态几乎一致：都是终端 Agent + 沙箱执行 + MCP + 子代理。差异主要在模型——Codex CLI 走 OpenAI 的 gpt-5-codex 系列，Claude Code 走 Anthropic Sonnet\u002FOpus。OpenAI 在原生 Windows 沙箱（不需要 WSL）和 Rust 实现速度上略胜，Claude 在长任务上下文连续性上略胜。",{"q":789,"a":790},"在 Windows 上怎么用？","原生 PowerShell 沙箱模式（推荐），也支持 WSL2。安装命令：curl -fsSL https:\u002F\u002Fchatgpt.com\u002Fcodex\u002Finstall.sh | sh（macOS\u002FLinux），Windows 直接通过 npm 或 PowerShell installer。",{"q":792,"a":793},"国内能用吗？","需要 OpenAI 账号 + 稳定代理。Plus \u002F Pro 订阅可走支付宝。直接 `codex` 即可启动。",{"q":795,"a":796},"Codex CLI 支持本地模型吗？","原生只走 OpenAI API。如果要本地模型，建议用 Aider（OpenAI 兼容 endpoint，可指向 Ollama \u002F vLLM）。",{"q":798,"a":799},"Subagents \u002F Hooks \u002F MCP 是什么？","Subagents：把大任务拆给多个并行子代理；Hooks（PostToolUse \u002F userpromptsubmit）：在工具调用前后插入企业策略；MCP：连外部工具（GitHub \u002F 数据库 \u002F Slack）。Codex 2026 把这三块都做到了 GA。",[801,802],"zh","en",{},[805,806,807,512],"gpt-5.6-sol","gpt-5.6-terra","gpt-5.6-luna",[809,810,811],"重度 GUI 党（终端排斥者请用 Cursor）","国内纯内网（OpenAI API 需稳定代理）","需要 Claude 上下文风格的人","\u002Ftools\u002Fcoding\u002Fcli\u002Fcodex","coding",[815,816,817],"windows","macos","linux",[819,823,826,830],{"plan":179,"price":182,"limit":820,"cn_pay":821,"note":822},"含 Codex CLI 使用额度，默认 gpt-5-codex-mini（2026-03 起额度 +4×）","支付宝","个人入门",{"plan":190,"price":193,"limit":824,"cn_pay":821,"note":825},"更高额度 + 优先处理 + GPT-5.3-Codex-Spark 研究预览","Agent 重度用户",{"plan":201,"price":204,"limit":827,"cn_pay":828,"note":829},"团队管理 + SSO + Codex 含在内","—","团队档",{"plan":831,"price":215,"limit":832,"cn_pay":828,"note":833},"纯 API 调用","gpt-5.5 ≈ $1.25\u002F$10 per 1M tokens（input\u002Foutput）","BYOK 自由模式","ChatGPT Plus\u002FPro\u002FBusiness\u002FEdu\u002FEnterprise 包含 \u002F 或按 OpenAI API 计费","2026-06-18",[837,838],"ai-coding\u002Fcodex-cli-vs-claude-code","ai-coding\u002Fterminal-agent-workflow",[840,841,842,843],"aider-deep-review","claude-code-deep-review","codex-deep-review","cursor-deep-review",{"power":380,"ux":374,"price":374,"cn_support":367,"stability":374},{"title":12,"description":781},"coding\u002Fcli\u002Fcodex",[848,850,852,854,856],{"title":849,"url":727},"Codex CLI 官方文档",{"title":851,"url":734},"Codex CLI Features 官方",{"title":853,"url":81},"Codex CLI GitHub",{"title":855,"url":747},"Codex CLI 2026 更新综述",{"title":857,"url":858},"Codex CLI 0.144.1 Release","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex\u002Freleases","tools\u002Fcoding\u002Fcli\u002Fcodex",[861,862,863,864],"终端 \u002F TMUX \u002F Vim 重度用户","已经订阅 ChatGPT Plus \u002F Pro 的人（白嫖 Codex 用量）","Windows 原生开发者（Codex CLI 有 PowerShell 沙箱，不必走 WSL）","需要远程 SSH \u002F 容器中跑 Agent 的人（headless 友好）","OpenAI 官方终端 Coding Agent，GPT-5.6 家族驱动，支持 ACP",[779,867,868,18,869,870,871,872,873],"agent","terminal","gpt-5","subagents","mcp","opensource","rust","2026-07-20","Claude Code 的 OpenAI 版镜像。Plus \u002F Pro 已含、Windows 原生沙箱、Rust 速度快，喜欢 GPT 派的人首选；Claude Sonnet 4.5 在长任务上仍略胜，喜欢 Claude 的留 Claude Code。","4zwRzenYhUbSOeoZZ5kuIQDF1MkoTXOIYq-1KZ2U2F4",{"id":878,"title":879,"alternatives":880,"api_compatible":882,"body":885,"category":779,"chinese_friendly":380,"cover":1659,"description":1660,"domestic":370,"extension":783,"faq":9,"free":370,"github":1620,"languages":1661,"lastVerified":9,"meta":1662,"models":9,"navigation":370,"notSuitable":9,"opensource":370,"path":1663,"pillar":813,"platforms":1664,"priceTable":1665,"pricing":1688,"published":1689,"relatedPlaybooks":9,"relatedReviews":9,"score":1690,"self_host":782,"seo":1691,"seoTitle":9,"slug":1692,"sources":1693,"stem":1704,"suitable":9,"tagline":1705,"tags":1706,"updated":1689,"verdict":1709,"website":1620,"__hash__":1710},"tools\u002Ftools\u002Fcoding\u002Fcli\u002Fqwen-code.md","Qwen Code",[881,14,15,846],"coding\u002Fcli\u002Fgemini-cli",[18,883,884],"anthropic","google-genai",{"type":20,"value":886,"toc":1641},[887,889,928,933,936,940,943,947,1007,1010,1021,1041,1046,1049,1053,1149,1153,1159,1179,1182,1204,1242,1245,1278,1281,1414,1419,1436,1441,1462,1464,1536,1538,1541,1557,1560,1574,1576,1612,1614,1632,1638],[23,888,26],{"id":25},[28,890,892,917],{"className":891},[31,32,33],[35,893,894,896,897,900,901,903,904,908,909,911,912,916],{},[38,895,40],{}," 阿里开源的",[38,898,899],{},"终端 AI 编码 agent","，和 ",[57,902,480],{"href":709},"、",[57,905,907],{"href":906},"\u002Fcoding\u002Fcli\u002Fgemini-cli.html","Gemini CLI"," 同一类——在终端里读文件、跑命令、循环改代码。它从 Google ",[57,910,907],{"href":906}," v0.8.2 fork 而来，针对 ",[57,913,915],{"href":914},"\u002Fmodels\u002Fqwen3-coder.html","Qwen3-Coder"," 模型做了 parser 和 function-calling 调优。",[35,918,919,920,923,924,927],{},"npm 包名 ",[146,921,922],{},"@qwen-code\u002Fqwen-code","，命令行入口是 ",[146,925,926],{},"qwen","。最大优势对国内开发者：开源免费 + ModelScope 每天 2000 次免费额度 + 中文友好。",[220,929,930],{},[35,931,932],{},"来源说明：本文基于 GitHub（QwenLM\u002Fqwen-code）、npm 官方页、以及 morphllm \u002F a2a-mcp 等资料整理。该项目迭代快、鉴权方式有过重大调整，请以最新官方 README 为准。",[23,934,935],{"id":935},"核心特性",[235,937,939],{"id":938},"与-gemini-cli-的血缘","与 Gemini CLI 的血缘",[35,941,942],{},"Qwen Code 基于 Gemini CLI v0.8.2 fork，从 v0.1 起停止与上游同步、独立开发。所以二者共享祖先（终端 UI + agent 循环），但如今各走各路——Qwen Code 的新功能不来自 Gemini CLI，反之亦然。",[235,944,946],{"id":945},"agentic-能力","Agentic 能力",[119,948,949,955,961,967,973,979,998],{},[97,950,951,954],{},[38,952,953],{},"代码理解与编辑","：查询和编辑超出传统上下文窗口的大型 codebase",[97,956,957,960],{},[38,958,959],{},"工作流自动化","：处理 PR、复杂 rebase 等运维型任务",[97,962,963,966],{},[38,964,965],{},"增强 parser","：专为 Qwen-Coder 模型优化的解析器",[97,968,969,972],{},[38,970,971],{},"视觉模型支持","：自动检测输入里的图片，切换到视觉模型做多模态分析",[97,974,975,978],{},[38,976,977],{},"SubAgents \u002F Agent Teams","：分层 agent——主 agent 把聚焦子任务委派给专门 subagent 再汇总",[97,980,981,984,985,903,988,903,991,903,994,997],{},[38,982,983],{},"内置 skills","：",[146,986,987],{},"\u002Freview",[146,989,990],{},"\u002Fbatch",[146,992,993],{},"\u002Floop",[146,995,996],{},"\u002Fbugfix"," 等命令",[97,999,1000,1006],{},[38,1001,1002,1005],{},[57,1003,558],{"href":1004},"\u002Fwiki\u002Fmcp.html"," 支持","：连外部工具和数据",[235,1008,1009],{"id":1009},"上下文与会话管理",[35,1011,1012,1013,1016,1017,1020],{},"针对 token 消耗提供会话级控制（在 ",[146,1014,1015],{},"~\u002F.qwen\u002Fsettings.json"," 配 ",[146,1018,1019],{},"sessionTokenLimit","）：",[119,1022,1023,1029,1035],{},[97,1024,1025,1028],{},[146,1026,1027],{},"\u002Fcompress","：压缩对话历史，在 token 上限内继续",[97,1030,1031,1034],{},[146,1032,1033],{},"\u002Fclear","：清空历史重新开始",[97,1036,1037,1040],{},[146,1038,1039],{},"\u002Fstats","：查看当前 token 使用和上限",[35,1042,1043,1045],{},[57,1044,915],{"href":914}," 原生 256K 上下文，可外推到约 1M。",[23,1047,1048],{"id":1048},"安装与鉴权",[235,1050,1052],{"id":1051},"安装需-nodejs-20npm-官方写-22","安装（需 Node.js 20+，npm 官方写 22+）",[240,1054,1056],{"className":242,"code":1055,"language":244,"meta":245,"style":245},"# npm 全局安装（最通用）\nnpm install -g @qwen-code\u002Fqwen-code@latest\nqwen --version\n\n# Homebrew（macOS \u002F Linux）\nbrew install qwen-code\n\n# 从源码\ngit clone https:\u002F\u002Fgithub.com\u002FQwenLM\u002Fqwen-code.git\ncd qwen-code && npm install && npm install -g .\n",[146,1057,1058,1063,1077,1084,1088,1093,1103,1107,1112,1123],{"__ignoreMap":245},[249,1059,1060],{"class":251,"line":252},[249,1061,1062],{"class":305},"# npm 全局安装（最通用）\n",[249,1064,1065,1068,1071,1074],{"class":251,"line":267},[249,1066,1067],{"class":255},"npm",[249,1069,1070],{"class":263}," install",[249,1072,1073],{"class":259}," -g",[249,1075,1076],{"class":263}," @qwen-code\u002Fqwen-code@latest\n",[249,1078,1079,1081],{"class":251,"line":367},[249,1080,926],{"class":255},[249,1082,1083],{"class":259}," --version\n",[249,1085,1086],{"class":251,"line":374},[249,1087,371],{"emptyLinePlaceholder":370},[249,1089,1090],{"class":251,"line":380},[249,1091,1092],{"class":305},"# Homebrew（macOS \u002F Linux）\n",[249,1094,1095,1098,1100],{"class":251,"line":386},[249,1096,1097],{"class":255},"brew",[249,1099,1070],{"class":263},[249,1101,1102],{"class":263}," qwen-code\n",[249,1104,1105],{"class":251,"line":391},[249,1106,371],{"emptyLinePlaceholder":370},[249,1108,1109],{"class":251,"line":399},[249,1110,1111],{"class":305},"# 从源码\n",[249,1113,1114,1117,1120],{"class":251,"line":415},[249,1115,1116],{"class":255},"git",[249,1118,1119],{"class":263}," clone",[249,1121,1122],{"class":263}," https:\u002F\u002Fgithub.com\u002FQwenLM\u002Fqwen-code.git\n",[249,1124,1125,1128,1131,1134,1136,1138,1140,1142,1144,1146],{"class":251,"line":429},[249,1126,1127],{"class":259},"cd",[249,1129,1130],{"class":263}," qwen-code",[249,1132,1133],{"class":274}," && ",[249,1135,1067],{"class":255},[249,1137,1070],{"class":263},[249,1139,1133],{"class":274},[249,1141,1067],{"class":255},[249,1143,1070],{"class":263},[249,1145,1073],{"class":259},[249,1147,1148],{"class":263}," .\n",[235,1150,1152],{"id":1151},"鉴权️-2026-04-15-后免费-oauth-已停用","鉴权（⚠️ 2026-04-15 后免费 OAuth 已停用）",[35,1154,1155,1158],{},[38,1156,1157],{},"重要变更","：Qwen OAuth 已于 2026 年 4 月 15 日停用。现在必须用以下方式之一：",[94,1160,1161,1173],{},[97,1162,1163,1166,1167,1172],{},[38,1164,1165],{},"API Key（推荐）","：阿里云百炼 Model Studio（",[57,1168,1171],{"href":1169,"rel":1170},"https:\u002F\u002Fbailian.console.aliyun.com\u002F",[83],"北京"," \u002F 国际站）申请，或任何 OpenAI \u002F Anthropic \u002F Google GenAI 兼容端点",[97,1174,1175,1178],{},[38,1176,1177],{},"阿里云 Coding Plan","：固定月费，配额更高",[35,1180,1181],{},"国内 \u002F 国际免费额度：",[119,1183,1184,1194],{},[97,1185,1186,1189,1190,1193],{},[38,1187,1188],{},"ModelScope（国内）","：每天 ",[38,1191,1192],{},"2000 次","免费 API 调用",[97,1195,1196,1199,1200,1203],{},[38,1197,1198],{},"OpenRouter（国际）","：每天最多 ",[38,1201,1202],{},"1000 次","免费调用",[240,1205,1207],{"className":242,"code":1206,"language":244,"meta":245,"style":245},"cd your-project\nqwen\n# 进入交互界面后：\n\u002Fauth     # 配置 provider \u002F API Key\n\u002Fhelp     # 查看命令\n",[146,1208,1209,1216,1221,1226,1234],{"__ignoreMap":245},[249,1210,1211,1213],{"class":251,"line":252},[249,1212,1127],{"class":259},[249,1214,1215],{"class":263}," your-project\n",[249,1217,1218],{"class":251,"line":267},[249,1219,1220],{"class":255},"qwen\n",[249,1222,1223],{"class":251,"line":367},[249,1224,1225],{"class":305},"# 进入交互界面后：\n",[249,1227,1228,1231],{"class":251,"line":374},[249,1229,1230],{"class":255},"\u002Fauth",[249,1232,1233],{"class":305},"     # 配置 provider \u002F API Key\n",[249,1235,1236,1239],{"class":251,"line":380},[249,1237,1238],{"class":255},"\u002Fhelp",[249,1240,1241],{"class":305},"     # 查看命令\n",[23,1243,1244],{"id":1244},"国内使用注意事项",[94,1246,1247,1253,1259,1265],{},[97,1248,1249,1252],{},[38,1250,1251],{},"中文友好度高","：阿里出品，文档和模型对中文场景优化好，是国内终端 agent 的少数优选",[97,1254,1255,1258],{},[38,1256,1257],{},"免费额度香","：ModelScope 每天 2000 次足够个人日常用，且支付宝\u002F微信付费无门槛",[97,1260,1261,1264],{},[38,1262,1263],{},"不需要代理","：用国内 ModelScope \u002F 百炼端点时全程国内网络可达",[97,1266,1267,1270,1271,1275,1276],{},[38,1268,1269],{},"替代\u002F搭配","：要更强模型可接 ",[57,1272,1274],{"href":1273},"\u002Fcoding\u002Fapi\u002Fopenrouter.html","OpenRouter"," 转发；纯开源洁癖可看 ",[57,1277,483],{"href":713},[23,1279,1280],{"id":1280},"与同类怎么选",[154,1282,1283,1303],{},[157,1284,1285],{},[160,1286,1287,1289,1291,1295,1299],{},[163,1288,475],{},[163,1290,879],{},[163,1292,1293],{},[57,1294,907],{"href":906},[163,1296,1297],{},[57,1298,480],{"href":709},[163,1300,1301],{},[57,1302,483],{"href":713},[172,1304,1305,1322,1340,1355,1370,1386,1400],{},[160,1306,1307,1310,1313,1316,1319],{},[177,1308,1309],{},"出身",[177,1311,1312],{},"Gemini CLI fork",[177,1314,1315],{},"Google 原生",[177,1317,1318],{},"Anthropic",[177,1320,1321],{},"独立开源",[160,1323,1324,1327,1331,1334,1337],{},[177,1325,1326],{},"主打模型",[177,1328,1329],{},[57,1330,915],{"href":914},[177,1332,1333],{},"Gemini",[177,1335,1336],{},"Claude",[177,1338,1339],{},"任意 API",[160,1341,1342,1344,1347,1350,1353],{},[177,1343,588],{},[177,1345,1346],{},"★★★★★ Apache",[177,1348,1349],{},"★★★★☆",[177,1351,1352],{},"✗",[177,1354,1346],{},[160,1356,1357,1360,1363,1366,1368],{},[177,1358,1359],{},"国内可用性",[177,1361,1362],{},"★★★★★ 无门槛",[177,1364,1365],{},"★★★☆☆",[177,1367,1365],{},[177,1369,1349],{},[160,1371,1372,1375,1378,1380,1383],{},[177,1373,1374],{},"免费额度",[177,1376,1377],{},"★★★★★ 每天 2000 次",[177,1379,1349],{},[177,1381,1382],{},"★★☆☆☆",[177,1384,1385],{},"按 API 付",[160,1387,1388,1391,1394,1396,1398],{},[177,1389,1390],{},"中文支持",[177,1392,1393],{},"★★★★★",[177,1395,1349],{},[177,1397,1349],{},[177,1399,1365],{},[160,1401,1402,1405,1408,1410,1412],{},[177,1403,1404],{},"模型自由度",[177,1406,1407],{},"★★★★☆ 兼容多家",[177,1409,1365],{},[177,1411,1365],{},[177,1413,1393],{},[35,1415,1416,984],{},[38,1417,1418],{},"选 Qwen Code 如果你",[119,1420,1421,1424,1430,1433],{},[97,1422,1423],{},"国内开发者、想要免门槛 + 中文友好的终端 agent",[97,1425,1426,1427,1429],{},"想用 ",[57,1428,915],{"href":914}," 或免费额度跑日常编码",[97,1431,1432],{},"喜欢 Gemini CLI 那套交互、但要更好的国内可用性",[97,1434,1435],{},"要开源、可接任意 OpenAI 兼容端点",[35,1437,1438,984],{},[38,1439,1440],{},"别选 Qwen Code 如果你",[119,1442,1443,1454,1459],{},[97,1444,1445,1446,1448,1449,1453],{},"重度依赖 Claude \u002F GPT 的特定能力（去 ",[57,1447,480],{"href":709}," \u002F ",[57,1450,1452],{"href":1451},"\u002Fcoding\u002Fcli\u002Fcodex.html","Codex","）",[97,1455,1456,1457,1453],{},"想要最极简、模型完全自选的工具（",[57,1458,483],{"href":713},[97,1460,1461],{},"介意 token 消耗偏高",[23,1463,619],{"id":619},[119,1465,1466,1475,1490,1496,1516,1522],{},[97,1467,1468,1471,1472,1474],{},[38,1469,1470],{},"免费 OAuth 已死","：2026-04-15 起 Qwen OAuth 停用。老用户升级后会登录失败，必须 ",[146,1473,1230],{}," 重新配 API Key（ModelScope \u002F 百炼 \u002F OpenRouter 等）。",[97,1476,1477,1480,1481,1483,1484,1486,1487,1489],{},[38,1478,1479],{},"token 消耗偏高","：官方明确提示——Qwen Code 每轮可能发多次 API 调用，token 用量和 ",[57,1482,480],{"href":709}," 类似偏高。用 ",[146,1485,1019],{}," + ",[146,1488,1027],{}," 控制成本，否则免费额度掉得快。",[97,1491,1492,1495],{},[38,1493,1494],{},"Node 版本","：GitHub 写 20+，npm 写 22+，遇到诡异报错先升到 Node 22 LTS。",[97,1497,1498,1501,1502,1504,1505,1507,1508,1511,1512,1515],{},[38,1499,1500],{},"认准官方包","：官方是 npm 的 ",[146,1503,922],{},"（binary ",[146,1506,926],{},"）和 GitHub ",[146,1509,1510],{},"QwenLM\u002Fqwen-code","。网上有同名第三方仓库\u002F教程（如 ",[146,1513,1514],{},"pip install qwen-code-cli","）并非官方，别装错。",[97,1517,1518,1521],{},[38,1519,1520],{},"和 Gemini CLI 不再同步","：别指望 Gemini CLI 的新功能会出现在 Qwen Code 里，二者已分家独立演进。",[97,1523,1524,1527,1528,1531,1532,1535],{},[38,1525,1526],{},"视觉切换弹窗","：默认开启图片自动切视觉模型，每次会弹确认框；嫌烦在 ",[146,1529,1530],{},"settings.json"," 设 ",[146,1533,1534],{},"vlmSwitchMode","。",[23,1537,677],{"id":676},[35,1539,1540],{},"✅ 适合：",[119,1542,1543,1546,1549,1554],{},[97,1544,1545],{},"国内开发者要免门槛、中文友好的终端 agent",[97,1547,1548],{},"想白嫖 ModelScope 每天 2000 次免费额度",[97,1550,1551,1553],{},[57,1552,915],{"href":914}," 用户",[97,1555,1556],{},"喜欢 Gemini CLI 交互但要更好国内体验",[35,1558,1559],{},"❌ 不适合：",[119,1561,1562,1565,1568],{},[97,1563,1564],{},"强依赖 Claude \u002F GPT 特定能力",[97,1566,1567],{},"极度在意 token 成本（消耗偏高）",[97,1569,1570,1571,1573],{},"想要模型完全自选的极简工具（",[57,1572,483],{"href":713}," 更纯）",[23,1575,687],{"id":687},[119,1577,1578,1589,1594,1607],{},[97,1579,1580,1581,1448,1583,1448,1585,1448,1587],{},"同类对比：",[57,1582,907],{"href":906},[57,1584,480],{"href":709},[57,1586,483],{"href":713},[57,1588,1452],{"href":1451},[97,1590,1591,1592],{},"模型：",[57,1593,915],{"href":914},[97,1595,1596,1597,1448,1601,1448,1603],{},"概念：",[57,1598,1600],{"href":1599},"\u002Fwiki\u002Fai-agent.html","AI Agent",[57,1602,558],{"href":1004},[57,1604,1606],{"href":1605},"\u002Fwiki\u002Fcontext-rot.html","Context Rot",[97,1608,1609,1610],{},"API 转发：",[57,1611,1274],{"href":1273},[23,1613,719],{"id":719},[119,1615,1616,1622,1629],{},[97,1617,738,1618],{},[57,1619,1620],{"href":1620,"rel":1621},"https:\u002F\u002Fgithub.com\u002FQwenLM\u002Fqwen-code",[83],[97,1623,1624,1625],{},"npm：",[57,1626,1627],{"href":1627,"rel":1628},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@qwen-code\u002Fqwen-code",[83],[97,1630,1631],{},"资料：morphllm.com \u002F a2a-mcp.org",[35,1633,1634,1635,1637],{},"本卡片由 AIHO 编辑部根据官方公开资料整理。所有事实点均标注来源；如发现安装命令 \u002F 鉴权方式 \u002F 免费额度与最新官方信息不一致，请通过 ",[57,1636,757],{"href":756}," 反馈。",[760,1639,1640],{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":245,"searchDepth":367,"depth":367,"links":1642},[1643,1644,1649,1653,1654,1655,1656,1657,1658],{"id":25,"depth":267,"text":26},{"id":935,"depth":267,"text":935,"children":1645},[1646,1647,1648],{"id":938,"depth":367,"text":939},{"id":945,"depth":367,"text":946},{"id":1009,"depth":367,"text":1009},{"id":1048,"depth":267,"text":1048,"children":1650},[1651,1652],{"id":1051,"depth":367,"text":1052},{"id":1151,"depth":367,"text":1152},{"id":1244,"depth":267,"text":1244},{"id":1280,"depth":267,"text":1280},{"id":619,"depth":267,"text":619},{"id":676,"depth":267,"text":677},{"id":687,"depth":267,"text":687},{"id":719,"depth":267,"text":719},"\u002Fimg\u002Ftools\u002Fqwen-code.webp","Qwen Code 真实评测：阿里开源的终端 AI 编码 agent，从 Gemini CLI fork 而来、专为 Qwen3-Coder 调优。AIHO 编辑部基于官方 npm\u002FGitHub 与多份资料整理，含安装、鉴权变更、国内免费额度、与 Claude Code\u002FGemini CLI 对比及避坑。",[801,802],{},"\u002Ftools\u002Fcoding\u002Fcli\u002Fqwen-code",[815,816,817],[1666,1671,1675,1679,1684],{"plan":1667,"price":1668,"limit":1669,"cn_pay":828,"note":1670},"工具本体","$0","开源（Apache），自己跑","费用全在模型 API",{"plan":1188,"price":1374,"limit":1672,"cn_pay":1673,"note":1674},"每天 2000 次 API 调用","✅ 支付宝\u002F微信","国内开发者首选",{"plan":1198,"price":1374,"limit":1676,"cn_pay":1677,"note":1678},"每天最多 1000 次调用","⚠️ 海外卡","全球可用",{"plan":1680,"price":1681,"limit":1682,"cn_pay":561,"note":1683},"阿里云百炼 API Key","按量计费","Qwen3-Coder 等模型","官方推荐，稳定",{"plan":1177,"price":1685,"limit":1686,"cn_pay":561,"note":1687},"固定月费","更高配额","重度使用","工具开源免费；模型按 API 计费。国内 ModelScope 每天 2000 次免费 \u002F 国际 OpenRouter 每天 1000 次免费","2026-06-28",{"power":374,"ux":374,"price":380,"cn_support":380,"stability":374},{"title":879,"description":1660},"coding\u002Fcli\u002Fqwen-code",[1694,1696,1698,1701],{"title":1695,"url":1620},"Qwen Code GitHub (QwenLM\u002Fqwen-code)",{"title":1697,"url":1627},"@qwen-code\u002Fqwen-code npm",{"title":1699,"url":1700},"Qwen CLI 解析 (morphllm)","https:\u002F\u002Fwww.morphllm.com\u002Fqwen-cli",{"title":1702,"url":1703},"Qwen Code CLI 安装指南 (a2a-mcp.org)","https:\u002F\u002Fa2a-mcp.org\u002Fblog\u002Fqwen-cli-install","tools\u002Fcoding\u002Fcli\u002Fqwen-code","阿里开源的终端 AI 编码 agent，专调 Qwen3-Coder",[779,868,867,926,1707,1708],"open-source","gemini-cli-fork","国内开发者的终端 agent 首选之一：开源免费、ModelScope 每天 2000 次免费额度、对 Qwen3-Coder 调优。从 Gemini CLI fork 而来体验成熟。坑：2026-04-15 砍了免费 OAuth，现在必须配 API Key；token 消耗偏高（同 Claude Code）。","GvGQqhNeNhTe6L1VZBVVNGKSbomJCLz3sxymKb-1LuI",1784565441696]