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

8 pages for promptcachettl.

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 …PROMPT_CACHE_TTL` [environment variable](/docs/en/env-vars), or the [`promptCacheTtl`](/docs/en/settings-reference#promptcachettl) setting * Everything else: the `CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …uding 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.… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …Claude 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… Use the mods API Claude Code CLI · in the page plugins/mods/api …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 [up to f… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …Claude Code ignores any other value. * **Main conversation**: the [`promptCacheTtl`](/docs/en/settings-reference#promptcachettl) setting, or the `CLAUDE_CODE_PROMPT_CACHE_TTL` [environment variable]… All settings Claude Code CLI · in the page settings-reference …S and Linux | Agents, sessions, and worktrees | User or managed | | [`promptCacheTtl`](#promptcachettl) | Choose the [prompt cache lifetime](/docs/en/prompt-caching#cache-lifetime) for the main conver… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …luding 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… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …uding 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.…
Feedback