Skip to content

Harga

Pay for what you use with prepaid credits. No subscription, no seat fees, no minimum spend — every token, hold and fee is itemised in an auditable ledger.

How billing works

  1. 01

    Isi saldo prabayar

    Choose an amount and pay with Midtrans, Xendit, The payment webhook is signature-verified and processed idempotently — a browser redirect never credits your balance.

  2. 02

    Setiap request membuat hold

    Before routing, a reservation (hold) is created for the estimated cost or your key's spend limit. Insufficient credits fail fast with HTTP 402 insufficient_credits instead of running up debt.

  3. 03

    Penyelesaian sesuai pemakaian aktual

    When usage is reported, the real cost is computed from the price snapshot stored with the request, the hold is settled into a debit, and the remainder is released.

  4. 04

    Semua tercatat di ledger

    Top-ups, usage debits, reservation holds and releases, refunds, fees and manual adjustments are append-only entries. Your balance can always be reconciled from the ledger — it is never a single opaque number.

The price of a request

input_cost  = input_tokens  / 1_000_000 * input_price_per_million
output_cost = output_tokens / 1_000_000 * output_price_per_million

upstream_cost = input_cost + output_cost
platform_fee  = fee_rule(upstream_cost, plan, payment_method)
customer_cost = upstream_cost + platform_fee
  • Prices are stored in fixed-precision decimals and snapshotted per request — a catalog price change never rewrites historical costs.
  • The fee you pay is displayed before you confirm a top-up and itemised as fee entries in your transaction history.
  • Per-model prices (input/output per 1M tokens) are published in the model directory.

Top-up methods

Metode pembayaran yang didukung
MetodeKetersediaan
MidtransCards, VA, QRIS, e-wallets — production
XenditCards, VA, e-wallets — production
MockLocal development only, instant simulated webhook

Credits appear only after the payment webhook is verified and the ledger transaction is committed — not when the browser returns from the payment page.

Questions

What happens when my balance runs out?
New requests are rejected with HTTP 402 and the error code insufficient_credits. Existing in-flight requests finish normally. Top up to resume immediately — nothing is deleted.
Are model prices marked up?
Model pages publish the upstream price per million tokens exactly as configured in the catalog. Any platform fee is shown separately at top-up and recorded as fee entries in the ledger, so you can always see the split between upstream cost and platform fee.
Do failed requests cost money?
Only usage that actually occurred is charged. Reservations for requests that produce no billable usage are released. Provider retries inside the gateway are not billed twice — every attempt is logged internally, but you pay for delivered tokens.
Can I set limits?
Yes — per API key spend limits (day/week/month) are enforced at reservation time, and workspace budgets are available for teams. Admins can apply manual credit adjustments, which are always audit-logged with a reason.

Siap mengirim request pertama?

Create an account, top up any amount from $5 and issue your first key in under a minute.