Use any model with Aider
Aider reads standard OpenAI environment variables, so CompanyFabric drops in with two exports. Pair a strong editor model with a cheap weak model for commit messages and repo maps.
Step by step
Setup
- 1
Export the endpoint and key. Aider reads the OPENAI_* variables, these lines point them at your CompanyFabric key (no OpenAI account needed):
export COMPANYFABRIC_API_KEY="sk-cf-…" export OPENAI_API_BASE="https://api.companyfabric.com/v1" export OPENAI_API_KEY="$COMPANYFABRIC_API_KEY" - 2
Run Aider with your model picks:
aider --model openai/anthropic/claude-sonnet-5-5 \ --weak-model openai/anthropic/claude-haiku-4-5
Recommended
Models that shine in Aider
Claude Sonnet 5.5
$2/Mtok inAnthropic
The fast Claude 5.5: near-Opus coding and knowledge work, 30%+ faster than Sonnet 5, at half Opus 5.5's price.
Added 28 Sep 2026 · text
DeepSeek V4 Pro
$1.32/Mtok inDeepSeek
Retired by DeepSeek on 14 Sep 2026. Requests are served by V4.1 Flash from then, and billed at Flash's rate.
Added 15 Jul 2026 · text
FAQ
Frequently asked questions
Why the double prefix in --model?
Aider namespaces providers; 'openai/' selects its OpenAI-compatible client, and the rest is the CompanyFabric catalog id passed through as the model string.
One key. Every model. Exact prices.
One key gives Aider the whole library. Free starter credits included, no subscription required.