Qwen Code
Qwen Code is a command-line AI coding assistant released by Alibaba Cloud, developed on the Gemini CLI architecture and integrated with the Qwen series of large language models. Targeting developers, it supports programming assistance tasks including code generation, completion, debugging, and codebase comprehension. It features large context window handling and enables interactive dialogue with codebases directly from a terminal environment.
Core Facts
Timeline (last 90 days)
In a real financial ledger reconciliation test, Qwen 4 35B-A3B connected to Qwen Code found all 12 planted issues with zero false positives, with totals accurate to the cent, taking about 10 minutes in total at roughly 80 tokens/s, and the data never left the local machine.
The $19/month Plus package of the Qwen app purchased by a YouTube creator only provides the previous-generation Qwen 3.8 Max and Flash in the Qwen Code terminal, so Qwen 4 can only be used in the app chat interface and cannot execute and verify code in the terminal.
Qwen 4 Max Preview's token packages are restricted to interactive use within tools such as Claude Code, Cursor and Qwen Code, and are explicitly prohibited for automated scripts or batch tasks, with violations potentially leading to key bans; personal packages do not support cancellation once activated.
The Qwen Code 1.0 preview is currently in the preview stage, and its interfaces, configuration and behavior may continue to change.
Qwen released the Qwen Code 1.0 preview on November 11, combining the agent capabilities of Coder and Qwen Code.
The Qwen Code 1.0 preview provides native installers for Apple, Linux and Windows, with no separate Node.js installation required.
The Qwen Code 1.0 preview supports Qwen and Coder accounts, multiple model services and compatible interfaces.
Qwen Code can be used without Node.js.
Qwen Code supports resuming sessions and running as a script.
Qwen Code's open-source nature and custom endpoint support make it more attractive to teams that are data-sensitive or want deep customization.
21 more timeline events
All Facts (20)
Qwen Code is a fork of Gemini CLI that replaces the underlying model with Alibaba Cloud's Qwen series.
65%UnverifiedQwen 4 Max Preview's token packages are restricted to interactive use within tools such as Claude Code, Cursor and Qwen Code, and are explicitly prohibited for automated scripts or batch tasks, with violations potentially leading to key bans; personal packages do not support cancellation once activated.
50%UnverifiedThe Qwen Code 1.0 preview supports Qwen and Coder accounts, multiple model services and compatible interfaces.
50%UnverifiedThe Qwen Code 1.0 preview provides native installers for Apple, Linux and Windows, with no separate Node.js installation required.
50%UnverifiedQwen Code supports resuming sessions and running as a script.
50%UnverifiedQwen Code's open-source nature and custom endpoint support make it more attractive to teams that are data-sensitive or want deep customization.
50%UnverifiedQwen Code can be used without Node.js.
50%UnverifiedQwen Code supports connecting to Qwen and Coder accounts, other model providers, or a custom endpoint.
50%UnverifiedOrca's officially listed support list includes 34 agents, including Claude Code, Codex, Kimi, Qwen Code, GLM, and others.
50%UnverifiedAfter configuring modelProviders, the request body becomes temperature: 0.2 and max_tokens: 4096, and the default value of 32000 disappears.
50%UnverifiedIn Qwen Code, when a modelProviders entry is selected, its generationConfig replaces the top-level configuration of the same name wholesale, and samplingParams, customHeaders, and extra_body are all replaced as whole objects rather than merged.
50%UnverifiedManaged auto memory can be turned off by setting "memory": {"enableManagedAutoMemory": false, "enableManagedAutoDream": false} in the configuration, after which qwen -p "Say hi" sends only one request.
50%UnverifiedWhen the server keeps returning 503, Qwen Code's default retry behavior is: the OpenAI SDK retries three times per attempt (backoff of about 0.4, 0.9, and 1.8 seconds), and Qwen Code's own retry loop repeats these groups at intervals of about 2, 3, 7, 14, 30, and 30 seconds, so seven groups totaling 28 requests take about 107 seconds, after which the CLI prints Retrying in 60s (attempt 1/10) and starts a new round.
50%UnverifiedSetting maxRetries to 0 in generationConfig removes SDK-layer retries, so an endpoint that keeps returning 503 receives only 7 requests (about 74 seconds) before ending with [API Error: 503 upstream busy] and exit code 1.
50%UnverifiedRunning qwen -p "Say hi" non-interactively sends two requests: the first is the answer request (the system prompt is about 30,553 characters, plus a skills and memory paths block of about 10,963 characters and six tool definitions); the second is the managed memory extraction subagent request, used to update the memory files under ~/.qwen/.
50%UnverifiedQwen Code is a terminal coding agent launched by the Tongyi team, originally forked from Gemini CLI and switched to the OpenAI Chat Completions protocol.
50%UnverifiedUsing the three environment variables OPENAI_API_KEY, OPENAI_BASE_URL and OPENAI_MODEL, Qwen Code can be configured to connect to a custom OpenAI-compatible API without a configuration file.
50%UnverifiedQwen Code uses the official OpenAI Node SDK and appends /chat/completions after OPENAI_BASE_URL, so the base URL must retain the /v1 path, otherwise most gateways return 404.
50%UnverifiedWhen Qwen Code is configured via environment variables, each request carries max_tokens: 32000 by default.
50%UnverifiedWhen the API key is wrong, Qwen Code sends only one request, reports [API Error: 401 Invalid API key], and exits with code 1 without retrying.
50%