> ## 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

> 通过 OpenAI 兼容 base URL 把 aider 接入 OmniaKey。

aider 可以通过 OpenAI 兼容入口使用 OmniaKey。

## 环境变量

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

运行：

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

## Gemini 模型

Gemini 模型也可以通过 OpenAI 兼容入口使用：

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