Skip to main content
Credits are prepaid funds in your Saturn account. The ledger is the immutable record of all credit movements—deposits, deductions, and refunds. Credits are denominated in USD cents internally. You add credits via card payment or Lightning. Agents spend credits per-call.

Why Prepaid

Prepaid credits create a hard ceiling. You cannot spend money you haven’t deposited. This is fundamentally different from post-pay models where the bill arrives after damage is done. The ledger provides:
  • Complete audit trail
  • Per-agent attribution
  • Reconciliation data
  • Refund tracking

Enforcement Behavior

Before every upstream call:
  1. Saturn quotes the expected cost
  2. Credits are checked against the quote
  3. If insufficient credits → call rejected with CREDIT_EXHAUSTED
  4. If sufficient → credits held, call executed, credits settled
Settlement is atomic. If the upstream call fails, held credits are released.

Adding Credits

Checking Balance

Transaction History

Receipt Data

Every successful call returns metadata with cost information:

Common Mistakes

Balance vs Budget

Credits and budgets are different concepts.
  • Credits = How much money is in your account
  • Budget (caps) = How much an agent is allowed to spend
An agent with 100increditsbuta100 in credits but a 5/day cap cannot spend more than $5/day.

Example