China AI Hub China AI Hub

Agents / Qwen Code

Qwen Code

Alibaba Qwen team's open-source AI coding agent (Apache-2.0) for terminal, editor, desktop, browser and chat. Originally based on Google Gemini CLI v0.8.2, independent development since v0.1 as a multi-protocol, multi-platform agent framework. Ships as CLI (npm), Desktop app, VS Code 'Qwen Code Companion' (Beta), Web UI and IM channels (Telegram/DingTalk/WeChat/Feishu). Includes 5 permission modes, Seatbelt/Docker sandboxing, auto-memory, subagents, MCP, computer use and multi-protocol model support.

Qwen Code is a coding agent by alibaba-cloud, deployable self-hosted, and released open source.

Qwen Code
Image: AI-generated illustration (Seedream)
Last verified: · Review cadence: 90 days · Next review:
Key facts for Qwen Code
Key factValue
Companyalibaba-cloud
Typecoding
FrameworkMulti-protocol agent framework (TypeScript); supports OpenAI, Anthropic, Gemini, Qwen APIs plus DeepSeek, MiniMax, Z.AI, Kimi, OpenRouter and local models (Ollama/vLLM)
Deploymentself_hosted
Open sourceYes (Apache-2.0)
GitHubhttps://github.com/QwenLM/qwen-code
Documentationhttps://qwenlm.github.io/qwen-code-docs/en/users/overview/
PricingCLI free (Apache-2.0); user pays the model provider. Alibaba Cloud Coding Plan (intl) Pro $50/month; Token Plan (CN, Beijing only) Personal Lite ¥39 / Essential ¥79 / Standard ¥139 / Pro ¥499 per month, team seats ¥150-¥1398; or pay-as-you-go Model Studio API keys; BYO keys to other providers.

Capabilities

Capabilities of Qwen Code
CapabilitySupported
Tool callingYes
Browser useYes
Computer useYes
MCP supportYes
MemoryYes
PlanningYes
Multi-agentYes
APIYes

Use cases

Limitations

Short answer. Qwen Code is the Qwen team’s open-source AI coding agent (Apache-2.0) for terminal, editor, desktop, browser and chat, built as a multi-protocol, multi-platform TypeScript framework. It is Alibaba’s flagship open coding agent and the most model-agnostic surface in its portfolio — supporting OpenAI, Anthropic, Gemini and Qwen APIs plus DeepSeek, MiniMax, Z.AI, Kimi, OpenRouter and local models.

Key facts.

  • Ships as a CLI (npm), Desktop app, VS Code “Qwen Code Companion” (Beta), Web UI and IM channels (Telegram/DingTalk/WeChat/Feishu); originally based on Google Gemini CLI v0.8.2, independent since v0.1.
  • Five permission modes, Seatbelt/Docker sandboxing, auto-memory (with QWEN.md as the guaranteed instruction file), subagents, MCP, computer use and Agent Arena for head-to-head model comparison.
  • The CLI is free (Apache-2.0); the user pays the model provider directly, and BYO keys work for any supported provider.
  • Alibaba billing: international Coding Plan Pro $50/month; China Token Plan (Beijing only) Personal ¥39–¥499/month, team seats ¥150–¥1,398; or pay-as-you-go Model Studio API keys.
  • Multi-protocol framework: OpenAI, Anthropic, Gemini and Qwen APIs, plus DeepSeek, MiniMax, Z.AI, Kimi, OpenRouter and local models (Ollama/vLLM).

What this means. Qwen Code’s value is optionality, not a single model — it is the open client that explicitly supports competitors’ models, making it the opposite of Qwen-Agent’s Qwen-native design and complementary to Qoder’s closed multi-model routing.

What is uncertain. The Web UI and daemon (qwen serve) are experimental, the Qwen OAuth free tier was discontinued 2026-04-15, and Auto Mode’s classifier is biased toward blocking (failing closed on outage). Independent benchmark evidence of Qwen Code’s coding quality is not recorded in this database.

Sources.

evidence_idsource_namesource_urlsource_typepublishedverifiedconfidenceconflict
src-agents-qwen-code-1Qwen Code GitHub repositoryhttps://github.com/QwenLM/qwen-codeOfficial documentation—2026-09-20high—
src-agents-qwen-code-2Qwen Code docs - overviewhttps://qwenlm.github.io/qwen-code-docs/en/users/overview/Official documentation—2026-09-20high—
src-agents-qwen-code-3Alibaba Cloud Model Studio Coding Planhttps://www.alibabacloud.com/help/en/model-studio/coding-planOfficial documentation—2026-09-20high—
src-agents-qwen-code-4Alibaba Cloud Token Plan overviewhttps://help.aliyun.com/en/model-studio/token-plan-overviewOfficial documentation—2026-09-20high—

Why it matters

Qwen Code is the most model-agnostic agent in Alibaba’s portfolio, and the database’s clearest example of a vendor shipping open tooling that works against its own model lock-in. Its multi-protocol TypeScript framework explicitly supports competitors’ models — DeepSeek, Kimi, Z.AI, MiniMax, OpenAI, Anthropic, Gemini — alongside Qwen, with the CLI free and the user paying whatever provider they route to.

China AI Hub analysis indicates Qwen Code matters as Alibaba’s bet that open tooling wins developer mindshare even when those developers ultimately route to other vendors’ models — a bet that mirrors how the Qwen model family itself is open-weight. The agent’s value is the framework (sandboxing, five permission modes, MCP, computer use, Agent Arena), not any single model, which is why it can afford to be genuinely model-optional: Alibaba monetizes the access (Coding Plan, Token Plan, Model Studio keys) rather than the client.

How it differs from Kimi Code and GLM Coding Plan

The three coding agents split on openness and model posture.

  • Kimi Code is Moonshot’s first-party open client bound to its own models (Kimi K3/K2.7-Code), monetized through Kimi membership — the tightest integration between tool and model, around K3’s 1M-token output.
  • GLM Coding Plan is not a client — it is a subscription that injects GLM models into third-party tools (Claude Code, Codex, Cursor, OpenClaw), monetizing model access inside everyone else’s client.
  • Qwen Code is an open multi-protocol client that routes to any provider — model-optional by design, free as a tool, with Alibaba monetizing access through its Coding/Token plans.

China AI Hub analysis: the three are the same question — “how does a Chinese vendor capture coding-agent demand?” — answered three ways. Moonshot binds a free open client to its own models; Zhipu skips the client and sells model access inside other tools; Alibaba gives away the most flexible client and charges for access. Qwen Code is the most open on both axes (open source and model-agnostic), which is precisely why it competes on framework quality rather than model exclusivity.

Practical implications

For developers. Qwen Code is the “bring your own model” open client — free CLI, five permission modes, Seatbelt/Docker sandboxing, MCP, computer use, subagents and Agent Arena for head-to-head model comparison. It runs on npm, desktop, VS Code, Web UI and chat channels, and is pipe-friendly for CI (qwen -p).

For self-hosters. The framework is Apache-2.0 and the sandboxing is real — Seatbelt/Docker — but the default Docker image is intentionally minimal (Java not included), and sandboxing reduces rather than eliminates risk; GUI apps may not run in sandboxes.

For cost-conscious users. The CLI is free and BYO keys work for any provider, so the marginal cost is whatever model you point it at. Alibaba’s own plans (Coding Plan $50/month international; Token Plan ¥39–¥499/month China, Beijing only) are optional, not required.

What the evidence shows

The evidence is strong on the framework and honest about the experimental edges. The GitHub repo and docs document the multi-surface distribution (CLI, desktop, VS Code, Web UI, IM channels), the multi-protocol model support, the five permission modes, Seatbelt/Docker sandboxing, auto-memory/QWEN.md, MCP, computer use and Agent Arena; the Model Studio and Token Plan pages fix Alibaba’s own billing options.

The caveats are explicit rather than hidden: the Web UI and daemon are experimental, the Qwen OAuth free tier ended 2026-04-15, Auto Mode’s classifier is biased toward blocking and fails closed on outage, and sandboxing reduces but does not eliminate risk. China AI Hub analysis indicates this is a mature open project that discloses its own rough edges — the “experimental” and “fails closed” annotations are themselves evidence of production realism, not immaturity, and buyers should read the Auto Mode bias as a deliberate safety posture rather than a defect.

Where this fits

WorkloadRelevance
Multi-protocol coding (any provider, local or API)High
Sandboxed execution (Seatbelt/Docker, 5 permission modes)High
CI automation and pipe-friendly workflows (qwen -p)High
Remote agent via chat channels (Telegram/DingTalk/WeChat/Feishu)High
Multi-model comparison (Agent Arena)High
Production Web UI / daemon (qwen serve)Low (experimental)
Independent coding benchmarkNo evidence recorded

Relevance judgments are China AI Hub analysis based on documented capabilities, not vendor claims.

Field reference

FieldValueEvidence type
Underlying modelNot pinned (multi-protocol: OpenAI, Anthropic, Gemini, Qwen, DeepSeek, MiniMax, Z.AI, Kimi, OpenRouter, local)Official
Target usersDevelopers (terminal, editor, desktop, browser, chat)Official
PlatformCLI (npm), Desktop app, VS Code companion, Web UI, IM channelsOfficial
OSCross-platform (CLI/Desktop); Docker sandboxOfficial
Browser / computer useBrowser and Computer UseVendor-reported
CodingYes (coding agent)Official
Autonomous task executionYes (planning, multi-agent subagents)Vendor-reported
MCPYesOfficial
Tool callingYesOfficial
MemoryYes (auto-memory, QWEN.md)Official
Workflow5 permission modes; Seatbelt/Docker sandboxing; multi-protocol model routingOfficial
APIYes (user pays model provider)Official
PricingCLI free; Alibaba Cloud Coding Plan Pro $50/month or Token Plan ¥39–¥499/monthVendor-reported
RegionNot publicly documentedNot publicly documented
Open-sourceYes — Apache-2.0Official
DeploymentSelf-hostedOfficial
LimitationsWeb UI/daemon experimental; sandboxing reduces but not eliminates riskOfficial
SourceQwen Code GitHubOfficial
Last verified2026-09-20Official

See the Alibaba Cloud company profile, the Qwen-Agent framework, the Qoder platform, the choosing-a-coding-model guide, the Model Studio platform, and the site’s AI agents and MCP technology pages.

Labels used above: Official fact (from the Qwen Code GitHub repo and docs), Vendor-reported claim (pricing and capability statements by Alibaba Cloud), and China AI Hub analysis (our synthesis, always introduced as such). No independent benchmark of Qwen Code’s coding quality is currently recorded.

Sources

Data interpretation

Evidence types for Qwen Code
FieldValueEvidence type
Companyalibaba-cloudOfficial
TypecodingOfficial
Open sourceYes (Apache-2.0)Official
Deploymentself_hostedOfficial
CapabilitiesTool calling, Browser use, Computer use, MCP support, Memory, Planning, Multi-agent, APIOfficial

Evidence types: Official = vendor documentation or official pages. See the sourcing policy.

What is Qwen Code?

Alibaba Qwen team's open-source AI coding agent (Apache-2.0) for terminal, editor, desktop, browser and chat. Originally based on Google Gemini CLI v0.8.2, independent development since v0.1 as a multi-protocol, multi-platform agent framework. Ships as CLI (npm), Desktop app, VS Code 'Qwen Code Companion' (Beta), Web UI and IM channels (Telegram/DingTalk/WeChat/Feishu). Includes 5 permission modes, Seatbelt/Docker sandboxing, auto-memory, subagents, MCP, computer use and multi-protocol model support.

Is Qwen Code open source?

Yes — licensed under Apache-2.0.

How much does Qwen Code cost?

CLI free (Apache-2.0); user pays the model provider. Alibaba Cloud Coding Plan (intl) Pro $50/month; Token Plan (CN, Beijing only) Personal Lite ¥39 / Essential ¥79 / Standard ¥139 / Pro ¥499 per month, team seats ¥150-¥1398; or pay-as-you-go Model Studio API keys; BYO keys to other providers.

Where does China AI Hub get its Qwen Code data?

From 4 sources, last verified 2026-09-20.