# Why is our inference bill three times the estimate? Source: https://customlabs.io/failure-modes/retry-amplified-spend/ Updated: 2026-10-19 Cost Updated October 19, 2026 · First published July 26, 2026 4 min read Answer The estimate priced the happy path: one clean call per outcome. Production reality includes retries on malformed or rate-limited calls. It includes fallbacks to a larger model when the first attempt fails. It also includes agent loops that make several calls per completed task. Every one of those multiplies calls per successful outcome without multiplying the original per-token estimate. Also known as [inference cost](https://customlabs.io/glossary/inference-cost/) overrun, hidden retry cost Symptoms ## What does this look like in production? - Actual monthly inference spend runs meaningfully above the number modeled from expected traffic times per-token price - The gap between sticker price and actual spend grows specifically on features that retry, fall back, or chain multiple calls - Nobody can currently answer "what is our cost per successful outcome" without manually reconstructing it from raw billing data - A recent quality-improving change (bigger model, more context, self-correction pass) coincided with a step change in spend that wasn't separately budgeted Root cause ## Why does it happen? A per-token cost estimate models one clean attempt at a task. Production doesn't run one clean attempt per outcome. It runs however many attempts it takes. That includes retries on rate limits or malformed responses. It includes fallback calls to a second, often pricier model when the first provider or model fails. For agentic workflows, it includes several chained calls to reach one completed task. Each of those is a real, billed call. An estimate built from tokens per request times price per token misses them. It must also count how many requests one successful outcome takes. This compounds for multi-step and agentic workloads. There, the ratio of calls to completions can be several to one even in a healthy system. It gets much worse when reliability problems elsewhere, such as an unbounded agent loop, are also in play. Detect ## How do you confirm it's this? - Measure cost per successful outcome, not cost per call. Divide total spend for a feature by the count of tasks that actually completed successfully, not the count of calls made - Track the calls-to-completions ratio over time and watch for drift, the same way you would watch an error rate - Break down spend by call type (initial attempt, retry, fallback) to see which is actually driving the gap - Compare the modeled per-token estimate against actual billing for the same period, tagged by feature Fix ## How do you fix it? - Set a budget per outcome, not per call Define an acceptable cost ceiling for one completed task, inclusive of retries and fallbacks. Alert when a feature approaches or exceeds it, as well as when total spend crosses a threshold. - Cap retries explicitly An unbounded retry policy can silently multiply cost on a persistently failing call. A fixed retry ceiling bounds the worst case. It forces a visible failure, so cost cannot spiral unseen. - Make fallback routing explicit and measured Know exactly when and how often your system falls back to a different, often pricier model or provider. Track that rate as a metric. - Alert on calls-per-outcome drift A rising ratio of calls to completed outcomes is an early warning of a reliability regression that is also a cost regression. Catch it there rather than only in the monthly invoice. Limits ## What this doesn't cover This explains cost overruns from repeated or chained calls specifically. If spend is high because the context or output size of a single call grew, retries and chaining are not the cause. The fix is closer to context and prompt budgeting than retry accounting. Check which mechanism actually drove the increase before applying either fix. ### Sources - [FinOps Foundation - FinOps Framework Overview](https://www.finops.org/framework/) The cost-management framework our cost model's phases map onto. Retrieved 2026-08-24. - [FinOps Foundation - FinOps Capabilities](https://www.finops.org/framework/capabilities/) The capability list our cost levers are checked against. Retrieved 2026-08-24. In the Handbook [06 Cost](https://customlabs.io/handbook/cost/) Prevented by [Bounded agent loop](https://customlabs.io/patterns/bounded-agent-loop/) [Model cascade](https://customlabs.io/patterns/model-cascade/) Topics [AI Cost & Efficiency](https://customlabs.io/topics/ai-cost-efficiency/) Related reading [The Agent Tool Interface](https://customlabs.io/tool-design/) [Insight: What AI actually costs](https://customlabs.io/insights/what-ai-actually-costs/) [Insight: What AI actually costs, by workload](https://customlabs.io/insights/ai-cost-benchmark-by-workload/) [AI Cost Calculator](https://customlabs.io/tools/cost-calculator/) [CostMon](https://costmon.com) Not sure if this is the one? A Ship Audit runs this full checklist against your actual system and hands back a written, prioritized plan. [Book a Ship Audit →](https://customlabs.io/diagnostic/ship-audit/)