promptCacheTtl
A Claude Code settings key, read out of the shipped bundle. It was in the build from v2.1.242 and was gone by v2.1.284.
Choose the prompt cache lifetime for the main conversation
Anthropic's own wording. Read off All settings, captured 2026-10-22.
In the changelogs
2Releases whose published page names promptCacheTtl.
-
v2.1.248
Agents can set their own prompt cache lifetime in frontmatter
An agent file can set its own prompt cache lifetime under experimental cacheTtl.
found in this entry's text
-
v2.1.242
Prompt cache lifetime is now configurable
You can pin the prompt cache to five minutes or an hour, separately for subagents.
named in this entry, found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
2Build by build
56One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.