Updated 2026-10-10
Aider is the terminal pair programmer that edits your repo directly. Because it accepts any OpenAI-compatible endpoint, you can drive it with Chinese frontier models — including ones that cost nothing — through NovAI.
pip install aider-install && aider-install
export NOVAI_API_KEY=sk-... # https://aiapi-pro.com/register ($2 free)
aider --model openai/glm-4.7-flash \
--openai-api-base https://aiapi-pro.com/v1 \
--openai-api-key $NOVAI_API_KEY
The openai/ prefix tells Aider to use the OpenAI chat protocol against your base URL; the model list (121 models) is whatever id you pass.
model: openai/kimi-k2.7-code openai-api-base: https://aiapi-pro.com/v1 openai-api-key: $NOVAI_API_KEY
| Task | Model id | Cost |
|---|---|---|
| Zero-cost everyday edits | glm-4.7-flash | Free, unlimited |
| Fast code completion | qwen3-coder-flash | see leaderboard |
| Balanced refactors | glm-5.3-flash | $0.08 / $0.28 per 1M |
| Hard architecture work | deepseek-v4-pro / kimi-k2.7-code | see leaderboard |
Free unlimited models right now: GLM-4.7-Flash, GLM-4.6V-Flash, GLM-4.1V-Thinking-Flash, CogView3-Flash, CogVideoX-Flash. Live per-model pricing: leaderboard / JSON. NovAI adds 0% platform fee.
/model openai/deepseek-v4-pro to escalate only for hard steps — cuts cost dramatically.--map-tokens defaults; repo-map calls are cheap on flash models.curl https://aiapi-pro.com/v1/models.Related: Claude Code · Cline & Roo Code · Cursor · Open WebUI