Documentation · GUARD API
One key for every model family
Connect your application to GUARD API. Find setup guides, request examples, and the API reference here.
Pick a client
A ready guide for your tool.
About the clients
Guard Code 0.2.1 in VS Code: tasks and plans, chats, images, background commands, skills, MCP, and connections. A detailed guide with screenshots.
Anthropic's CLI via Guard. No login at anthropic.com.
Configure the Guard URL, key, and model in Cursor.
Connect the Codex and Claude Code extensions to Guard in VS Code.
Set up Cline: choose the API format, Guard URL, key and model.
Set up Roo Code: choose the API format, Guard URL, key and model.
OpenAI Codex CLI via GUARD API.
The official OpenAI Codex app through Guard, without signing in to ChatGPT.
OpenCode on a universal Guard API key.
Set up the Hermes terminal agent for Guard API models.
Local gateway assistant with a custom Guard provider.
Moonshot AI terminal agent with a universal Guard key.
xAI console agent with a custom Guard model.
Z.ai desktop agent: the Guard address and key go into the settings window, no files to edit.
Python SDK for the selected model family.
Node / TypeScript SDK for the selected model family.
Configure Guard API requests and automation in n8n.
Where to start
Key, models and billing.
API reference
Interfaces, formats, errors.
Messages
/v1/messages- Claude
- Kimi
- GLM
- Gemini
- Muse
- Composer
- Grok
- Codex
Chat Completions
/v1/chat/completions- Claude
- Kimi
- GLM
- Gemini
- Muse
- Composer
- Grok
- Codex
Responses
/v1/responses- Claude
- Kimi
- GLM
- Gemini
- Muse
- Composer
- Grok
- Codex
