Format run spend cap: generation_spend_cap_usd max 500, zero rejected

How generation_spend_cap_usd works on a Sume Format run: the 500 ceiling, why 0 is rejected, null meaning 500, and what the receipt does and does not include.

5 min readSume
All posts

generation_spend_cap_usd limits generation spend for one Format run. The maximum is 500. Sending null means 500, and 0 is rejected. If you send nothing, the Format default applies, which is a 400 dollar cap if the Format never set one. Set it every time you call from code; the default is a ceiling, not a budget.

The LLM turn that drives the run is not part of billable_amount_usd_micros in the receipt. The receipt shows debited, held, refunded and final amounts, but GET /v1/usage?run_id= is the authoritative record.

Values and outcomes

generation_spend_cap_usd values per Sume docs (read 2026-10-03)
Value sentResult
omittedFormat default cap, 400 dollars if never set
null500
0Rejected
1 to 500Used as the cap
above 500Over the maximum

Reconcile with usage

After the run is terminal, read GET /v1/usage?run_id=<run id> and book that figure, not the receipt estimate.

Sources

Related posts

More in Formats

All Formats posts

Written by Sume