Setup
setx OPENAI_API_BASE ... and setx OPENAI_API_KEY ... instead.
The
openai/ prefix is Aider’s own routing marker — it tells Aider to use its OpenAI-compatible client. Everything after it is the Opper model ID, which carries its own provider prefix. So anthropic/claude-sonnet-4-6 on Opper becomes openai/anthropic/claude-sonnet-4-6 on the Aider command line.Choosing a model
Any model ID from the catalog, prefixed withopenai/. To make it stick, put it in .aider.conf.yml at the root of your repo:
Troubleshooting
Aider says the model is unknown
Aider says the model is unknown
Aider needs the
openai/ prefix to route through its OpenAI-compatible client. Without it, Aider tries to resolve the name against its built-in model list and fails.Aider warns about unknown context window or pricing
Aider warns about unknown context window or pricing
Aider keeps a static metadata map for models it knows. The warning is cosmetic and the model still works; set
--no-show-model-warnings to silence it.Related
Model catalog
Browse the catalog for model IDs and capabilities.
All integrations
Every app that runs on Opper.