iilib
Agent•active

Qwen Code

Qwen Code is an open-source coding agent from the Qwen team with terminal, editor, desktop, browser, and chat surfaces and support for Qwen and third-party model providers.

Official siteRepositoryVerified Oct 26, 2026
Provider
Alibaba Cloud
Direct models
0
Selectable models
1
API integrations
7
Open source
Yes

Overview

Qwen Code is an Apache-2.0-licensed coding agent for repositories across terminal, IDE, desktop, and web interfaces. Install using the official standalone installer, npm (Node.js 22+), or Homebrew; run qwen inside a project and use /auth to select QwenCloud (Token Plan or pay-as-you-go API key), Alibaba ModelStudio, a third-party provider, or a custom provider. The former free Qwen OAuth option was discontinued on April 15, 2026. Qwen Code can inspect and edit code, execute shell commands, use MCP servers, and delegate tasks to subagents. The client is free; provider subscriptions or usage charges may apply.

Qwen Code: install, sign in and choose a model

  1. 1. Install the CLI

    With Node.js 22 or later, install via npm. On macOS or Linux, Homebrew is another option.

    npm install -g @qwen-code/qwen-code@latest
  2. 2. Open a project and configure access

    Run qwen inside your repository, then use /auth. QwenCloud offers a Token Plan subscription or a pay-as-you-go API key; Alibaba ModelStudio has separate Coding Plan, Token Plan and API-key options. You can also choose a third-party or custom provider.

  3. 3. Verify the connection

    Use /doctor to check authentication and /model to select an available model. Avoid placing API keys in source control.

Common questions

Is Qwen Code free?
The Apache-2.0 client is free. QwenCloud, Alibaba ModelStudio, other hosted providers or subscriptions may charge separately for model usage. The former free Qwen OAuth sign-in was discontinued on April 15, 2026.
Can Qwen Code use a local model?
Its Custom Provider option can connect to a locally running, compatible model server. A local connection does not guarantee that every cloud-dependent tool works offline.
Which plan should I choose?
For an existing API key, select the matching pay-as-you-go provider. If you subscribe to QwenCloud Token Plan or Alibaba ModelStudio Coding Plan, select that specific plan in /auth; their endpoints and billing rules are different.

Official quickstart →·Authentication options →·Explore connected models and APIs →

Agent details

Type
Coding
Autonomy
Supervised
Environments
Local, Browser, Desktop, Cli, Ide
Human in loop
Yes
Pricing
Free
Categories
AI Coding, Open-source Coding Agents, Terminal Coding Agents

Capabilities

Repository inspectionFile editingShell commandsMCP integrationsSubagentsMultiple model providers

The Qwen Code client is open source. Model-provider charges or subscription requirements can apply depending on the selected provider.

Selectable or integrated models

These are documented as selectable or accessible, not necessarily the product's default models.

API integrations

Alternatives

Alternative relationships are editorial navigation, not rankings.

Provider