Prefunding

# Do AI agents need prepaid credits or a deposit with every API?

Updated 26 Nov 2026. Sources read 25 Nov 2026.

Usually, today, and the cash adds up fast. Count the places where money has to sit. If every buyer keeps a balance with every seller it uses, such as an API provider or marketplace, the cash locked grows with buyers times sellers. The gap is large long before the payments are.

What this lets you do: Size the cash your users and your treasury must set aside before launch.

## What each set-up asks you to fund

| Set-up | Funded in advance | Cash locked grows with |
| --- | --- | --- |
| Prepaid credits with each seller | A balance with every seller | Buyers times the sellers each one uses |
| Payment channels | A deposit in every channel | Buyers times the sellers each one uses. A hub in the middle cuts the count, and then the hub needs cash on every channel |
| One stablecoin transfer on a public blockchain per payment | Nothing | Nothing is locked. Every payment carries a chain fee instead |

## Is prefunding unusual?

No. Prepaid credits are how most API businesses bill today, and they work when a customer uses a few services. They get heavy when an agent uses many sellers a little.

## What do prepaid credits cost the buyer?

Cash parked with each seller, credits that expire, and outages when a balance runs out. OpenAI's API credits expire after a year and are non-refundable. OpenRouter charges 5.5% on each credit purchase.

## Why not pay every request on a public blockchain?

Nothing is locked that way, but every payment waits for the chain and pays its fee. For a micropayment worth a fraction of a cent, the fee can be larger than the payment.

## Questions to ask any vendor

- How many separate balances does one buyer need to pay 100 sellers?
- What does it cost to open, top up and close a balance?
- How fast does unused money come back to the buyer?

## Sources

- [OpenAI: Setting up and managing prepaid API billing](https://help.openai.com/en/articles/8264644-setting-up-and-managing-prepaid-api-billing), read 25 Nov 2026
- [OpenRouter: FAQ](https://openrouter.ai/docs/faq), read 25 Nov 2026

## Next

- Custody: [Who holds the funds in an AI agent payment system? Custody, escrow and insolvency](https://agentic.starkware.co/who-holds-the-money)
- Verification: [How do you verify batched micropayment totals without trusting the operator?](https://agentic.starkware.co/can-you-check-the-total)

---

Page: https://agentic.starkware.co/cash-locked-in-advance
Updated: 26 Nov 2026
Published by StarkWare
