Sardine named a Leader in The Forrester Wave™: Financial Crime Management Solutions, Q3 2026

Learn More
token4 min read

What is Runaway inference spend?

Subscribe to newsletter

Runaway inference spend is unexpected, fast-growing AI compute cost caused by loops, retries, bursts, or abuse. It can come from a bug, an agent, or an attacker, and the first sign is often the bill.

What is runaway inference spend?

Inference is the work a model does when you send it a prompt. Each call costs money, and the cost depends on how much text goes in and out and which model is used. Runaway inference spend is what happens when that cost shoots up far beyond what anyone planned.

The causes split into two groups. Some are accidents: an agent stuck in a loop, a retry setting that multiplies requests, a test script left running, or a change that moves traffic to a pricier model. Others are abuse: a stolen key, a relay using your account, or a farm burning free credits.

From the billing screen, both look the same. That is why the first job is to separate waste from fraud, since the fixes differ. Waste needs engineering changes. Fraud needs account, key, and identity controls.

Common causes

Cause

Type

What it looks like

Agent loop

Accident

A task repeats with growing context and cost.

Retry storm

Accident

Failures trigger repeated requests that multiply load.

Model tier shift

Accident or abuse

Traffic moves to a more expensive model.

Stolen or leaked key

Abuse

New callers drive usage behind a valid credential.

Farmed or resold access

Abuse

Many accounts consuming credits with no payment.

Who is affected?

Who

Impact

Product and platform teams

Face surprise bills and degraded service from exhausted limits.

FinOps and finance

Must explain variance and set forecasts for unpredictable cost.

Security and fraud teams

Need to tell abuse from error quickly.

Customers

May hit caps or see throttling when shared limits run out.

What it looks like in practice

A team's costs double over a weekend with no new customers. Investigation shows a batch of requests where each failure triggered three retries, and each retry carried the full conversation history.

In another case, costs rise just as sharply, but the traffic comes from places the team has never served. A leaked key is being used by an outside relay. The bills look identical, and only the traffic pattern tells them apart.

Why it matters to operators

Inference cost scales with usage, and usage can scale in seconds. Without limits, a small mistake or a single stolen key can create a large bill within hours. Traditional billing checks that run monthly will not catch it.

The controls are the same as for any metered resource: budgets, spend alerts, per-key limits, and anomaly detection on usage patterns. Add an investigation step that asks one question early: is this our own traffic, or someone else's?

What to watch for

  • Cost growth without user growth. Spend rising while customers and legitimate traffic stay flat.
  • Model mix changes. Sudden shifts to expensive models.
  • Token bursts. Very large requests or rapid growth in context length.
  • High concurrency. Parallel request levels beyond normal use.
  • New origins. Traffic from networks or regions new to the account.

Quick questions

Is runaway spend always fraud?

No. Many cases are engineering mistakes. The first step is to determine which it is.

What is retry amplification?

When failed calls are retried automatically in ways that multiply total load and cost.

What are the basic safeguards?

Spend limits, alerts, per-key budgets, and rate limits tied to each customer or project.

How quickly should alerts fire?

As fast as spend can grow. Daily review is too slow for usage that can multiply in an hour.

Who should own the response?

A shared owner across engineering, finance, and fraud works best, with a clear path for each cause.

How do you stop abuse without breaking real use?

Use limits that grow with trust, and review high usage in context before blocking.

What to know alongside Runaway inference spend

Report

2026 Fraud and AML Report

Real fraud and AML threats, and how to respond.

Download report