Guide · Updated November 2026

Run Aider on DeepSeek — pair programming that doesn't burn the card

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.

Setup (two commands)

# 1. point Aider at NovaToken
export OPENAI_API_BASE=https://api.novatoken.dev/v1
export OPENAI_API_KEY=sk-your-novatoken-key

# 2. start it on DeepSeek
aider --model openai/deepseek-ai/DeepSeek-V4-Flash

For whole-repo refactors, swap the model flag:

aider --model openai/moonshotai/Kimi-K2.7-Code

Why Aider pairs well with cache pricing

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.

Model picks by task

Task in AiderModelReason
Refactors across many filesKimi-K2.7-Code262K context, tool-call trained
Bug hunts, explanations, testsDeepSeek-V4-FlashStrong reasoning, cheap cached input
Mechanical edits, renamesQwen2.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.

FAQ

How do I configure Aider for NovaToken?

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.

Will Aider's repo map blow up my bill?

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.

Can I switch models mid-project?

Yes. Run /model inside Aider, or restart with a different model id. One NovaToken key covers DeepSeek, Kimi, Qwen and GLM.

Give Aider a $5 balance

One key for DeepSeek, Kimi, Qwen and GLM. Card payment, USD, $5 to start.

Buy $5 of usage