Skip to content
Documentation · Billing & usage
Docs / Billing & usage

Billing & usage

Add funds, inspect request costs and handle balance limits. Inference is prepaid and billed per request.

On this page

Add funds

Open Billing and choose card. The minimum top-up is $5.00. Check the payment details shown there before sending funds.

MethodWhat you pay
CardAdding $100 costs $105.

How requests are charged

Requests use credits first, then cash. Each completed request is metered at the model's list price. Your usage dashboard shows spend by model and key, with request history for investigating individual charges.

Purchased balance does not expire and cannot be withdrawn as money. Earned credits have their own expiry dates; see credits and expiry.

Balance and spending limits

402 insufficient_balance means the request needs more funds. Add funds before retrying. 402 spending_cap_reached means a connected app reached its cap; review that connection under API keys → Connected apps.

An account monthly limit returns 402 monthly_limit_reached before running a request that would exceed it. The same amount caps automatic card charges. It resets on UTC calendar months and includes connected apps. Review it and automatic top-up in Billing. Raising a connection's cap does not add funds to the account.

Investigate a charge

Record the model, time and x-request-id, then compare them with the usage ledger. Avoid logging keys or full prompts. For failed requests, check the error and retry guidance before submitting the same work again.