Aider v0.51.0: prompt caching for Anthropic models
Adds --cache-prompts, which caches the system prompt, repo map and /read-only files for Anthropic models — a direct cost lever on repeated turns. The repo map also recomputes less often in large repos, configurable via --map-refresh.
PUBLISHED2024-08-20
OBSERVED2026-08-11
AGE1y
SOURCES1
--cache-promptsenables prompt caching for Anthropic models, covering the system prompt, repo map and/read-onlyfiles- Repo map recomputes less often in large/mono repos and when caching is on;
--map-refresh <always|files|manual|auto>controls it - Cost estimation logic updated for caching
- Faster editing of Jupyter
.ipynbfiles --verboseshows which config YAML was loaded- Fixes:
.aider.models.metadata.jsonloading, exception on--msg /ask ..., litellm image tokenizer bug - Dependency versions bumped
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.