Use Standard Compute with Qwen Code
The Qwen team's open-source terminal coding agent, originally based on Gemini CLI and now developed on its own, tuned for Qwen models and open to any OpenAI- or Anthropic-compatible provider. Paste three settings into Qwen Code: the base URL, your Standard Compute API key and the model.
Qwen Code's free Qwen OAuth tier ended on April 15, 2026, so it now runs on a key: Alibaba's Coding Plan or Token Plan, a built-in third-party provider, or a Custom Provider such as Standard Compute.
Eligible new accounts can try $0.25 of compute, with no card. See trial terms →
Your connection settings
Copy these values, then put them where Qwen Code expects them (steps below).
Base URL
https://api.stdcmpt.com/v1API Key
Your Standard Compute keyModel
standardcomputeWhere to set them in Qwen Code
- Open ~/.qwen/settings.json (create it if it doesn't exist).
- Under modelProviders.openai, add an entry with id standardcompute, baseUrl set to https://api.stdcmpt.com/v1 and envKey STANDARDCOMPUTE_API_KEY.
- Set security.auth.selectedType to openai and model.name to standardcompute, export STANDARDCOMPUTE_API_KEY, then run qwen. Inside the app, /auth → Custom Provider does the same step by step.
What changes in Qwen Code
Read next