Billing Your Customers

Two balances matter: your credit with us, and each customer's balance with you.

Your credit

Every request is charged at our public price from your normal Qubax credit. If it reaches $0, all your customers get an error (HTTP 503) until you top up. We email you when it drops below $10.

Customer plans

Prepaid balance (default)

Your customer pays you first. You add the amount to their balance (dashboard or API). Each request takes your price from it. At $0 their requests stop with HTTP 402.

Spend limit

Your customer uses the API and you invoice them later. Requests stop when they reach the limit (per month, or in total). Download the CSV to create invoices.

๐Ÿ’ก
Using the API, add balance right after your checkout succeeds and send your payment ID as Idempotency-Key. Retries never add it twice.

Your price

Customer price = our price ร— (1 + your margin). The default margin is 10%. You can change it for all models or per model; changes apply within seconds. The price is saved with every request, so past usage never changes.

Usage and invoices

In Resell โ†’ Usage you see requests, what customers were charged, what you paid, and your profit โ€” per customer, model or day. Download CSV gives one line per customer, model and day with the amount to invoice.

Alerts

  • Email to you: your credit is low / empty.
  • Webhooks to your server: customer balance low or empty, spend limit reached, your credit low or empty, domain live or broken.
  • We never email your customers.
Billing Your Customers โ€” Resellers ยท Qubax AI