One-click import via the Key Desk
StarSea's Key Desk supports one-click import for Qwen Code: pick Qwen Code in the Key Desk and it writes ~/.qwen/settings.json automatically — no manual editing, other keys in the file are preserved.
写入 ~/.qwen/settings.json 的四处:① modelProviders.openai 写入全部可用模型(baseUrl 指向本站);② env.STARSEA_API_KEY 存 Key;③ security.auth.selectedType 切到 openai;④ model.name 设为推荐模型。您已有的其它供应商(anthropic/gemini 等)与其它键原样保留(只增删 baseUrl 含 starseaapi.com 的条目)。
注意:Key 以明文存入该文件(官方说明其为最低优先级兜底);若导入后仍走旧通道,请检查系统里是否 export 过 OPENAI_BASE_URL / OPENAI_API_KEY(环境变量优先级更高)。
Create a key and top up at the Key Desk — online top-up is 50% off.