Skip to main content

Create your API key →

Mint an aireserve_api_… key in the portal — every aider request is then metered and billed through your organization.
Aider speaks the OpenAI chat-completions format and takes a custom endpoint entirely through environment variables (aider’s OpenAI-compatible guide). Set the base to the gateway’s /v1 surface and prefix model names with openai/:
The openai/ prefix is aider’s routing convention for “OpenAI-compatible endpoint”, not a vendor claim — Claude models ride the same surface, so aider --model openai/claude-sonnet-4-6 routes through the gateway too.
Expect a one-time “unknown model” warning. Aider keeps its own metadata catalog and doesn’t recognize gateway model ids, so it warns that the context window and costs are unknown. The warning is cosmetic — requests work regardless. Accept it, pass --no-show-model-warnings, or pin metadata in .aider.model.metadata.json.

Verify

Run a one-shot edit from any git repository:
Aider prints the model’s reply and its token/cost line. The request appears on your usage page seconds later — metered against the key you exported.