← All applications · Connect apps section on /docs
Anthropic + OpenAIManual setup
Aider
Aider: hướng dẫn cấu hình khóa API, model và nhà cung cấp trong 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 protocolThis app has exceptions — read Notes below before pasting.
Prerequisites
- pip install aider-chat
- Git repo
- API key
Recommended model: claude-fable-5
Quick way — command / config
export ANTHROPIC_API_BASE="https://apistack.vn"
export ANTHROPIC_API_KEY="sk-stk-..."
aider --model anthropic/claude-fable-5Where to place file / fill Settings
Fileany
.aider.conf.yml
Trong repo; thêm vào .gitignore nếu chứa key.
Environment variablewindows
System Environment Variables
setx ANTHROPIC_API_BASE và ANTHROPIC_API_KEY tương ứng.
Verify connection
- aider trong repo → hỏi sửa 1 file nhỏ
- Sử dụng
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| model not found | Sai prefix anthropic/ hoặc openai/. | Giữ đúng prefix theo provider Aider. |