Qwen Code

Qwen Code is a terminal coding assistant that can use XycAi through the OpenAI-compatible API.

One-click setup with our desktop client
Download the XycAi client to install and configure everything automatically — no manual steps needed.
Set up now →

Connection values

After installing Qwen Code, set these variables in your shell:

npm install -g @qwen-code/qwen-code

export OPENAI_BASE_URL="https://apicdn.xyc.ai/v1"
export OPENAI_API_KEY="sk-xxxxxxxx"

Verify the connection

Run qwen (or the CLI command shipped by your install) and choose a model for your task.

Troubleshooting