From 9e6f34a76e24b14b970c214d6d9801b04b73799f Mon Sep 17 00:00:00 2001 From: WildCat Eng Manager Date: Sun, 19 Apr 2026 13:46:45 -0500 Subject: [PATCH] docs: document prompt_caching.cache_ttl in cli-config example Made-with: Cursor --- cli-config.yaml.example | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cli-config.yaml.example b/cli-config.yaml.example index bd63901e1..977acbe92 100644 --- a/cli-config.yaml.example +++ b/cli-config.yaml.example @@ -326,6 +326,16 @@ compression: # To pin a specific model/provider for compression summaries, use the # auxiliary section below (auxiliary.compression.provider / model). +# ============================================================================= +# Anthropic prompt caching TTL +# ============================================================================= +# When prompt caching is active (Claude via OpenRouter or native Anthropic), +# Anthropic supports two TTL tiers for cached prefixes: "5m" (default) and +# "1h". Other values are ignored and "5m" is used. +# +prompt_caching: + cache_ttl: "5m" # use "1h" for long sessions with pauses between turns + # ============================================================================= # Auxiliary Models (Advanced — Experimental) # =============================================================================