API spend limit: can you set a monthly budget on Sume?
Sume's docs describe no monthly spend limit. The controls they do describe are the wallet balance, a per-run spend cap, and plan concurrency.

No: the Sume docs describe no monthly or account-wide spend limit setting. The limits they describe work at other levels: the workspace's spendable balance, a spend cap on each run, and plan-based concurrency. A monthly budget is something you enforce in your own code by reading usage and balance.
This comes from Format API errors, Create a Format run, Agent Completions and Generation admission, read 2026-09-29.
Which spend controls does Sume document?
Four, and they bound different things. None of them is a calendar-month ceiling.
| Control | What it bounds | When it bites |
|---|---|---|
| Wallet balance | Spendable USD balance of the key's workspace | A submit fails with 402 insufficient_credits before provider work starts |
| Per-run spend cap | One Format, Action or Agent run | During the run; a Format run that hits it ends failed |
| Generation concurrency | Paid jobs in processing at once | Extra valid jobs wait as queued |
| Queue capacity | Accepted jobs not yet processing | New paid submits fail with 429 queue_full |
How does a per-run spend cap work?
On a Format run, generation_spend_cap_usd names that run's ceiling, up to the $500 platform maximum. Send nothing and the run inherits the Format's cap; send null and it takes the $500 maximum. 0 or a value above 500 is a 400.
On an Agent Completion the cap is required. It has no default, and omitting it returns 400 invalid_request. The docs call the cap the substitute for the interactive spend-approval prompt that a backend caller does not get. The best-practices page says to treat a missing cap as a client bug. For the cap mechanics, see the spend-cap post.
How do I enforce a monthly budget myself?
Read GET /v1/balance before you submit a batch, and stop when the balance is under your floor. The response is USD-denominated, and available_amount_usd_cents is the spendable amount. For actual spend, add up the debited_usd of the runs you started, or read the usage ledger as in the per-run cost post.
BAL=$(curl -sS https://api.sume.com/v1/balance \
-H "Authorization: Bearer $SUME_API_KEY" \
| jq -r '.data.balance.available_amount_usd_cents')
if [ "$BAL" -lt 5000 ]; then
echo "balance low: $BAL cents" >&2
exit 1
fiDoes topping up the wallet raise other limits?
No. Generation concurrency is plan-only, and prepaid top-ups do not raise it. Top-ups are dashboard operations: the public API has balance and usage reads, not a top-up call. A manual top-up is Stripe-backed, and the usage ledger can show it afterwards.
What does the wallet alone not do?
It stops a submit only when the estimated cost cannot be reserved. It does not stop a single run from using a large share of a balance, which is why the per-run cap exists. It also does not warn you as it drains; the pages checked describe no low-balance alert, so poll the balance yourself.
Sources
Related posts
More in Pricing
- Argil pricing: plans, API credits per minute, and the API
Argil sells plans by monthly credits, and its API spends them: 160 credits per minute of video plus 20 per minute of voice. Plans, credit rules, API calls.
- Seedance 2.0 API price: which is lowest, by resolution
The lowest-priced Seedance 2.0 API depends on resolution: at list prices for a 5-second clip, fal is lowest at 720p and Runway at 1080p. Dated table.
- Cost to make an audiobook with AI narration
The cost to make an audiobook with AI is the book's characters times the TTS rate, plus small joining jobs. Worked budgets by manuscript size.
- Do API keys cost money? The key is free, the calls are not
An API key is a credential; the calls it makes are what cost money. On Sume, you create keys in the dashboard, and each billed call draws on your balance.
Written by Sume