Aider with Claude, minus the Anthropic bill
Two env vars point Aider's terminal pair-programmer at Luno — Claude, GPT and Gemini in your git repo at up to 70% below official pricing.
export OPENAI_API_BASE="https://api.luno.codes/v1"
export OPENAI_API_KEY="luno-..."
aider --model openai/claude-opus-4-835+ models · OpenAI-compatible · up to 70% cheaper
Two env vars, full power
Aider reads OPENAI_API_BASE and OPENAI_API_KEY out of the box. Export them once (or use --openai-api-base) and every Luno model is one --model flag away.
Repo maps cost tokens
Aider sends repo maps and whole-file edits on every turn — large repos mean serious token volume. Flat Luno pricing makes /architect sessions up to 70% cheaper.
Pick the model per task
openai/claude-opus-4-8 for hard refactors, Sonnet for routine edits, Gemini Flash for commit messages — switch with --model, same key and base URL.
Get started in 30 seconds
Get your luno- key from the Telegram bot
Export OPENAI_API_BASE and OPENAI_API_KEY
Run aider --model openai/claude-opus-4-8 in your repo
FREQUENTLY ASKED QUESTIONS
Two env vars point Aider's terminal pair-programmer at Luno — Claude, GPT and Gemini in your git repo at up to 70% below official pricing.
Aider (via LiteLLM) uses the openai/ prefix to route a model through the OpenAI-compatible endpoint you set in OPENAI_API_BASE — that's how it reaches Claude IDs on Luno.
Yes. Use the --openai-api-base and --openai-api-key flags, or put them in .aider.conf.yml / .env in the repo root.
Yes — Aider's diff and whole-file edit formats are plain chat completions, which Luno serves natively with streaming.