aider icon indicating copy to clipboard operation
aider copied to clipboard

Feature request: Implement prompt caching with Claude

Open liviuolos opened this issue 2 years ago • 2 comments

I think Aider would greatly benefit from prompt caching leading to development cost reduction, faster answers, better quality for lengthily development.

https://www.anthropic.com/news/prompt-caching

"Writing to the cache costs 25% more than our base input token price for any given model, while using cached content is significantly cheaper, costing only 10% of the base input token price."

liviuolos avatar Aug 20 '24 07:08 liviuolos

There is already a discussion about that feature: https://github.com/paul-gauthier/aider/issues/1086

maledorak avatar Aug 20 '24 08:08 maledorak

Even better: Support for pompt caching is already in the main branch, see here -> https://github.com/paul-gauthier/aider/issues/1086#issuecomment-2297256228

fry69 avatar Aug 20 '24 08:08 fry69