Introduction
Qwen3-Coder,Alibaba most agentic code model to date. Qwen3-Coder is available in multiple sizes, but its most powerful variant first: Qwen3-Coder-480B-A35B-Instruct — a 480B-parameter Mixture-of-Experts model with 35B active parameters which supports the context length of 256K tokens natively and 1M tokens with extrapolation methods, offering exceptional performance in both coding and agentic tasks. Qwen3-Coder-480B-A35B-Instruct sets new state-of-the-art results among open models on Agentic Coding, Agentic Browser-Use, and Agentic Tool-Use, comparable to Claude Sonnet 4.
This tutorial can help you quick start Claude Code with Qwen3 Coder.
Prerequisites
-
Newly installed Claude Code
-
An Api Key for Claude Code
Step 1 - Newly installed Claude Code
Global installation (see official documentation for more usage)
npm install -g @anthropic-ai/claude-code
If a previous version has been installed and needs to be uninstalled, execute the following uninstallation
npm uninstall -g @anthropic-ai/claude-code
rm -rf ~/.claude*
Step 2 - Register on Alibabacloud to Generate an API key for Qwen3 Coder
Go to alibabacloud modelstudio and register
Copy api key like sk-abc123
Step 3 - Start with environment variables
for macOS and Linux user
export ANTHROPIC_API_KEY=sk-xxxxxxxxxxxxxxxxx
export ANTHROPIC_BASE_URL=https://dashscope-intl.aliyuncs.com/api/v2/apps/claude-code-proxy
for windows user
setx ANTHROPIC_API_KEY "sk-xxxxxxxxxxxxxxxxx"
setx ANTHROPIC_BASE_URL "https://dashscope-intl.aliyuncs.com/api/v2/apps/claude-code-proxy"
if you are in China ,ANTHROPIC_BASE_URL Should be dashscope.aliyuncs.com/api/v2/apps/claude-code-proxy
You can check the settings in this area when you encounter a 401 error message.
then start Claude Code and enjoy coding.

