Google Gemini also supports caching, using an explicit API where you pay for the time your content is cached: https://
ai.google.dev/gemini-api/doc
s/caching?lang=python
…
@jeremyphoward
-
Google Gemini API Caching: Explicit Payment Model Explained
By
–
-
Deepseek Introduces Fully Automated Prompt Caching Feature
By
–
BTW Deepseek also provides prompt caching — and theirs is fully automated, which is pretty cool!
-
Anthropic Releases Official API Documentation on Prompt Caching Pricing
By
–
Here's the official API docs with details on pricing: https://
docs.anthropic.com/en/docs/build-
with-claude/prompt-caching
… -

Prompt Caching in Claude: Cost-Effective Token Optimization
By
–
Something that nearly everyone is sleeping on is the importance of prompt caching. We've just added support for it to Claudette, so @AnthropicAI caching is now *very* easy to use — cached tokens are 90% cheaper, and faster! Docs here: https://
claudette.answer.ai/#prompt-caching -
Exploring Llama Recipes Repository for LLM Implementation
By
–
Did you look at the llama-recipes repo?
-
Using XML for organizing inputs instead of markdown fences
By
–
I understand- hence the 2nd part of my response. I don’t think that helps. Claude has read loads of fenced markdown blocks and is good at using them. So I just use xml for organising my inputs.
-
Claude Projects XML Document Integration Best Practices
By
–
If you add them to a Claude project I assume Claude adds xml for each doc. I don’t think there’s a benefit to putting xml within each doc
-
Context Documents Matter More Than Expected in AI
By
–
I didn’t find it mattered much at all – context docs were the important thing
-

Claude Projects Excel at FastHTML Questions Beyond Knowledge Cutoff
By
–
I've discovered that when I create an @AnthropicAI Claude project with one example .py file and a few of the markdown files, it does a great job of answering FastHTML questions, even although the lib predates Claude's knowledge cutoff!
-
Advanced Python Library Example with Comprehensive Documentation
By
–
Also in that zip is `adv_app.py`, a single file example that shows nearly all the features of the lib, including detailed comments on how/why everything is the way it is. It's designed for both humans and LLMs to read.