Aider
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.
Aider calls Anthropic through LiteLLM, which reads the base URL from the environment. Base URL without /v1.
export ANTHROPIC_API_KEY=ptrv_test_...
# later: https://api.petrova.sh
export ANTHROPIC_API_BASE=http://127.0.0.1:4100
aider --model anthropic/claude-opus-5-5
Older LiteLLM versions pinned by Aider may not know claude-opus-5-5 yet. Aider then warns about unknown model metadata but still sends the call; Petrova prices it from its own catalog. Check the env var name against the LiteLLM version your Aider uses (ANTHROPIC_API_BASE in LiteLLM's Anthropic provider; some versions also read ANTHROPIC_BASE_URL).
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.