Search the documentation
2 pages for disable_prompt_caching_opus.
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 Sonnet models only | | `DISABLE_PROMPT_CACHING_OPUS` | Set to `1` to disable prompt caching for Opus models only…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…y | | `DISABLE_PROMPT_CACHING_SONNET` | Disable for Sonnet only | | `DISABLE_PROMPT_CACHING_OPUS` | Disable for Opus only | | `DISABLE_PROMPT_CACHING_FABLE` | Disable for Fable only | To set c…