> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniakey.com/llms.txt
> Use this file to discover all available pages before exploring further.

# aider

> Configure aider with OmniaKey through the OpenAI-compatible base URL.

aider can use OmniaKey through the OpenAI-compatible endpoint.

## Environment variables

```bash theme={null}
export OPENAI_API_BASE="https://api.omniakey.com/v1"
export OPENAI_API_KEY="your-omniakey-api-key"
```

Run aider with a model id:

```bash theme={null}
aider --model openai/claude-opus-4-8
```

## Gemini models

Gemini models also work through the OpenAI-compatible endpoint:

```bash theme={null}
aider --model openai/gemini-3.1-pro-preview
```
