Aider
Pair-programming CLI agent. Edits code in your repo through the model you choose.
Aider edits code in your repository and commits on its own. Address and key go into environment variables.
What you need
- Base URL
- https://apimira.com/v1
- API key
- am-YOUR_KEYCreated in the dashboard, the API keys section. The full value is shown once.
- Model ID
- google/gemini-3.7-flashCopy it from the catalogue in full, including the prefix before the slash.
How to connect
- 1Set OPENAI_API_BASE and OPENAI_API_KEY — in the shell or in your project .env.
- 2Run aider with the Model ID prefixed by openai/.
- 3Then work as usual: /add files, describe the task, /diff to review edits.
export OPENAI_API_BASE="https://apimira.com/v1"
export OPENAI_API_KEY="am-YOUR_KEY"
aider --model openai/openai/gpt-6-astraThe prefix looks doubled — openai/openai/gpt-6-astra. That is correct: the first openai/ tells aider to speak the OpenAI-compatible protocol, everything after it reaches us as the Model ID.
Function calling is supported, so agentic modes work. Strict JSON mode (response_format) and the retired functions format are rejected with an unsupported_parameter error — the parameter is never silently dropped. Image input is accepted by models marked "Sees images" on the Models page: a content part of type image_url with a data:image/png;base64,… URL (PNG, JPEG or WebP, up to 5 MB each, up to 50 per request). Remote URLs are not fetched, and a model without that mark answers with unsupported_capability — both errors name the reason outright.