# Qwen Code

> Open-source terminal coding agent from the Qwen team (a Gemini CLI fork) that works with Qwen and third-party models.

- Page: https://vibetoolrank.com/tools/qwen-code/
- Markdown: https://vibetoolrank.com/tools/qwen-code.md
- Official: https://qwenlm.github.io/qwen-code-docs/en/users/overview
- Category: Coding Agents (CLI & Cloud) (https://vibetoolrank.com/best/terminal-agents/ · https://vibetoolrank.com/best/terminal-agents.md)
- Pricing: Free open source (Apache 2.0); Qwen account access needs a Qwen Plus or Pro subscription, or use QwenCloud, ModelStudio or third-party API keys
- Free tier: Yes: the CLI is free; bring your own API key (we used a free Google AI Studio key)
- Last checked: 2026-11-20

## Agent test

- Overall: **8.8/10** (outcome 8.9, speed 9.7, cost 10, DX 7, reliability 8.3)
- Cost per run: $0.041 / run
- Tested: 2026-11-20 · Runs: 3 runs · Edition: Qwen Code 0.28.0 headless (qwen --auth-type gemini --yolo -o json), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3). Qwen models (Qwen account, QwenCloud, ModelStudio) were not tested.
- Score label: rubric v0.3; indicative score: Scored with Google's gemini-3.5-flash-lite through Qwen Code's gemini auth type, not a Qwen model; Qwen account access needs a paid subscription.
- Summary: Headline 8.8 is the mean of T3 9.6, T4 7.5, and T5 9.4 (rubric v0.3), on a Gemini model, so it is indicative. T3 was 4/4 on all three runs and T5 20/20 on all three. T4 was 12/12, 12/12 and 0/12: in run 3 the session ended after one request with no edits. Cost per run is $0.041466, the mean of all nine runs (shown as $0.041 / run).
- Evidence: docs/tests/qwen-code/RESULTS.md

## Pros / cons

- Pro: Passed all 20 T5 held-out tests on all three runs, the hardest task in our set
- Pro: Headless -o json output reports prompt, cached, output and thinking tokens per model
- Pro: Runs on a free Google AI Studio key (no card) via --auth-type gemini
- Con: One T4 run ended after a single request with no edits and still reported success
- Con: The process can stay alive after the answer is printed (up to 23s in our clean runs)
- Con: Its own Qwen account access now needs a paid Qwen Plus or Pro subscription

## Adoption signals (not part of the score)

- GitHub stars: **31k** (30,808) on [QwenLM/qwen-code](https://github.com/QwenLM/qwen-code)
- Fetched: 2026-11-20 · Last push: 2026-11-20
- These figures are public GitHub metrics for context only. They do **not** affect VibeToolRank scores or rankings.

## Sources

- https://qwenlm.github.io/qwen-code-docs/en/users/overview
- https://github.com/QwenLM/qwen-code
- https://www.npmjs.com/package/@qwen-code/qwen-code

Methodology: https://vibetoolrank.com/methodology/
