HEART Embedded Systems logoHEART

HEART ai.cost-spike H-07002

AI cost spike. AI spending is rising much faster than normal.

CodeHEART ai.cost-spike; inside a message "code": "ai.cost-spike"
H-numberH-07002: area 07, code 002
Areaai: AI providers, models, budgets
Typical severitywarning. A product may set another for its own case.
Applies toProducts that use an AI model

Likely causes

How to fix or prevent it

  1. Look at which calls grew, and since when.
  2. Fix loops, and cache answers that repeat.
  3. Check that the key is not leaked; rotate it if in doubt.
  4. Set or lower the budget.

What the HEART does by itself

It raises a warning when spending rises much faster than normal. It may throttle model calls or move to a cheaper way of thinking, if a Playbook allows it. It resolves when spending is back to its normal rate.

When to call service

If the key may have leaked, or the cost cannot be explained.


Inside a message a code is written bare, "code": "storage.full". In logs, tickets, documents and searches it is written HEART storage.full. Things that simply happen, such as system.started, are event types, not faults. The codes are defined in Part 3, Section 5.4, and their H-numbers in Section 5.7. All of it, as data: fault-codes.json.

All fault codes, by area · All fault codes, by H-number · Problem types (API errors)