Qwen3-Coder-Next scores 70.6% on SWE-bench Verified — the highest published score for any open-weight model in the coding CLI category. Anchors the strongest local/on-prem argument.
Qwen Code (Alibaba / QwenLM)
activeAlibaba's open-source coding CLI. Qwen3-Coder-Next model scores 70.6% SWE-bench Verified — highest open-weight model score. 1,000 free daily requests via Qwen OAuth. Supports OpenAI/Anthropic/Gemini-compatible APIs. 20K+ stars, v0.12.6 released 2026-03-17.
68/100
Trust
21K+
Stars
2
Evidence
Videos
Reviews, tutorials, and comparisons from the community.
¡QWEN 3 rompe la IA con TODO Gratis e ilimitado! Esto puedes hacer 🚀
Qwen 3 ACTUALLY Made Me Quit Claude Code
NEW Qwen 3 Coder: FULLY FREE AI Coder! Develop a Full-stack App Without Writing ANY Code! (FREE API)
Repo health
10h ago
Last push
616
Open issues
1,840
Forks
363
Contributors
Editorial verdict
Best cost=zero option for developers who want a serious open-weight model without paying per token. The 70.6% SWE-bench Verified figure (Qwen3-Coder-Next) is the strongest open-weight score in the category and anchors the strongest local/on-prem story. Alibaba/Chinese cloud provenance is a consideration for enterprise and GovCloud use cases.
Source
GitHub: QwenLM/qwen-code
Docs: github.com
Public evidence
376K npm downloads per month and 1,000 free daily API requests via Qwen OAuth — the most generous free tier for an open-weight coding CLI in the category.
How does this compare?
See side-by-side metrics against other skills in the same category.
Where it wins
Qwen3-Coder-Next: 70.6% SWE-bench Verified — highest open-weight model score in the category
1,000 free daily requests via Qwen OAuth — best free tier for open-weight models
Supports OpenAI/Anthropic/Gemini-compatible APIs — multi-provider
Strongest local/on-prem story: run the 80B model yourself
Ships regularly: v0.12.6 released 2026-03-17
Where to be skeptical
Alibaba / Chinese cloud provenance — enterprise and GovCloud use cases require scrutiny
Gemini CLI fork — limited differentiation at the CLI layer
Near-zero HN engagement (~7 pts) — minimal Western developer community signal
SWE-bench Pro standardized score (38.70%) is the lowest among ranked contenders
Ranking in categories
Know a better alternative?
Submit evidence and we'll run the full pipeline.
Similar skills
Aider
91Open-source AI pair programming CLI. The only tool in the coding CLI category with a fully verifiable, independent download number: 191,828/week PyPI installs, 5.7M lifetime, 15B tokens/week (homepage stat). Multi-model, git-native, no vendor lock-in. v0.86.2 released 2026-02-12.
Claude Code
90Anthropic's official agentic coding CLI. Terminal-native, tool-use-driven, with deep file system and shell access. #1 SWE-bench Pro standardized (45.89%), ~4% of GitHub public commits (SemiAnalysis), $2.5B annualized revenue (fastest enterprise SaaS to $1B ARR). 8M+ npm weekly downloads. Opus 4.6 with 1M context.

Gemini CLI
86Google's open-source terminal agent with Gemini 3 models, 1M token context, built-in Google Search grounding, and the best free tier in the category (1K req/day). 97.9K stars, 444 contributors. SWE-bench Pro standardized 43.30% (#2 behind Claude Code).

Codex CLI
85OpenAI's open-source coding agent built in Rust. Terminal-Bench 77.3% (GPT-5.3-Codex), SWE-bench Pro standardized 41.04%. 3-4x more token-efficient than Claude Code, 60-75% cheaper per task. Free with ChatGPT subscription, sandbox-first execution, 619 releases in 10 months.
Raw GitHub source
GitHub README peek
Constrained peek so you can sanity-check the source material without leaving the site.
<a href="https://trendshift.io/repositories/15287" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15287" alt="QwenLM%2Fqwen-code | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
An open-source AI agent that lives in your terminal.
<a href="https://qwenlm.github.io/qwen-code-docs/zh/users/overview">中文</a> | <a href="https://qwenlm.github.io/qwen-code-docs/de/users/overview">Deutsch</a> | <a href="https://qwenlm.github.io/qwen-code-docs/fr/users/overview">français</a> | <a href="https://qwenlm.github.io/qwen-code-docs/ja/users/overview">日本語</a> | <a href="https://qwenlm.github.io/qwen-code-docs/ru/users/overview">Русский</a> | <a href="https://qwenlm.github.io/qwen-code-docs/pt-BR/users/overview">Português (Brasil)</a>
</div>🎉 News (2026-02-16): Qwen3.5-Plus is now live! Sign in via Qwen OAuth to use it directly, or get an API key from Alibaba Cloud ModelStudio to access it through the OpenAI-compatible API.
Qwen Code is an open-source AI agent for the terminal, optimized for Qwen3-Coder. It helps you understand large codebases, automate tedious work, and ship faster.

Why Qwen Code?
- Multi-protocol, OAuth free tier: use OpenAI / Anthropic / Gemini-compatible APIs, or sign in with Qwen OAuth for 1,000 free requests/day.
- Open-source, co-evolving: both the framework and the Qwen3-Coder model are open-source—and they ship and evolve together.
- Agentic workflow, feature-rich: rich built-in tools (Skills, SubAgents) for a full agentic workflow and a Claude Code-like experience.
- Terminal-first, IDE-friendly: built for developers who live in the command line, with optional integration for VS Code, Zed, and JetBrains IDEs.
Installation
Quick Install (Recommended)
Linux / macOS
bash -c "$(curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh)"
Windows (Run as Administrator CMD)
curl -fsSL -o %TEMP%\install-qwen.bat https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.bat && %TEMP%\install-qwen.bat
Note: It's recommended to restart your terminal after installation to ensure environment variables take effect.
Manual Installation
Prerequisites
Make sure you have Node.js 20 or later installed. Download it from nodejs.org.
NPM
npm install -g @qwen-code/qwen-code@latest
Homebrew (macOS, Linux)
brew install qwen-code
Quick Start
# Start Qwen Code (interactive)
qwen
# Then, in the session:
/help
/auth
On first use, you'll be prompted to sign in. You can run /auth anytime to switch authentication methods.
Example prompts:
What does this project do?
Explain the codebase structure.
Help me refactor this function.
Generate unit tests for this module.
<details>
<summary>Click to watch a demo video</summary>
<video src="https://cloud.video.taobao.com/vod/HLfyppnCHplRV9Qhz2xSqeazHeRzYtG-EYJnHAqtzkQ.mp4" controls>
Your browser does not support the video tag.
</video>
</details>
Authentication
Qwen Code supports two authentication methods:
- Qwen OAuth (recommended & free): sign in with your
qwen.aiaccount in a browser. - API-KEY: use an API key to connect to any supported provider (OpenAI, Anthropic, Google GenAI, Alibaba Cloud Bailian, and other compatible endpoints).
Qwen OAuth (recommended)
Start qwen, then run:
/auth
Choose Qwen OAuth and complete the browser flow. Your credentials are cached locally so you usually won't need to log in again.
Note: In non-interactive or headless environments (e.g., CI, SSH, containers), you typically cannot complete the OAuth browser login flow. In these cases, please use the API-KEY authentication method.
API-KEY (flexible)
Use this if you want more flexibility over which provider and model to use. Supports multiple protocols:
- OpenAI-compatible: Alibaba Cloud Bailian, ModelScope, OpenAI, OpenRouter, and other OpenAI-compatible providers
- Anthropic: Claude models
- Google GenAI: Gemini models
The recommended way to configure models and providers is by editing ~/.qwen/settings.json (create it if it doesn't exist). This file lets you define all available models, API keys, and default settings in one place.
Quick Setup in 3 Steps
Step 1: Create or edit ~/.qwen/settings.json
Here is a complete example:
{
"modelProviders": {
"openai": [
{
"id": "qwen3-coder-plus",
"name": "qwen3-coder-plus",
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"description": "Qwen3-Coder via Dashscope",