What is OpenClaw
OpenClaw is an open-source, self-hosted personal AI assistant and gateway that connects chat channels such as WhatsApp, Slack, Discord, Telegram, iMessage, and WebChat to AI agents. It can send supported model requests through Capriole AI by configuring custom OpenAI-compatible and Anthropic-compatible model providers.Prerequisites
Before you begin, make sure you have:- A Capriole AI account (Sign up here)
- A Capriole AI API key (Get your key)
Installation
Configuration
Model validation
OpenClaw 2026.4.21: local file-read and final-answer checks pass withanthropic/claude-fable-5-1, google/gemini-3.8-flash, and zai/glm-5.3-flash. claude-latest resolves to Fable 5.1. Previous concrete model IDs remain available.
The capacity settings below follow the published specifications for GPT-6 Astra, Fable 5.1, Gemini 3.8 Flash, and GLM 5.3 Flash.
These are client model-capacity settings, not per-request output targets or verified VectorEngine limits. Local task checks used contextWindow=200000 and maxTokens=2048; full-capacity requests have not been validated. Fable 5.1 also passes through Anthropic Messages.
xai/grok-4.6 accepts Chat Completions requests but failed coding-agent task checks, so it is not included in the configuration below. Direct-provider checks also found inconsistent tool use with Grok 4.5; a completed API request is not proof of a correct agent answer.
Configure the GPT provider:
Run OpenClaw
Start the gateway:Supported models
OpenClaw supports OpenAI latest, GPT-6 Astra, GPT 5.6 Thinking, GPT 5.6, GPT 5.5, GPT 5.4 mini, Fable 5.1, Fable 5, Opus 5, Grok 4.5, Gemini 3.8 Flash, GLM 5.3 Flash, GLM 5.2, Kimi K3, Claude latest, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6 through Capriole AI. Fable 5 and Opus 5 can use either the Chat Completions-compatible provider or the Anthropic Messages provider.openai-latestopenai/gpt-6-astraopenai/gpt-5.6-terraopenai/gpt-5.6-lunaopenai/gpt-5.5openai/gpt-5.4-minianthropic/claude-fable-5-1anthropic/claude-fable-5anthropic/claude-opus-5google/gemini-3.8-flashxai/grok-4.5zai/glm-5.3-flashzai/glm-5.2moonshot/kimi-k3claude-latestclaude-fable-5-1claude-fable-5claude-opus-5claude-opus-4-8claude-opus-4-7claude-opus-4-6claude-sonnet-4-6
Troubleshooting
Why do GPT requests fail?
Confirm thatmodels.providers.capriole-ai-openai.api is set to "openai-responses" and baseUrl is https://api.caprioletech.com/v1.
Why do Grok, GLM, or Kimi requests fail?
Confirm thatmodels.providers.capriole-ai-compatible.api is set to "openai-completions" and baseUrl is https://api.caprioletech.com/v1.
Why do Anthropic requests fail?
Confirm thatmodels.providers.capriole-ai-anthropic.api is set to "anthropic-messages" and the Anthropic baseUrl is https://api.caprioletech.com without /v1.
Why does authentication fail?
ExportCUSTOM_API_KEY in the terminal that starts openclaw gateway and in the terminal that starts openclaw tui.
Why does OpenClaw report that a model is not allowed or unavailable?
Runopenclaw models list, then confirm the selected model and any agents.defaults.models allowlist include the Capriole AI model reference, such as capriole-ai-openai/openai-latest, capriole-ai-compatible/xai/grok-4.5, capriole-ai-compatible/moonshot/kimi-k3, or capriole-ai-anthropic/claude-latest.
If a Capriole AI model appears as missing, update the model entry with the full object shown above. Current OpenClaw releases need more than id and name for custom provider models.
Why doesn’t the gateway start?
Runopenclaw status, openclaw gateway status, openclaw logs --follow, and openclaw doctor. Fix schema, gateway.mode, or service issues before retrying.
Why does port 18789 fail?
Choose another local port and use the same port for the gateway and client setup. For service-mode installs, run openclaw doctor --fix or openclaw gateway install --force after changing the port.
Notes
- OpenClaw custom providers require the provider API mode to match the Capriole AI endpoint family.
- OpenClaw 2026.4.21 completes local
exectool workflows with Grok 4.5, GLM 5.2, and Kimi K3 throughopenai-completions. - Capriole AI handles the model request. OpenClaw can still shape final assistant behavior through its gateway, channels, and agent settings.
- Official references: OpenClaw install, OpenClaw custom providers, OpenClaw model providers, and OpenClaw troubleshooting.