Search the documentation
5 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 on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…docs/en/prompt-caching) 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
…---------------------------------------------------------------- | | `DISABLE_PROMPT_CACHING` | Set to `1` to disable prompt caching for all models. Takes precedence over the per-model settings…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…| | ------------------------------- | ----------------------- | | `DISABLE_PROMPT_CACHING` | Disable for all models | | `DISABLE_PROMPT_CACHING_HAIKU` | Disable for Haiku only | | `DISABL…
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` *…