Qwen Code
Last tested:
Qwen Code is open-source terminal coding agent from the Qwen team (a Gemini CLI fork) that works with Qwen and third-party models (category: Coding Agents (CLI & Cloud)). VibeToolRank agent test score: 8.8/10 (tested 2026-11-20, 3 runs, headless CLI, free Gemini key (not a Qwen model)), #13 of 27 tested Coding Agents (CLI & Cloud) tools. 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).
Key facts
Verdict: 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.
- VibeToolRank score
- 8.8/10
- Cost per run
- $0.041 / run
- Rank
- #13 of 27 tested Coding Agents (CLI & Cloud)
- Category
- Coding Agents (CLI & Cloud)
- Last tested
- 2026-11-20
- Runs
- 3 runs
- Outcome score
- 8.9/10
- Edition tested
- 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.
- Free plan, as measured
- All nine T3/T4/T5 runs used a free Google AI Studio key on 20 Nov 2026 ($0 billed); $0.041 per run at paid Gemini rates.
- Free plan
- Yes: the CLI is free; bring your own API key (we used a free Google AI Studio key)
- Price
- 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
- Pricing checked
- 2026-11-20
- Sources
- qwenlm.github.io/qwen-code-docs/en/users/overview · github.com/QwenLM/qwen-code · npmjs.com/package/@qwen-code/qwen-code · test log in our repo
Pricing and free tier
Current official pricing (checked ): 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
Is Qwen Code free? Yes: the CLI is free; bring your own API key (we used a free Google AI Studio key)
The CLI is free and open source. Qwen account access needs a Qwen Plus or Pro subscription; QwenCloud and ModelStudio are paid API keys. Our 20 Nov 2026 runs used a free Google AI Studio key ($0 billed).
verified-official official source · full-page-read. Official plan limits can change; re-check the vendor page before paying. Figures from our tests are recorded observations, not a current-capacity promise.
What we measured in our test (2026-11-20, 3 runs): All nine T3/T4/T5 runs used a free Google AI Studio key on 20 Nov 2026 ($0 billed); $0.041 per run at paid Gemini rates. Qwen Code free tier: how far you get
Agent test verdict
Edition tested 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.. Results may differ for the hosted product.
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. The number stays in the ranking but should not be read as a current official-edition, zero-cost-retestable result.
Tested 2026-11-20 · 3 runs · rubric v0.3 (provisional thresholds). 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).
T3+T4+T5 The headline below is the mean of the T3, T4, and T5 task overalls (rubric v0.3). Speed uses fine wall-time bands (10 at ≤30s, then −1 per 120s), including a retroactive Speed on earlier T3 and T4 times. The previous v0.2 headline stays in labelled history and is not silently replaced.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 8.9 |
| Speed (15%) | 9.7 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 8.3 |
| Overall | 8.8 |
Cost per run: $0.041 / run
Task results
These are the sittings that make up the headline. T4 Outcome is 10 times the mean fraction of 12 held-out tests, and T5 Outcome is 10 times the mean fraction of 20 held-out tests, that the agent did not see during the run. Task tables on a v0.3 page use the v0.3 Speed bands.
T3 · 2026-11-20 · headless CLI, free Gemini key (not a Qwen model) · 3runs · overall 9.6 · held-out 4/4, 4/4, 4/4
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. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
Qwen Code fixed the seeded cart bug in 3/3 T3 runs (11.39s / 31.61s / 11.9s) on 2026-11-20. Test file unchanged. Run 3 is a rerun: the first run 3 was voided because the box clock jumped during it. Mean cost $0.015509 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 10 |
| Speed (15%) | 10 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 10 |
| Overall | 9.6 |
Cost per run: $0.016 / run
T4 · 2026-11-20 · headless CLI, free Gemini key (not a Qwen model) · 3runs · overall 7.5 · held-out 12/12, 12/12, 0/12
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. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
T4 held-out 12/12, 12/12, 0/12 (25.8s / 26.51s / 3.45s); tests/ unchanged. In run 3 the model announced it would read README.md and the tests, then the session ended after one request with no edits (reported as success). Mean cost $0.024462 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 6.7 |
| Speed (15%) | 10 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 5 |
| Overall | 7.5 |
Cost per run: $0.024 / run
T5 · 2026-11-20 · headless CLI, free Gemini key (not a Qwen model) · 3runs · overall 9.4 · held-out 20/20, 20/20, 20/20
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. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
T5 held-out 20/20 on all three runs (73.77s / 186.02s / 136.78s); tests/ unchanged. Mean cost $0.084428 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 10 |
| Speed (15%) | 9.1 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 10 |
| Overall | 9.4 |
Cost per run: $0.084 / run
Adoption signals Not part of the score
Public GitHub metrics for context only. They do not affect our agent scores or rankings.
- GitHub stars
- 31k (30,808) on QwenLM/qwen-code
- Fetched
- · last push
How we tested
- Qwen Code 0.28.0 (npm @qwen-code/qwen-code) headless: qwen --auth-type gemini -m gemini-3.5-flash-lite --yolo -o json with a free-tier Google AI Studio key, scratch HOME, official v0.3 harness with bubblewrap. Tested 20 Nov 2026 (Australia/Sydney) with 90s/150s cooldowns.
- Task T3: seeded cart.js bug, 4/4 on all three runs (11.39s, 31.61s, 11.9s). The first run 3 was voided: the box clock jumped about 388s forward during it, so its wall time was wrong; it is kept in docs/tests/qwen-code/t3-2026-11-20/voided-clock-jump/.
- Task T4: promo checkout, 12/12, 12/12, 0/12 held-out (25.8s, 26.51s, 3.45s).
- Task T5: vendored negotiator, 20/20 held-out on all three runs (73.77s, 186.02s, 136.78s).
- This score uses a Gemini model, not a Qwen model, so it is labelled indicative.









Pros, cons and who it's for
Pros
- Passed all 20 T5 held-out tests on all three runs, the hardest task in our set
- Headless -o json output reports prompt, cached, output and thinking tokens per model
- Runs on a free Google AI Studio key (no card) via --auth-type gemini
Cons
- One T4 run ended after a single request with no edits and still reported success
- The process can stay alive after the answer is printed (up to 23s in our clean runs)
- Its own Qwen account access now needs a paid Qwen Plus or Pro subscription
Who it's for: Developers who want an open-source terminal agent that can switch between Qwen, Gemini and other providers.
Free-tier limits: The CLI is free and open source. Qwen account access needs a Qwen Plus or Pro subscription; QwenCloud and ModelStudio are paid API keys. Our 20 Nov 2026 runs used a free Google AI Studio key ($0 billed).
FAQ
Is Qwen Code free?
The CLI is free and open source. Using it with a Qwen account now needs a Qwen Plus or Pro subscription. We ran it with a free Google AI Studio key; at paid Gemini 3.5 Flash-Lite rates our runs average $0.041 each.
How well did Qwen Code do on our coding tasks?
On 20 Nov 2026 with gemini-3.5-flash-lite: T3 3/3, T4 12/12, 12/12 and 0/12, T5 20/20 on all three runs. The v0.3 headline is 8.8, indicative because it is not a Qwen model.
Can Qwen Code use Gemini?
Yes. qwen --auth-type gemini with GEMINI_API_KEY worked headless in our test.
What was the cost per run for Qwen Code in VibeToolRank's test?
$0.041 / run.
How much does Qwen Code cost?
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 (from the official pricing page, checked 2026-11-20).
Related
Other Coding Agents (CLI & Cloud)
- OpenAI Codex — 9.7/10
- psi — 9.7/10
- Aider — 9.5/10
- Mirror (Reflection) — 9.4/10
- Claude Code — 9.3/10
- Gemini CLI — 9.3/10
- GitHub Copilot CLI — 9.2/10
- OpenCode — 9.2/10
- Memdoor — 9.1/10
- Zerg Client — 9.1/10
- Amp — 9/10
- OpenHands — 8.9/10
- Goose — 8.7/10
- turri — 8.7/10
- Agent Manager — 8.6/10
- Reason — 8.6/10
- Alysis Code — 8.4/10
- Crush — 8.4/10
- Harness (Autonomous) — 8.4/10
- Parallax (Conifer) — 8.4/10
- Pi — 8.2/10
- Jules — 8/10
- Cline — 7.9/10
- Kilo Code — 7.7/10
- Wonder — 6.4/10
- Crewplane — 5.5/10
- ClawDOS — not yet tested
- Conducted — not yet tested
- Devin — not yet tested
- Roomote (formerly Roo Code) — not yet tested
- Ski — not yet tested
Best Coding Agents (CLI & Cloud) · Best free Coding Agents (CLI & Cloud) · All tools · How we test
Sources
Scores come from our own tests and are never for sale; sponsored placements are always labelled. Some links are affiliate links (currently Railway). Disclosure
