Use DeepSeek with Aider
$1.32/Mtok inDeepSeek is the classic Aider value pick, near-frontier code edits at prices that make --auto-commits guilt-free.
Facts
At a glance
Model
DeepSeek V4 Pro
deepseek/deepseek-v4-pro
Price
$1.32 / M input · $3.96 / M output
Context window
128k tokens
Tool
Aider
Setup below, under two minutes
Quickstart
Set up DeepSeek in Aider
- 1
Export the endpoint and key. Aider reads the OPENAI_* variables, the value is your CompanyFabric key (sk-cf-…), 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 on this model (the openai/ prefix selects Aider's OpenAI-compatible client; the rest is the catalog id):
aider --model openai/deepseek/deepseek-v4-pro
Full tool guide: Use any model with Aider →
FAQ
Frequently asked questions
Do I need a DeepSeek account to use DeepSeek in Aider?
No, one CompanyFabric key covers DeepSeek V4 Pro and every other model in the library. Billing is one prepaid balance with exact per-call metering; BYOK at 0% is available if you already have provider keys.
What does DeepSeek V4 Pro cost in Aider?
$1.32 / M input · $3.96 / M output, the same metered price as any other route to the model. Set a per-key budget cap to bound what the tool can spend.
Can I switch models later without touching Aider again?
Yes, the endpoint stays the same; the model is a string. Any catalog id works in the same configuration, including cheaper tiers for bulk work.
Explore
Related setups
One key. Every model. Exact prices.
Run DeepSeek in Aider with free starter credits. Free starter credits included, no subscription required.