# Droid CLI vs Qwen Code > Qwen Code scores 72.4 (BB) to Droid CLI's 59.1 (C) for agent harnesses. Prices, MCP, x402, uptime and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/droid-cli-vs-qwen-code - Markdown: https://www.anchorterminal.com/compare/droid-cli-vs-qwen-code.md (~2,650 tokens) - Slim: https://www.anchorterminal.com/compare/droid-cli-vs-qwen-code.min.md (~630 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/droid-cli-vs-qwen-code.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - Updated: 2026-10-09 Qwen Code scores 72.4 (BB) on agent readiness against Droid CLI's 59.1 (C), and leads in 5 of 7 scored categories. Droid CLI leads on security & auth. Both do agent harnesses. - Droid CLI: grade C, 59.1/100, rank #560 of 950. Markdown https://www.anchorterminal.com/tools/droid-cli.md · JSON https://www.anchorterminal.com/api/v1/tools/droid-cli.json - Qwen Code: grade BB, 72.4/100, rank #107 of 950. Markdown https://www.anchorterminal.com/tools/qwen-code.md · JSON https://www.anchorterminal.com/api/v1/tools/qwen-code.json - Best agent harnesses and coding agents: https://www.anchorterminal.com/best/agent-harnesses/index.md - All 167 harnesses comparisons: https://www.anchorterminal.com/compare/agent-harnesses/index.md ## Which one, for what ### Droid CLI (C) Good for: Teams that want a terminal coding agent with tiered autonomy, command rules and an optional sandbox, and that will pay for a Factory plan. Ahead on: - Security & auth, 63 against 53 Watch for: No free tier or trial was found. Plans start at $20 a month and included usage is stated only as rolling rate limits without numbers ### Qwen Code (BB) Good for: Developers and CI jobs that want an open-source harness tied to no single model vendor, with run budgets and SDKs. Ahead on: - Reliability, 69 against 49 - Schema & documentation, 91 against 79 - Agent ergonomics, 85 against 72 - Payments & pricing, 60 against 10 - Maintenance & community, 88 against 79 Also in its favour: - Agent-ready, a grade of BB or better - Free to start without a card - Open source Watch for: The default approval mode is Auto, where an LLM classifier approves tool calls, and sandboxing and folder trust are both off by default ## Score by category | Category | Weight | Droid CLI | Qwen Code | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 49 | 69 | Qwen Code +20 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 79 | 91 | Qwen Code +12 | | Agent ergonomics | 13% (16.2 this run) | 72 | 85 | Qwen Code +13 | | Security & auth | 14% (17.5 this run) | 63 | 53 | Droid CLI +10 | | Payments & pricing | 10% (12.5 this run) | 10 | 60 | Qwen Code +50 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 79 | 88 | Qwen Code +9 | | Transparency & trust | 7% (8.8 this run) | 64 | 63 | Droid CLI +1 | | Negative events | ≤15 | 0 | 0 | | | **Total** | | **59.1 · C** | **72.4 · BB** | | ## Facts side by side | Fact | Droid CLI | Qwen Code | | --- | --- | --- | | Kind | Agent harness | Agent harness | | Vendor | Factory | Alibaba (Qwen team) | | Hosted endpoint | no (local only) | no (local only) | | Transports | | | | Auth | OAuth or key | API key | | Pricing | Paid | Free | | x402 | no | no | | Licence | Proprietary, under Factory's Terms and Conditions. The `droid` npm package is marked `UNLICENSED` and the public repository holds documentation only. The Python SDK is Apache-2.0 | Apache-2.0 | | Read-only variant documented | yes | no | | llms.txt | yes | yes | | Last release | 2026-10-08 | 2026-10-05 | | Terms last updated | 2026-07-14 | 2026-10-01 | | Privacy policy last updated | 2026-08-20 | 2026-10-01 | | Customer content may train models | not found in the text | not found in the text | | Terms restrict automated access | not found in the text | not found in the text | | Terms restrict benchmarking | yes | not found in the text | | Terms or service can change without notice | not found in the text | not found in the text | | Arbitration or class-action waiver | yes | not found in the text | | Popularity | 49 stars, 7.8k npm/wk | 28k stars, 105k npm/wk | ## Verdicts **Droid CLI.** `droid exec` is read-only unless `--auto` raises the autonomy level, with command rules, an optional kernel-enforced sandbox, JSON output and documented exit codes. No free tier, status page or security.txt was found, the source is closed, and usage metrics go to Factory by default. **Qwen Code.** Apache-2.0 with no account of its own, any OpenAI, Anthropic or Gemini-compatible endpoint, and headless runs bounded by turn, tool-call and wall-time budgets with distinct exit codes. Out of the box, Auto mode lets an LLM classifier approve tool calls, with the sandbox and folder trust both off. Usage statistics are on by default. ## Before you call either ### Droid CLI 1. Set `FACTORY_API_KEY` (starts `fk-`) from the API keys page in Factory settings for headless runs. Interactive use signs in through a browser 2. Start with `droid exec` and no flags for analysis. Add `--auto low` for edits and `--auto medium` for installs, tests and local commits 3. Use `--output-format json` and read `is_error`, `num_turns` and `session_id`. Treat a non-zero exit code as failure 4. Set `sandbox.enabled` to true before running on untrusted code. In `droid exec` a sandbox violation is denied without a prompt 5. Pin the version in CI with `npm install -g droid@`, or set `FACTORY_DROID_AUTO_UPDATE_ENABLED=false` on standalone installs, which update themselves ### Qwen Code 1. Pass `--approval-mode` on every run. The settings default is `auto`, and one docs page says headless runs default to asking, so don't rely on either 2. Add `--max-session-turns`, `--max-wall-time` and `--max-tool-calls`. All three are unlimited by default. Exit 53 is the turn limit and 55 a budget 3. `--yolo` doesn't turn on a sandbox. Add `--sandbox`, or on Linux set `tools.executionSandbox` with `network` set to `closed` 4. Set `QWEN_USAGE_STATISTICS_ENABLED=false` to stop usage statistics 5. Authenticate with `OPENAI_API_KEY`, `OPENAI_BASE_URL` and `OPENAI_MODEL` in CI. The browser sign-in is discontinued ## Questions ### Which is better for AI agents, Droid CLI or Qwen Code? Qwen Code scores 72.4 (BB) on agent readiness against Droid CLI's 59.1 (C), and leads in 5 of 7 scored categories. Droid CLI leads on security & auth. ### Are Droid CLI and Qwen Code open source? No open-source release is listed for Droid CLI. Qwen Code is open source (Apache-2.0). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/droid-cli-vs-qwen-code.json, and with the fewest tokens: https://www.anchorterminal.com/compare/droid-cli-vs-qwen-code.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "droid-cli", "b": "qwen-code"}`. From a terminal: `anchor compare droid-cli qwen-code` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/droid-cli.json and https://www.anchorterminal.com/api/v1/tools/qwen-code.json ## Other comparisons with Droid CLI or Qwen Code - [Aider vs Droid CLI](https://www.anchorterminal.com/compare/aider-vs-droid-cli.md) - [Aider vs Qwen Code](https://www.anchorterminal.com/compare/aider-vs-qwen-code.md) - [Amp vs Droid CLI](https://www.anchorterminal.com/compare/amp-vs-droid-cli.md) - [Amp vs Qwen Code](https://www.anchorterminal.com/compare/amp-vs-qwen-code.md) - [Claude Code vs Droid CLI](https://www.anchorterminal.com/compare/claude-code-vs-droid-cli.md) - [Claude Code vs Qwen Code](https://www.anchorterminal.com/compare/claude-code-vs-qwen-code.md) - [Cline vs Droid CLI](https://www.anchorterminal.com/compare/cline-vs-droid-cli.md) - [Cline vs Qwen Code](https://www.anchorterminal.com/compare/cline-vs-qwen-code.md) - [Cursor CLI vs Droid CLI](https://www.anchorterminal.com/compare/cursor-cli-vs-droid-cli.md) - [Cursor CLI vs Qwen Code](https://www.anchorterminal.com/compare/cursor-cli-vs-qwen-code.md) - [Devin vs Droid CLI](https://www.anchorterminal.com/compare/devin-vs-droid-cli.md) - [Devin vs Qwen Code](https://www.anchorterminal.com/compare/devin-vs-qwen-code.md) - [Droid CLI vs Pi](https://www.anchorterminal.com/compare/droid-cli-vs-earendil-pi.md) - [Droid CLI vs Gemini CLI](https://www.anchorterminal.com/compare/droid-cli-vs-gemini-cli.md) - [Droid CLI vs GitHub Copilot CLI](https://www.anchorterminal.com/compare/droid-cli-vs-github-copilot-cli.md) - [Droid CLI vs goose](https://www.anchorterminal.com/compare/droid-cli-vs-goose.md) - [Droid CLI vs Kilo Code CLI](https://www.anchorterminal.com/compare/droid-cli-vs-kilo-code-cli.md) - [Droid CLI vs Kiro CLI](https://www.anchorterminal.com/compare/droid-cli-vs-kiro-cli.md) - [Droid CLI vs OpenAI Codex](https://www.anchorterminal.com/compare/droid-cli-vs-openai-codex.md) - [Droid CLI vs OpenCode](https://www.anchorterminal.com/compare/droid-cli-vs-opencode.md) - [Droid CLI vs OpenHands](https://www.anchorterminal.com/compare/droid-cli-vs-openhands.md) - [Droid CLI vs Prime Agent](https://www.anchorterminal.com/compare/droid-cli-vs-prime-agent.md) - [Pi vs Qwen Code](https://www.anchorterminal.com/compare/earendil-pi-vs-qwen-code.md) - [Gemini CLI vs Qwen Code](https://www.anchorterminal.com/compare/gemini-cli-vs-qwen-code.md) - [GitHub Copilot CLI vs Qwen Code](https://www.anchorterminal.com/compare/github-copilot-cli-vs-qwen-code.md) - [goose vs Qwen Code](https://www.anchorterminal.com/compare/goose-vs-qwen-code.md) - [Kilo Code CLI vs Qwen Code](https://www.anchorterminal.com/compare/kilo-code-cli-vs-qwen-code.md) - [Kiro CLI vs Qwen Code](https://www.anchorterminal.com/compare/kiro-cli-vs-qwen-code.md) - [OpenAI Codex vs Qwen Code](https://www.anchorterminal.com/compare/openai-codex-vs-qwen-code.md) - [OpenCode vs Qwen Code](https://www.anchorterminal.com/compare/opencode-vs-qwen-code.md) - [OpenHands vs Qwen Code](https://www.anchorterminal.com/compare/openhands-vs-qwen-code.md) - [Prime Agent vs Qwen Code](https://www.anchorterminal.com/compare/prime-agent-vs-qwen-code.md) - [Droid CLI vs Paperclip](https://www.anchorterminal.com/compare/droid-cli-vs-paperclip.md) - [Paperclip vs Qwen Code](https://www.anchorterminal.com/compare/paperclip-vs-qwen-code.md)