QWEN CODE
Qwen Code: The Open-Source Terminal Agent, Without a Meter
Qwen Code is Alibaba’s open-source terminal coding agent — a fork of Google’s Gemini CLI (Apache 2.0, 27,000+ GitHub stars) wrapped around the Qwen3-Coder model family. It is the most feature-complete free agent CLI in 2026: Auto-Memory, Auto-Skills, subagents, Agent Teams, MCP, plan mode, a daemon mode, IDE plugins, and a desktop app. The catch every comparison buries: the free Qwen OAuth tier (once 2,000 requests/day) was cut to 100 on April 13, 2026 and discontinued entirely on April 15, 2026 — the tool stayed free, the tokens stopped being. This page is the corrected record plus the practical setup: bring-your-own-key, local models, or run Qwen Code alongside Claude Code, Codex, Gemini CLI, and Cursor as widgets in VibeFuse, the free Windows AI harness — no harness meter, ever.
Why developers search for Qwen Code in 2026
The free tier evaporation
The launch pitch was 2,000 free Qwen OAuth requests per day. April 13, 2026: the quota dropped to 100 requests/day “for existing accounts” with a two-day warning. April 15, 2026: discontinued. Both dates are posted on the project’s own README and npm page — yet dozens of 2026 comparison posts still advertise “Qwen Code: 1,000 free requests/day.” The corrected reality: the CLI is Apache 2.0 and free forever; the hosted tokens now come from the Alibaba Cloud Coding Plan, OpenRouter, Fireworks, any OpenAI-compatible endpoint — or your own machine.
The fork that outlived its parent
Qwen Code is built on Google’s Gemini CLI — same architecture, same terminal UX, acknowledged in the README. The twist: Google discontinued consumer Gemini CLI access on June 18, 2026 (enterprise Code Assist licenses only), while its open-source fork keeps shipping releases under Alibaba. If you liked the Gemini CLI shape, the fork is where it still lives, with a model-agnostic config layer the original never had.
A real model ladder
Qwen3-Coder (the default engine) posts 69.6% on SWE-bench Verified in independent reads; 2026 comparisons put the Qwen 3.6 Plus generation at 78.8%; and Qwen3-Coder-Next (80B total, 3B active) hits 70.6% Verified / 44.3% Pro while being genuinely cheap to self-host. Qwen 3.7 Max (May 2026) natively speaks the Anthropic Messages protocol — point Claude Code at it with two environment variables and a workflow that costs ~$300 in Opus tokens runs for roughly $50.
The feature surface is not a clone
Beyond the Claude Code-shaped core (skills, subagents, hooks, MCP, plan mode), Qwen Code ships things its inspiration does not: a daemon mode (qwen serve) exposing the Agent Client Protocol over HTTP+SSE for multiple clients, SDKs in TypeScript/Python/Java, an Agent Arena mode that runs two models head-to-head on the same task, IM bots for Telegram/DingTalk/WeChat, and “The Claw” — a skill that lets Claude Code or Codex delegate work to Qwen Code.
What Qwen Code costs now (September 2026)
| Path | Cost | What you get | Fine print |
|---|---|---|---|
| The CLI itself | $0, Apache 2.0 | Full agent: tools, subagents, MCP, skills, daemon, IDE plugins | npm install -g @qwen-code/qwen-code; latest release v0.21.14 (Aug 2026) |
| Qwen OAuth free tier | Discontinued | Was 2,000 req/day, cut to 100 on Apr 13 2026, ended Apr 15 2026 | Project README + npm page both carry the discontinuation notice |
| Alibaba Cloud Coding Plan | $50/mo | Hosted Qwen models with explicit limits | Personal interactive use only per plan terms |
| BYOK aggregators | Token-priced | OpenRouter, Fireworks AI serve Qwen models | Qwen 3.6-Max-Preview tracked around $1.30/$7.80 per 1M tokens |
| Local models | $0 tokens | Ollama / vLLM via modelProviders in ~/.qwen/settings.json | Qwen3-Coder-Next (80B/3B-A3B) runs on a single workstation |
| VibeFuse harness | $0, forever | Runs Qwen Code next to Claude Code, Codex, Gemini CLI, Cursor on one canvas | Your vendor billing, your model choice per task, no harness meter |
Verified against the QwenLM/qwen-code README, the npm package page, and 2026 coding-plan comparisons (September 2026). The free-tier story moved twice in one week in April 2026 — re-check the README before citing any “free requests/day” figure.
Qwen Code vs Claude Code vs the harness shape
| What matters | Qwen Code | Claude Code | VibeFuse |
|---|---|---|---|
| License | Apache 2.0, framework + models | Proprietary | Free download, free license key |
| Default model | Qwen3-Coder (open weights) | Claude Opus/Sonnet only | Whatever agent widget you run — mixable per task |
| Model switching | Multi-protocol: OpenAI/Anthropic/Gemini/Qwen + Ollama/vLLM, switchable at runtime | Anthropic endpoint (or the env-var swap to third-party models) | One canvas, five official CLIs, each on its own vendor account |
| Free tier | Tool free; hosted tokens discontinued Apr 15 2026 — local models are the $0 path | None (Pro $20/mo entry) | Harness costs nothing; your vendor plans set the volume |
| Benchmarks | 69.6% SWE-bench Verified (Qwen3-Coder); 78.8% with Qwen 3.6 Plus per 2026 comparisons | Frontier reasoning lead on verified suites (Opus-class) | N/A — the harness runs the same agents you would benchmark |
| Maturity | Fast-moving, 27K+ stars; reviewers note the agentic loop needs more hand-holding than Claude Code | Deepest ecosystem: hooks, skills, subagents, enterprise docs | Purpose-built canvas for parallel agent sessions over real repos |
| Where code lives | Your machine; hosted API sees context unless self-hosted | Anthropic cloud | Your machine — nothing uploads by default |
| Economy | Open weights + coding plans | Subscription or API | Open-source marketplace: sell widgets, skills, styling packs for revenue share |
Be honest: where Qwen Code still trails
Credit where due first: Qwen Code is the only major terminal agent where the framework and the flagship model are both open source — you can audit the agent loop, fork it, and run the weights on your own GPU. The 27K-star adoption is real, the release cadence is near-daily, and no other free CLI matches its breadth (daemon mode, three-language SDKs, IM bots, Agent Arena, video input through the vision encoder). The honest gaps from 2026 reviews: the autonomous multi-file edit-test-fix loop typically needs more steering than Claude Code on messy repos; the hosted API runs on Alibaba’s infrastructure, which is a compliance question for regulated teams (self-hosting is the workaround, and it is a real one); and the feature surface moves fast enough that third-party tutorials age quickly — verify command names against the README before scripting against them. If you want one polished premium agent, Claude Code is still the safer default; if you want open source, multi-vendor routing, and a $0 token path, Qwen Code is the strongest entry in the class — and inside VibeFuse it runs next to every other vendor’s official CLI, so you are never betting your whole workflow on one harness.
Run it local, for real
The genuinely free path in 2026: point Qwen Code at Ollama or vLLM via the modelProviders block in ~/.qwen/settings.json and run Qwen3-Coder-Next (80B total, 3B active, hybrid gated attention) on a single workstation — 70.6% SWE-bench Verified with zero recurring token cost. That is the configuration the harness shape is built around: local models, local repos, nothing uploading.
The Claude Code drop-in trick
Since Qwen 3.7 Max natively speaks the Anthropic Messages protocol, you can keep Claude Code’s interface and point it at Qwen with a base URL and model ID — ANTHROPIC_BASE_URL plus ANTHROPIC_API_KEY is the whole swap. Community testing puts a ~$300 Opus workflow at roughly $50 on Qwen pricing, with Qwen 3.7 Max beating Opus 4.6 on Terminal-Bench 2.0 (69.7 vs 65.4) and SWE-bench Pro (60.6 vs 57.3). Keep the harness you know; rent the model you want.
When to pick which
Daily driver with the deepest plugin ecosystem: Claude Code. Cost-sensitive high-volume pipelines: Qwen3-Coder via BYOK — output tokens run roughly a fifth of Opus-class pricing. Locked-down or offline environments: self-hosted Qwen3-Coder-Next inside the VibeFuse canvas, where the harness itself never bills a request. The three are not rivals for one job; they are different meters for different jobs.
Also compare the Gemini CLI shutdown record (Qwen Code’s upstream), the Claude Code tutorial, the Codex CLI vs Claude Code breakdown, the Devin alternative, the AI agent harness guide, and the best vibe coding tools.
Qwen Code FAQ
What is Qwen Code?
Qwen Code is Alibaba's open-source terminal coding agent: an Apache 2.0 fork of Google's Gemini CLI (27,000+ GitHub stars) optimized for the Qwen model family. It reads and edits your repo, runs shell commands, plans multi-step tasks, and supports skills, subagents, Agent Teams, hooks, and MCP servers - plus extras no other free CLI ships: a daemon mode (qwen serve) over HTTP+SSE, SDKs in TypeScript/Python/Java, IDE plugins for VS Code/Zed/JetBrains, a desktop app, and an Agent Arena mode that races two models on the same task. It installs with npm install -g @qwen-code/qwen-code and works with any OpenAI-compatible endpoint.
Is Qwen Code free? What happened to the OAuth free tier?
The CLI is free forever (Apache 2.0), but the hosted tokens are not. The Qwen OAuth free tier - advertised for a year as 2,000 free requests per day - was cut to 100 requests/day on April 13, 2026 and discontinued on April 15, 2026, per notices the project itself posts on its README and npm page. Many 2026 comparison posts still advertise the dead 1,000-request figure. The corrected reality: the tool is free, the tokens come from the Alibaba Cloud Coding Plan (~\$50/mo), OpenRouter or Fireworks BYOK, or your own local models via Ollama/vLLM - which costs \$0 per token.
How good is Qwen3-Coder compared to Claude?
Qwen3-Coder posts 69.6% on SWE-bench Verified in independent reads - above the Gemini 2.5 Pro class it forked from. 2026 comparisons credit the Qwen 3.6 Plus generation with about 78.8% on SWE-bench Verified, and Qwen3-Coder-Next (80B total, 3B active params) reaches 70.6% Verified / 44.3% on the harder SWE-bench Pro. Qwen 3.7 Max (May 2026) natively speaks the Anthropic Messages protocol: community testing puts it at 69.7 vs Opus 4.6's 65.4 on Terminal-Bench 2.0 and 60.6 vs 57.3 on SWE-bench Pro - while a workflow costing ~\$300 in Opus tokens runs for roughly \$50 on Qwen pricing. Claude's frontier models still lead on the hardest reasoning; Qwen's edge is price-per-point and open weights.
Can Qwen Code run local models for free?
Yes - it is the strongest genuinely-free setup in the 2026 terminal-agent field. Configure the modelProviders block in ~/.qwen/settings.json to point at an Ollama or vLLM endpoint, and Qwen Code runs against your own machine with no API key and no recurring token bill. The practical engine is Qwen3-Coder-Next: an 80B-parameter MoE with only 3B active per token (hybrid Gated Attention + Gated DeltaNet), trained as an agent on real scaffolds, scoring 70.6% SWE-bench Verified while fitting a single workstation. The trade: quality drops with smaller local models, so complex multi-file refactors may need a second prompt.
Qwen Code vs Claude Code - which should I pick?
Different meters for different jobs. Qwen Code: Apache 2.0 framework, open-weight models, multi-protocol provider switching (OpenAI/Anthropic/Gemini/Qwen plus local), the cheapest token path - but the autonomous edit-test-fix loop generally needs more steering than Claude Code, and hosted inference runs on Alibaba's cloud (self-hosting is the compliance workaround). Claude Code: the deepest ecosystem (hooks, skills, custom subagents, enterprise docs) and the strongest verified benchmark scores, but proprietary and subscription-priced from \$20/mo. Many developers run both - which is exactly the VibeFuse shape: both CLIs as widgets on one free Windows canvas, each billing its own vendor account.
Can I use Qwen models inside Claude Code?
Yes, and Moonshot-style env-var swaps are the community favorite. Qwen 3.7 Max natively speaks the Anthropic Messages protocol at the endpoint level, so Claude Code needs only two environment variables (ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY) plus a model ID to run on Qwen - your existing CLAUDE.md, hooks, MCP servers, and slash commands stay untouched. Independent testing puts the token cost at roughly one-sixth of Opus-class pricing with comparable Terminal-Bench and SWE-bench Pro scores. The reverse also works: Qwen Code can be pointed at Claude models via its multi-protocol config.
What is VibeFuse's take on Qwen Code?
Qwen Code is one of the five official agent CLIs VibeFuse ships as widgets - the first free widget-based AI harness for Windows. Download the installer, register a free license key, and run Qwen Code next to Claude Code, Codex CLI, Gemini CLI, and Cursor over your actual repositories on one canvas. There is no harness meter: VibeFuse charges \$0, your vendor subscriptions do the token billing, and your code never uploads by default. Because the canvas is vendor-agnostic, you can route a cost-sensitive bulk task to Qwen Code and a high-stakes review task to Claude Code in the same session - plus an open-source marketplace where creators sell widgets, skills, and styling packs for revenue share.
What happened to Gemini CLI - and is Qwen Code related?
Directly related: Qwen Code is an open-source fork of Google's Gemini CLI, acknowledged in the Qwen Code README. The lineage now runs opposite to the original's fate - Google discontinued consumer Gemini CLI access on June 18, 2026 (the free tier, then all non-enterprise tiers; enterprise Code Assist licenses keep it), while the fork keeps shipping under Alibaba with near-daily releases and a model-agnostic config layer the original never had. If you liked the Gemini CLI terminal shape, Qwen Code is where that architecture still lives as a consumer tool.
Run Qwen Code — and everything else — on one free canvas
Download VibeFuse free, register for a free license key, and run Qwen Code alongside Claude Code, Codex CLI, Gemini CLI, and Cursor as widgets over your repositories on Windows — $0 harness, no usage meter, your vendor accounts, code stays local. Pair it with VocalFuse voice if you dictate while you build.
Explore related AI note taking guides
- AI Note Taker
- AI Meeting Notes
- Transcription Note Taking
- AI Transcription
- Meeting Transcription
- Speech to Text
- Pricing
- Founders 50
- For Agents
- Start in 5 Minutes
- Build in Public
- Earn with AI Content
- Creator Playbook
- FAQ
- Community Forum
- Widget Marketplace
- Create free account
- All Products
- VocalFuse Product
- VibeFuse Product
- Widget Wars Contest
- Harness Guide
- Shareable AI Widgets
- Shareable AI Skills