← All applications · Connect apps section on /docs

Anthropic + OpenAIManual setup

Aider

Aider: configure the API key, model and provider in your terminal.

Published instructions · App version: unverified

Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely

Base URL to paste

OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.

See notes / depends on the protocol

This app has exceptions — read Notes below before pasting.

Prerequisites

  1. pip install aider-chat
  2. Git repo
  3. API keys

Recommended model: claude-fable-5

Quick way — command / config

export ANTHROPIC_API_BASE="https://thapi.cloud"
export ANTHROPIC_API_KEY="sk-thapi-..."
aider --model anthropic/claude-fable-5

Where to place file / fill Settings

Fileany
.aider.conf.yml
In the repository; add it to .gitignore if it contains a key.
Environment variablewindows
System Environment Variables
Use setx to set ANTHROPIC_API_BASE and ANTHROPIC_API_KEY accordingly.

Verify connection

  1. Run aider in the repository → ask it to modify one small file
  2. Use

Troubleshooting

SymptomReasonHow to handle
model not foundIncorrect anthropic/ or openai/ prefix.Keep the correct prefix for the Aider provider.

Related

Claude Code · Python (anthropic)

Zalo group