export CUSTOM_API_KEY="YOUR_CAPRIOLE_AI_API_KEY"
openclaw config set models.providers.capriole-ai-compatible \
'{
"baseUrl": "https://api.caprioletech.com/v1",
"apiKey": "${CUSTOM_API_KEY}",
"api": "openai-completions",
"models": [
{
"id": "anthropic/claude-fable-5-1",
"name": "Fable 5.1",
"api": "openai-completions",
"contextWindow": 1000000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "anthropic/claude-fable-5",
"name": "Fable 5",
"api": "openai-completions",
"contextWindow": 1000000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "anthropic/claude-opus-5-5",
"name": "Opus 5.5",
"api": "openai-completions",
"contextWindow": 1000000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "anthropic/claude-opus-5",
"name": "Opus 5",
"api": "openai-completions",
"contextWindow": 1000000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "google/gemini-3.8-flash",
"name": "Gemini 3.8 Flash",
"api": "openai-completions",
"contextWindow": 1048576,
"maxTokens": 65536,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "xai/grok-4.7",
"name": "Grok 4.7",
"api": "openai-completions",
"contextWindow": 500000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "xai/grok-4.5",
"name": "Grok 4.5",
"api": "openai-completions",
"contextWindow": 500000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "zai/glm-5.3-flash",
"name": "GLM 5.3 Flash",
"api": "openai-completions",
"contextWindow": 1000000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "zai/glm-5.2",
"name": "GLM 5.2",
"api": "openai-completions",
"contextWindow": 1000000,
"maxTokens": 128000,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
},
{
"id": "moonshot/kimi-k3",
"name": "Kimi K3",
"api": "openai-completions",
"contextWindow": 1048576,
"maxTokens": 131072,
"input": ["text"],
"reasoning": true,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}
}
]
}' \
--strict-json