You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
A gateway is a server an organization can place between Claude Code and the model to control access and spending. The guidance for gateway authors that ships with Claude Code now explains how to mark a reached spending cap:
Send "details":{"error_code":"spend_limit_reached"} only when the user's own cap is reached.
Leave details off when the limit check fails closed because the gateway could not fetch the limit.
Leave details off for a shared group pool limit.
Why
This tells people who build gateways how to signal which kind of cap was hit.