guide
Aider
A terminal agent. Two variables, like Claude Code, but OpenAI names.
Three fields. Copy, don’t type
url
https://cheapai.lol/v1
model
claude-opus-4.8
terminal
export OPENAI_API_BASE=https://cheapai.lol/v1 export OPENAI_API_KEY=sk-… aider --model openai/claude-opus-4.8
Do it in order. Don’t skip
Install Aider: pip install aider-install, then run aider-install.
Open a terminal and set two variables. On macOS and Linux use the export lines from the card below.
On Windows PowerShell it looks different: $env:OPENAI_API_BASE="https://cheapai.lol/v1" and $env:OPENAI_API_KEY="your key".
Run: aider --model openai/claude-opus-4.8
The openai/ prefix is required — that's how Aider knows this is a compatible server, not OpenAI itself.
Type “hi”.
Check
aider replied in the terminal — variables and model are set.
If it didn’t start
- “401 / unauthorized / invalid api key” — the key was not copied whole. It starts with sk- and has no space at either end.
- “model not found” / “named models unavailable” / model in red — the name must match exactly: claude-opus-4.8. Not “Opus 5”, not opus, not claude-3, not gpt-4.
- The app shows no models — reopen its settings page: the model list is served from our address and appears once the Base URL and key are right.
- “Connection error” / spinner and silence — wrong Base URL. Almost every app wants the address with a /v1 tail.
- “/v1/v1” in the error — the app appends /v1 itself. Drop the tail, leave the site address.
- It replied, then stopped — you ran out of tokens. The balance is in your dashboard. Topping up on FunPay from the same nick lands on the same key.