Skip to main content
Qwen Code speaks the OpenAI Chat Completions dialect, so it runs on Sideren with three environment variables: the gateway URL (with /v1), your Sideren key, and a catalog id.

One command

The setup helper writes Qwen Code’s Sideren settings for you. See setup helper.

Configure

Qwen Code auto-loads a .qwen/.env file (project-level, or ~/.qwen/.env for a user-wide default). Three variables:
.qwen/.env
On first launch pick Custom Provider if prompted (or start with --auth-type openai). Switch OPENAI_MODEL to @sdn/glm-5 for heavy sessions.

Verify

Start qwen and send a trivial prompt. To confirm the key works against the gateway without Qwen Code in the loop: