Claude Code
zro launch claude --model glm-5.2Open /model inside Claude Code if you want to switch Zro models.
Use the launcher for Zro-owned setup with telemetry disabled, or configure apps manually when they own their provider settings.
npm install -g @moonmath-ai/zro
zro login
zro launch claude --model glm-5.2
zro launch codex --model kimi-k3
zro launch codex-app --model glm-5.2
zro launch grok --model glm-5.2
zro launch pi --model glm-5.2Zro web search is configured automatically by supported launchers. It costs $0.02 per search from the same spend balance as inference.
| Tool | Method | Command or setting | Web search | Config impact |
|---|---|---|---|---|
| Claude Code | zro launch | zro launch claude --model glm-5.2 | Available | No persistent Claude config changes |
| Codex CLI | zro launch | zro launch codex --model glm-5.2 | Unavailable | No ~/.codex/config.toml changes |
| Grok Build | zro launch | zro launch grok --model glm-5.2 | Available | Temporary GROK_HOME config only |
| OpenCode | zro launch | zro launch opencode --model glm-5.2 | Available | Temporary merged config only |
| Hermes | zro launch | zro launch hermes --model glm-5.2 | Available | Temporary home config only |
| OpenClaw | zro launch | zro launch openclaw --model glm-5.2 | Available | Temporary home config only |
| Pi | zro launch | zro launch pi --model glm-5.2 | Available | Temporary PI_CODING_AGENT_DIR only |
| Codex App | zro launch | zro launch codex-app --model glm-5.2 | Unavailable | Zro-owned CODEX_HOME; no ~/.codex changes |
| Cline | Manual | Cline OpenAI Compatible provider | Not configured | Stored by Cline |
| Cursor | Manual | Cursor Settings -> Models | Not configured | Stored by Cursor |
zro loginStore your Zro API key once using a masked prompt.
zro login --api-key sk-...Fast setup from the account page. This can land in shell history.
zro auth statusShow whether ZRO_API_KEY or the stored login key will be used.
zro logoutRemove the stored Zro API key.
zro launch claude --model glm-5.2Launch Claude Code with Zro for this session.
zro launch codex --model kimi-k3 -- --sandbox workspace-writeLaunch Codex CLI and pass native Codex flags after --.
zro launch codex-app --model glm-5.2Launch Codex App with a Zro-owned Codex home.
zro launch grok --model glm-5.2Launch Grok Build with a temporary Zro config and MCP web search.
zro launch opencodeLaunch OpenCode with a temporary Zro provider config.
zro launch piLaunch Pi with a temporary Zro models.json.
Zro stores only your Zro API key. It does not write Claude Code, Codex CLI, or app-owned configs. Codex App uses a Zro-owned CODEX_HOME, and the other launchers build temporary session config at launch time.
--api-keyHighest priority. Useful for one-off commands and generated setup snippets.
ZRO_API_KEYBest for CI and shells. If set, it overrides the stored login key.
Stored login keyCreated by the Zro login command at ~/.config/zro/credentials.json with private file permissions.
zro auth status
zro logoutThe Zro launcher disables vendor telemetry and analytics for every launcher-supported tool. Prompts and completions go directly from your machine to the Zro endpoint. When an agent uses web search, Zro sends only its search query—not the full conversation—to Brave Search.
zro launch claude --model glm-5.2Open /model inside Claude Code if you want to switch Zro models.
zro launch codex --model glm-5.2Zro supplies runtime provider overrides and a temporary model catalog.
zro launch codex-app --model glm-5.2Zro launches the desktop app with CODEX_HOME pointed at ~/.config/zro/codex-app.
zro launch grok --model glm-5.2Zro uses an isolated GROK_HOME with its provider and MCP configuration.
zro launch opencode --model glm-5.2Zro launches OpenCode with a temporary XDG config root.
zro launch hermes --model glm-5.2Zro uses a temporary Hermes home for the launched session.
zro launch openclaw --model glm-5.2Zro writes a temporary OpenClaw home config and removes it after exit.
zro launch pi --model glm-5.2Zro points PI_CODING_AGENT_DIR at a temporary agent config with Zro models.
These apps connect directly to the Zro endpoint, but unlike the launcher tools they manage their own provider settings. Cursor additionally routes requests through its own servers — see the notes below.
Use Cline's OpenAI Compatible provider when you want Cline to call Zro directly.
API Provider: OpenAI Compatible
Base URL: https://zro.moonmath.ai/v1
API Key: sk-...
Model ID: glm-5.2
DeepSeek model ID: deepseek-v4-flash-0731
Kimi model ID: kimi-k3
Max output tokens: 64000Use Cursor's model settings when you want Cursor to manage the provider itself.
Open Cursor Settings -> Models.
In the OpenAI API key section:
Enable OpenAI API Key and paste:
sk-...
Enable Override OpenAI Base URL and set:
https://zro.moonmath.ai/v1
Add custom model IDs:
glm-5.2
deepseek-v4-flash-0731
kimi-k3
Click Verify, then Save.