Checked fact 168917 Oct 2026Agents and apps
On the Messages API the error code for the spend-cap response is enforced_spend_limit_reached.
The exact words it rests on
Rate limits page: On the Messages API, error.details.error_code is enforced_spend_limit_reached. Use it to tell this response apart from a rate limit.
What the source said when we opened it, on 17 Oct 2026.
The source
Rate limits
Checked
Checked by the notis newsroom on , against the source above.
In the story
How spend and rate limits cap what an AI agent costs 17 Oct 2026
Cite this fact
Anyone may quote this address. It does not change; if we correct the story, this page says so.