Choose what pays for a call
Your balance pays for calls; holds reserve the most a call can cost and release the rest.
Top up a balance
- ScreenConsole › Balance
- ActionTop up
- ResultUSDC or SOL
Tap Top upChoose USDC or SOL and an amount
Example dataTop ups are $5 to $100,000 in USDC or SOL. SOL is valued at the SOL price when you start and again when the chain confirms. A QR code (Solana Pay) works for mobile wallets. There is no withdrawal.
Holds protect both sides
- ScreenCall starts
- ActionHold reserved
- ResultExact charge, rest released
Watch the held amountHolds cover calls in flight, then release
Example dataBefore a call the gateway reserves an estimate: input tokens plus up to 4,096 output tokens, with fee and markup. After the call it charges the exact usage and releases the rest. If the model fails before the first token, the whole hold is released.
Pick the funding mode
- ScreenFunding chip
- ActionChoose a mode
- ResultNext call uses it
Choose BalanceThe next call is paid from balance
Example dataEach call uses one source. The mode comes from the x-ec-funding header or the key default.
| Mode | Behaviour |
|---|---|
allowance_then_balance | Allowance if it covers the hold, otherwise balance (key default) |
balance | Balance only; 402 insufficient_funds when it cannot cover the hold |
allowance | Allowance only; 402 when it cannot cover the hold |
In the product: Open Balance