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. 1

    Export the endpoint and key:

    export OPENAI_API_BASE="https://api.companyfabric.com/v1"
    export OPENAI_API_KEY="$COMPANYFABRIC_API_KEY"
  2. 2

    Run Aider with your model picks:

    aider --model openai/anthropic/claude-sonnet-4-5 \
          --weak-model openai/anthropic/claude-haiku-4-5

Recommended

Models that shine in Aider

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.