Skip to content
LogoLogo

Chat

Loading diagram...

If the reservation fails because the wallet has insufficient balance, an API client receives 402 with insufficient_credits.

Failed generation voids the reservation.

API equivalents

PhaseAPIEffect
ReserveUsage reserveHold grants; status reserved
FinalizeUsage finalizeDebit actual cost; release unused hold
VoidUsage voidRestore held grants
TrackUsage trackSingle-step debit

Cost resolution

Usage cost follows the selected model's published rate and the event's token counts. When an event supplies an explicit supported cost, that value is used. A small minimum charge may apply when no catalog rate matches.

See LLM usage.

Remaining usage in the app

The app sidebar shows one billing prompt at a time. While more than half of the included credit remains, it shows the referral invite. At 50% remaining or less, or when no referral is available, it shows the plan card with a remaining-usage meter and an upgrade action.