Skip to content
Search documentation titles, headings, and guides
API v1Updated 2026-11-22

Billing & Plans

How inference requests are funded, how you pay with QRIS or crypto, and the difference between Token Plans and PAYG.

Every inference request is paid for from prepaid credit you load onto your account. There are two funding sources, and zrouter spends them in a fixed order on every request.

How your requests are funded#

  1. Token Plan first. If you hold an active Token Plan with remaining tokens for the requested model, those tokens are consumed first.
  2. PAYG fallback. Any portion a Token Plan cannot cover is debited from your shared PAYG balance, priced at that model's PAYG rate. Rates are set per model — up to 90% below the official list price — and each one is listed on the pricing page.
  3. Insufficient funds. If neither source can cover the request, the gateway rejects it with 402 insufficient_balance before any inference runs. See Your balance never goes below zero.

You are charged after inference succeeds#

Funding is checked up front (admission), but the actual debit happens only after the upstream response settles successfully. A request that fails upstream is never billed. When a request draws from both a Token Plan and PAYG, the cost is split proportionally between them using integer arithmetic — there is no floating-point rounding.

Each request is priced by token type at the model's published rates: fresh input, output, cache reads, and cache writes (including 1-hour writes where the model distinguishes them). These rates are per model and listed on the model's page and in the pricing table; where a model has no dedicated cache rate, cache reads are billed at one tenth of its input rate and cache writes at its input rate. The charge is the exact sum of the parts, rounded up once per request to the next micro-dollar; the cost breakdown in your usage history shows every line.

Your balance never goes below zero#

Before a request runs, the gateway reserves its estimated cost: the input size at the full input price plus the output you allow. The output you allow is your max_tokens (max_completion_tokens on chat completions, max_output_tokens on Responses); when you send none, a typical output length is assumed. Reservations of requests that are still running count against your balance, so parallel requests can never spend the same dollar twice. Your request is never changed: max_tokens is not filled in or lowered, and the answer is never cut short.

  • Not enough for the estimate: the request is refused with 402 insufficient_balance and a message with the estimated cost, your available balance and, when a lower limit would fit, the largest max_tokens you can set.
  • How to avoid it: set max_tokens to what you really need, or top up. Funds reserved by running requests are released when they finish.
  • After the answer: you are charged the real cost, never more than your balance. If a very long answer cost more than you had, the difference is on us — it is not charged and your balance stays at zero, never negative.

How you pay#

Payment methods for topping up or buying a plan
MethodCurrencyDetails
QRIS (tako.id)IDRYou pay the product amount plus a 5% processing fee, shown clearly before checkout. Orders expire after 15 minutes, and confirmation is fail-closed — only a confirmed success credits your account.
QRIS — SumoPodIDRZero processing fee — you pay exactly the order amount. Orders expire after 1 hour, and the minimum top-up is Rp10.000.
Crypto — USDC & USDT (Solana)USDCredited 1:1 to your PAYG balance for the amount actually received on-chain. Minimum top-up $2; an underpayment within 0.5% of the expected amount is accepted and credited for its received value (anything beyond that goes to manual review), and each account gets a dedicated deposit address. Funds are credited once the transfer is finalized — usually within tens of seconds.
Crypto — USDT & USDC (BEP20 · BNB Smart Chain)USDBinance-Peg (bridged) USDT or USDC, both counted 1:1; minimum checkout $2. Token Plan paid ≥100%: full plan, any extra goes to your PAYG balance. 50% to under 100%: plan granted proportionally. Under 50%, PAYG top-ups, or no matching invoice: the amount received goes to your PAYG balance. Up to 24 hours late: you still get the plan. Amounts under $1 are handled manually by support.

Token Plan vs PAYG#

How the two funding sources compare
Token PlanPAYG
ScopePer-model. A plan grants a fixed token allowance for one specific model.Shared. One balance funds every model on the account.
PricingPrepaid tiers sold per model. Current tiers are listed on the pricing page.Pay-as-you-go at a per-model rate per 1M tokens, shown next to the official list price on the pricing page.
Used whenYou run one model heavily and want a predictable, model-specific allowance.You use many models sporadically or want a single flexible balance.

There is no subscription and no auto-renewal. A Token Plan simply adds model-scoped token allowance to your account, and PAYG credit is a shared spendable balance. Both are consumed automatically in the order described above.