Use Qwen Code with open models
Updated
Open models appear next to your existing models in Qwen Code.
| Connection | Value |
|---|---|
| Control site | https://runinfra.ai |
| Command | runinfra |
| Sign-in | Approve the device code in your browser. Keep your API key out of agent chat. |
| Billing | The existing funding rules of your open-model account. |
This guide is for Qwen Code. Use its qwen-code discovery id in runinfra agents --json.
Set up
Paste it into your agent, approve sign-in in your browser, and say yes to the plan. All steps
Start
Fully restart Qwen Code, then use /model to pick an open-models service model.
Undo
Ask your agent to disconnect the open-models service. Your other providers stay.