Aider re-sends your repo map and context on every turn, which is exactly the workload where input pricing decides the bill. DeepSeek-V4-Flash bills repeated input at a fraction of the fresh rate, and Kimi-K2.7-Code handles the whole-repo refactors.
For whole-repo refactors, swap the model flag:
Aider's value comes from sending a lot of context — repo map, edited files, chat history. On a flat-rate API that context is billed at full input price every turn. On DeepSeek-V4-Flash, input that hits the upstream cache is billed at $0.006 per million instead of $0.30, a 50× cut, applied automatically whenever the provider reports a cache hit. Long sessions get dramatically cheaper.
| Task in Aider | Model | Reason |
|---|---|---|
| Refactors across many files | Kimi-K2.7-Code | 262K context, tool-call trained |
| Bug hunts, explanations, tests | DeepSeek-V4-Flash | Strong reasoning, cheap cached input |
| Mechanical edits, renames | Qwen2.5-7B-Instruct | $0.10 / $0.30 per 1M |
Watch the per-model breakdown in the NovaToken dashboard; it shows what each Aider session actually cost.
Set the OpenAI-compatible base URL and your key in the environment (OPENAI_API_BASE=https://api.novatoken.dev/v1, OPENAI_API_KEY=sk-...), then run aider with --model openai/deepseek-ai/DeepSeek-V4-Flash.
The repo map is sent every turn — that's the pattern cache pricing rewards on DeepSeek: repeated input bills at $0.006 per million tokens instead of the fresh rate.
Yes. Run /model inside Aider, or restart with a different model id. One NovaToken key covers DeepSeek, Kimi, Qwen and GLM.
One key for DeepSeek, Kimi, Qwen and GLM. Card payment, USD, $5 to start.
Buy $5 of usage