Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.0.25 ·

Environment Variable for Session Memory Model Selection

Entry
JSON All of v2.0.25
EntryKind: in v2.0.25,
ChangesSection of the release

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 →

Feedback