Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.25 Home All releases olderv2.0.24 v2.0.26newer
Claude Code v2.0.25

Environment Variable for Session Memory Model Selection

What: Control which AI model handles session memory updates via environment variable How to use:

# Use Haiku for faster, more cost-effective session memory updates
export USE_HAIKU_SESSION_MEMORY=1
claude chat

# Default behavior (Sonnet) - no environment variable needed
claude chat

Details:

  • Defaults to Sonnet for highest quality session memory extraction
  • Set USE_HAIKU_SESSION_MEMORY=1 to use Haiku for faster, cheaper updates
  • Useful for rapid iteration or cost-conscious workflows
  • Evidence: Gu8() function at line 467294 in v2.0.25 uses conditional model selection vs inline object at line 467224 in v2.0.24

See this entry in the whole of v2.0.25 →