Qwen Code
First, complete the API setup.
Merge this configuration into ~/.qwen/settings.json, replacing MODEL_ID. Set FOSSA_API_KEY in the shell environment before starting qwen; envKey names the variable Qwen Code reads.
The openai provider selects the compatible protocol, and wireApi keeps requests on Chat Completions. Run /doctor inside Qwen Code to inspect the selected configuration. You can also add a custom provider interactively through /auth.
For integrated Fossa routing, wallet, and recovery controls, use the OpenCode plugin. You can also build a native integration for this client using the API, CLI, or SDK.
Last updated: 13 November 2026. Configuration checked against the official Qwen Code documentation. We recommend reading it for the full configuration options and changes between client releases.