Skip to content

Glossary: LLMs in Production

cache_control

A Claude API setting that marks where the cached part of a prompt ends, so the provider can reuse everything before that point. Automatic caching can instead set it on the whole request.

Where the book teaches it

Related terms

Prompt caching