CLAUDE_CODE_NORMALIZE_PREFIX_CACHE_VERIFY
Updated by Alex Sorokoletov
CLAUDE_CODE_NORMALIZE_PREFIX_CACHE_VERIFY is a Claude Code environment variable. Added in v2.1.319 and still present in v2.1.319. It is not in the official reference.
| Status | Present in v2.1.319 |
|---|---|
| Added | Added in v2.1.319 |
| Category | Other |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_NORMALIZE_PREFIX_CACHE_VERIFY=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_NORMALIZE_PREFIX_CACHE_VERIFY": "<value>"
}
}Related variables
CLAUDE_CODE_NORMALIZE_PREFIX_CACHE: Set to false to disable prefix-cache normalization, or true to enable it at a 0.02 share when no server-side share is set; a server-side share between 0 and 1 takes precedence.CLAUDE_CODE_FEDERATION_CACHE_DIR: Points at the directory holding the exchanged workload-identity-federation credential (default <config>/credentials/federation).CLAUDE_CODE_GROWTHBOOK_KICK_ON_WARM_CACHE: When set, triggers an early GrowthBook feature-flag fetch even when the cache is already warm.CLAUDE_CODE_MESSAGES_PROMPT_CACHE_TTL: Set to 5m to force the messages prompt cache to a five-minute lifetime.CLAUDE_CODE_PROMPT_CACHE_TTL: Sets the prompt cache TTL for the main conversation (interactive, -p, and SDK turns) to "5m" or "1h".CLAUDE_CODE_VERIFY_PROMPT: The verify flow was reworked; the standalone prompt override no longer maps to how verification runs.CLAUDE_CODE_ARTIFACT_VERIFYANTHROPIC_BETAS: Comma-separated beta feature headers.
Frequently asked questions
Which Claude Code version has CLAUDE_CODE_NORMALIZE_PREFIX_CACHE_VERIFY?
Added in v2.1.319 and still present in v2.1.319.
How do I set CLAUDE_CODE_NORMALIZE_PREFIX_CACHE_VERIFY?
Export it before starting Claude Code (export CLAUDE_CODE_NORMALIZE_PREFIX_CACHE_VERIFY=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.