---
title: "Aider"
description: "Configure Aider to call plaingateway."
---

# Aider

```sh
export OPENAI_API_BASE="https://api.plaingateway.com/api/v1"
export OPENAI_API_KEY="$PLAINGATEWAY_API_KEY"
aider --model openai/openai/gpt-5.6-luna
```

Aider reads the first `openai/` as "an OpenAI-compatible server" and drops it. It sends the rest, `openai/gpt-5.6-luna`, as the model ID.
So put `openai/` in front of any model ID, for example `openai/deepseek/deepseek-v4-flash`.
To check the setup, send one short prompt. The request then shows on the [Activity](https://plaingateway.com/activity) page with its host and cost.
