7 pages for disable_prompt_caching.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…your-model-id' # Optional: Disable prompt caching if needed # export DISABLE_PROMPT_CACHING=1 # Optional: Request 1-hour prompt cache TTL instead of the 5-minute default # export ENABLE_PROMPT_CACHI…
Claude Code changelog
Claude Code CLI · in the page
changelog
…the fallback model instead of retrying the configured model * Fixed `DISABLE_PROMPT_CACHING_HAIKU` having no effect when Haiku is the session's main model * Fixed `claude plugin validate` saying Clau…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…s/en/prompt-caching.md) is enabled automatically. To disable it, set `DISABLE_PROMPT_CACHING=1`. To request a 1-hour cache TTL instead of the 5-minute default, set `ENABLE_PROMPT_CACHING_1H=1`; cache…
Model configuration
Claude Code CLI · in the page
model-config
…fic model tiers: | Environment variable | Description | | - | - | | `DISABLE_PROMPT_CACHING` | Set to `1` to disable prompt caching for all models. Takes precedence over the per-model settings | | `D…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…), and it returns no error * **Prompt caching is disabled**: when a [`DISABLE_PROMPT_CACHING` variable](/docs/en/prompt-caching#disable-prompt-caching) applies to the model, Claude Code removes the br…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…ese environment variables to `1`: | Variable | Effect | | - | - | | `DISABLE_PROMPT_CACHING` | Disable for all models | | `DISABLE_PROMPT_CACHING_HAIKU` | Disable for the default Haiku model | | `DIS…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…* Model selection and behavior settings, such as `ANTHROPIC_MODEL`, `DISABLE_PROMPT_CACHING`, and `CLAUDE_CODE_EFFORT_LEVEL` * Context window and compaction settings, such as `DISABLE_AUTO_COMPACT`,…