10 pages for cachettl.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Track cost and usage
Claude Code CLI · in the page
agent-sdk/cost-tracking
…CHE_TTL` [environment variable](/docs/en/env-vars.md), or the [`promptCacheTtl`](/docs/en/settings-reference#promptcachettl) setting * Everything else: the `CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL` envi…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…on a Claude subscription. To keep it for an hour, set [`subagentPromptCacheTtl`](/docs/en/settings-reference#subagentpromptcachettl) to `1h`. The API bills 1-hour cache writes at a higher rate. ## Us…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…Code v2.1.242 or later on the gateway server and on clients. `promptCacheTtl` covers the main conversation. `subagentPromptCacheTtl` is optional and covers subagents, workflows, and background reque…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…memory`, `background`, `omitClaudeMd`, `isolation`, `color`, and the `cacheTtl` key of `experimental`. The only valid `isolation` value is `"worktree"`. See [supported frontmatter fields](/docs/en/sub…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…e Code settings, not from the call. For one hour, set [`subagentPromptCacheTtl`](/docs/en/prompt-caching#choose-the-ttl-yourself) to `1h`. * **Breakpoints per request**: the API accepts [up to four](h…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…e Code ignores any other value. * **Main conversation**: the [`promptCacheTtl`](/docs/en/settings-reference#promptcachettl) setting, or the `CLAUDE_CODE_PROMPT_CACHE_TTL` [environment variable](/docs…
All settings
Claude Code CLI · in the page
settings-reference
…Linux | Agents, sessions, and worktrees | User or managed | | [`promptCacheTtl`](#promptcachettl) | Choose the [prompt cache lifetime](/docs/en/prompt-caching.md#cache-lifetime) for the main conversat…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…cope) | | `experimental` | No | Map of experimental options. Set its `cacheTtl` key to `5m` or `1h` to choose the [prompt cache lifetime](/docs/en/prompt-caching.md#choose-the-ttl-yourself) for this s…
Week 35 · August 24–28, 2026
Claude Code CLI · in the page
whats-new/2026-w35
…Amazon Bedrock or Google Cloud's Agent Platform model IDsSet [`promptCacheTtl`](/docs/en/prompt-caching#choose-the-ttl-yourself) to `1h` to keep a one-hour prompt cache on the main conversation when…
Orchestrate subagents at scale with dynamic workflows
Claude Code CLI · in the page
workflows
…on a Claude subscription. To keep it for an hour, set [`subagentPromptCacheTtl`](/docs/en/settings-reference#subagentpromptcachettl) to `1h`. The API bills 1-hour cache writes at a higher rate. When…