OpenClaw
Fixture onlyChecked 16 November 2026
In short
- The exact settings for this tool.
- Set the base URL and a Petrova key.
- Caps and receipts work with no extra setup.
Base URL without /v1, Anthropic Messages API.
Add a custom provider to ~/.openclaw/openclaw.json:
{
"models": {
"providers": {
"petrova": {
"baseUrl": "http://127.0.0.1:4100",
"apiKey": "${PETROVA_API_KEY}",
"api": "anthropic-messages",
"models": [
{ "id": "claude-opus-5-5", "name": "Claude Opus 5.5 (Petrova)", "contextWindow": 1000000, "maxTokens": 128000 },
{ "id": "claude-fable-5-1", "name": "Claude Fable 5.1 (Petrova)", "contextWindow": 1000000, "maxTokens": 128000 },
{ "id": "claude-sonnet-5-5", "name": "Claude Sonnet 5.5 (Petrova)", "contextWindow": 1000000, "maxTokens": 128000 },
{ "id": "claude-haiku-5-5", "name": "Claude Haiku 5.5 (Petrova)", "contextWindow": 1000000, "maxTokens": 128000 }
]
}
}
},
"agents": { "defaults": { "model": { "primary": "petrova/claude-opus-5-5" } } }
}
export PETROVA_API_KEY=ptrv_test_...
Check the key names against OpenClaw's current custom-provider docs; they were written from memory. A ClawHub plugin that does this for you is drafted in integrations/openclaw/petrova-provider/ (not published).
Last checked against the code: 16 November 2026. Something wrong? The source of this page is in the repository, so a fix is one edit.