Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

8 pages for subagentpromptcachettl.

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 …CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL` environment variable, or the [`subagentPromptCacheTtl`](/docs/en/settings-reference#subagentpromptcachettl) setting Setting `promptCacheTtl` to `1h` keeps the 1… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …lt, including 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 highe… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …rver and on clients. `promptCacheTtl` covers the main conversation. `subagentPromptCacheTtl` is optional and covers subagents, workflows, and background requests. This example adds both to a `match:… Use the mods API Claude Code CLI · in the page plugins/mods/api …e user's Claude 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… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …ironment variable](/docs/en/env-vars.md) * **Everything else**: the [`subagentPromptCacheTtl`](/docs/en/settings-reference#subagentpromptcachettl) setting, or the `CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TT… All settings Claude Code CLI · in the page settings-reference …d) to plugin and managed sources | Plugins and skills | Managed | | [`subagentPromptCacheTtl`](#subagentpromptcachettl) | Choose the [prompt cache lifetime](/docs/en/prompt-caching.md#cache-lifetime)… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …n the main conversation when you use an API key or a cloud provider; `subagentPromptCacheTtl` sets the TTL for subagents and all other requests outside the main conversationOn Pro, Max, Team, and Ente… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …lt, including 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 highe…
Feedback