Infux
Back to Home
Aider

Integration Guide

Using Infux with Aider

Step-by-step setup for using Infux with Aider

Prerequisites

  • Aider installed (pip install aider-chat or pipx install aider-chat)
  • An Infux API key

Quick Start

Note: Aider requires the openai/ prefix for OpenAI-compatible providers.

terminal
aider \
  --openai-api-key "sk-infux-your_key_here" \
  --openai-api-base "https://api.infux.dev/v1" \
  --model "openai/deepseek-v3-0324"

Option 1: Environment Variables

~/.zshrc
export OPENAI_API_KEY="sk-infux-your_key_here"
export OPENAI_API_BASE="https://api.infux.dev/v1"

Then run: aider --model openai/deepseek-v3-0324

Option 2: .aider.conf.yml

.aider.conf.yml
openai-api-key: sk-infux-your_key_here
openai-api-base: https://api.infux.dev/v1
model: openai/deepseek-v3-0324

Recommended Models

Use CaseModelWhy
Code editingopenai/deepseek-v3-0324Fast, great at edits
Architect modeopenai/kimi-k2.5-thinkingChain-of-thought reasoning
Budget-friendlyopenai/glm-4.7-flashVery fast, 200K context
Pair with architectopenai/kimi-k2.5Strong SWE-bench, large context

Advanced: Architect + Editor Mode

terminal
aider \
  --openai-api-key "sk-infux-your_key_here" \
  --openai-api-base "https://api.infux.dev/v1" \
  --model "openai/kimi-k2.5-thinking" \
  --editor-model "openai/deepseek-v3-0324"

Troubleshooting

Model not available

Make sure you include the openai/ prefix before the model ID.

Connection refused or timeout

Check that OPENAI_API_BASE uses https://, not http://.