orientx

Aider

Terminal pair-programming via an OpenAI-compatible model

Aider reaches OpenAI-compatible servers through LiteLLM's openai/ prefix.

Base URLhttps://api.orientx.ai/v1
AuthOPENAI_API_KEY
Modelopenai/<MODEL_ID>

Install Aider

python -m pip install aider-install
aider-install

Point it at orientx

export OPENAI_API_BASE=https://api.orientx.ai/v1
export OPENAI_API_KEY="$ORIENTX_API_KEY"

aider --model openai/<MODEL_ID>

The openai/ prefix is required. <MODEL_ID> is the raw id from GET /v1/models.

To persist the settings, write ~/.aider.conf.yml:

openai-api-base: https://api.orientx.ai/v1
openai-api-key: sk-...
model: openai/<MODEL_ID>

Aider also reads OPENAI_API_BASE. Do not set a second, conflicting OPENAI_BASE_URL unless you know which one your Aider version prefers.

On this page