The per-request token cap is the obvious control, and the bypass lives in the seams: batched calls that each fit the cap and together don't, long-lived sessions that amortize the spend, and retry loops that re-request the budget. The ceiling protects the request, not the account.
Ceilings at the account and session layers, not just the request layer: sliding-window cost budgets, session amortization caps, and retry-loop detection. The economics battery tests the seams specifically — batch, amortize, retry — because that is where the cap is bypassed.
The per-request token cap is the obvious control, and the bypass lives in the seams: batched calls that each fit the cap and together don't, long-lived sessions that amortize the spend, and retry loops that re-request the budget. The ceiling protects the request, not the account. Ceilings at the account and session layers, not just the request layer: sliding-window cost budgets, session amortization caps, and retry-loop detection. The economics battery tests the seams specifically — batch, amortize, retry — because that is where the cap is bypassed.
Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Delivered as the release gate — a residual-risk number with a trend line, not a PDF.
At the seams: batches that individually fit and collectively don't, session amortization, and retry loops that re-ask for budget. Put the ceiling at the account and session layer with sliding windows, and test the seam cases — those are the bypass paths.
Ceilings at the account and session layers, not just the request layer: sliding-window cost budgets, session amortization caps, and retry-loop detection. The economics battery tests the seams specifically — batch, amortize, retry — because that is where the cap is bypassed.