
A model switch re-reads your whole session uncached. Put a price on it with a PreModelSwitch hook
Claude Code now tells hooks what a /model switch will cost before it happens. A 40-line script turns that into a confirmation, a hard refusal for unattended sessions and a ledger.
8 min read

