Aider
Run the Aider CLI against LLMRPM's OpenAI-compatible endpoint.
Configuration
| Setting | Value |
|---|---|
| API shape | OpenAI-compatible |
| Base URL | https://llmrpm.com/api/v1 |
| Auth | Authorization: Bearer llmrpm_... |
- Set
OPENAI_API_KEYto your LLMRPM API key. - Set
OPENAI_API_BASEtohttps://llmrpm.com/api/v1. - Run Aider with
--model openai/<public-model-id>. - Use one project shell per environment so keys stay scoped.
Example
Shell
export OPENAI_API_KEY="llmrpm_YOUR_KEY"
export OPENAI_API_BASE="https://llmrpm.com/api/v1"
aider --model openai/claude-sonnet-5Recommended models
Any public ID from the model list works. Common picks:
claude-sonnet-5— strong model for reasoning, refactors, and coding agents.claude-haiku-4.5— fast option for autocomplete, small questions, and lightweight tasks.deepseek-v4-pro— alternative based on your active catalog and plan.
Troubleshooting
| Symptom | Cause & fix |
|---|---|
| Authentication error | Check that the API key has no extra spaces and has not been revoked in the dashboard. |
| Model rejected | Use a public model ID returned by GET /api/v1/models; do not use display names or aliases. |
| Connection issue | Confirm the configured base URL is exactly the one shown above and that your network allows HTTPS to llmrpm.com. |
Notes
- Aider model names usually need the openai/ prefix for custom OpenAI-compatible providers.
- Use a model with a large context window when asking Aider to inspect many files.