Search the documentation
2 pages for disable_prompt_caching_sonnet.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Model configuration
Claude Code CLI · in the page
model-config
…ing for Haiku models only | | `DISABLE_PROMPT_CACHING_SONNET` | Set to `1` to disable prompt caching for Sonnet models only…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…s | | `DISABLE_PROMPT_CACHING_HAIKU` | Disable for Haiku only | | `DISABLE_PROMPT_CACHING_SONNET` | Disable for Sonnet only | | `DISABLE_PROMPT_CACHING_OPUS` | Disable for Opus only | | `DISABL…