Skip to content
Docs navigation: Open models / Use Qwen Code with open models

Use Qwen Code with open models

Open modelsUse Qwen Code with open models Updated

On this page

Open models appear next to your existing models in Qwen Code.

ConnectionValue
Control sitehttps://runinfra.ai
Commandruninfra
Sign-inApprove the device code in your browser. Keep your API key out of agent chat.
BillingThe 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

Text
Set up the open-models service in this coding agent for me. Read https://runinfra.ai/docs/tools-sdks/agent-setup.md and follow it step by step. If you cannot open links, run `npx -y @runinfra/cli@latest --help` and follow its FOR CODING AGENTS section. I approve sign-in in my browser. Before you install anything, change this agent's settings or spend money, show me the plan and wait for my yes.

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.

Source reference