Skip to content
Docs navigation: Open models / Use Grok Build with open models

Use Grok Build with open models

Open modelsUse Grok Build with open models Updated

On this page

Open models get their own grok-run command. Your grok command and settings stay unchanged.

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.

Replace MODEL_ID with an available id from Open models; read current capabilities, limits and prices from GET /v1/models.

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

Start grok-run -m runinfra-MODEL_ID with a model ID from the plan.

If needed, add ~/.config/runinfra/bin to PATH (%LOCALAPPDATA%\runinfra\bin on Windows) to run commands by name.

Undo

Ask your agent, in your usual grok, to disconnect the open-models service. This deletes grok-run with its sessions and history.

Source reference