Billing
A prepaid balance, charged per token. There are no plans, seats or monthly fees.
How a request is charged
Each request costs its input tokens times the model's input price, plus its output tokens (the model's hidden reasoning included) times its output price. Input tokens served from the provider cache are charged at the lower cached price. Prices are per million tokens.
input 2,000 tokens x $0.15 / 1M = $0.000300
reasoning 300 tokens
output 500 tokens
800 tokens x $0.24 / 1M = $0.000192
cached 8,000 tokens x $0.0165 / 1M = $0.000132
total = $0.000624
The amount is taken from your balance when the request ends. Usage is recorded as per-request metadata: account, key, model, prompt tokens, completion tokens, cached tokens and time. The prompt and the answer are not written to our database.
Before a request runs
A request is refused with 402 before anything is sent upstream when the balance cannot cover the most it could cost. The estimate uses the input size, any hidden prompt the model adds, and a fixed allowance for the output. A key with its own cap is checked the same way, and stops at the cap even when the account balance is higher.
Balance and caps
- The account balance is shared by every key on the account.
- A key cap is optional. Setting it limits that key only.
- Revoking a key returns its unspent cap to the account balance.
- When the balance reaches zero, every key stops with
402until you top up.
Top up in Dashboard → Billing. The payment methods and limits are on Payments. For the API-side balance check, see Balance.