If you point Claude at a proxy or custom gateway, the system prompt is no longer cached.
What's wrong with this entry?
The check deciding whether the system prompt block may be marked cacheable used to only require that experimental betas were not disabled. It now also requires a known provider and endpoint: Bedrock, Vertex and Mantle qualify only when ANTHROPIC_BEDROCK_BASE_URL, ANTHROPIC_VERTEX_BASE_URL and ANTHROPIC_BEDROCK_MANTLE_BASE_URL are unset, and Foundry only when ANTHROPIC_FOUNDRY_BASE_URL is unset or its hostname ends in .services.ai.azure.com. Behind a proxy or custom gateway, the system block stops being cached.
- First-party and Anthropic-on-AWS paths still have to pass the existing beta and base-URL checks.
- No feature flag; the outcome is decided entirely by the provider and those environment variables, and it is live for everyone on this build.
.services.ai.azure.com
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.