Billing, balance and rate limits
How requests are charged from your prepaid balance, how to read your balance through the API, and which request limits apply per key and per account.
Billing
Each request reserves its maximum possible cost (prompt size plus max_tokens) and is then charged for the tokens actually used. Set max_tokens to avoid 402 errors when your balance is low. Requests that fail before the first token are not charged. Images are charged per image produced; videos per video token (see Video). Every charge is listed under Billing records on the Billing page.
Rate limits
Limits apply per key (requests per minute) and per account (concurrent requests). Some models also have their own limit per account.
GET /balance returns what the key can still spend: balance_usd, credit_limit_usd and key_daily_cap_usd (null when the key has no daily cap).
curl https://api.apistore.cloud/v1/balance -H "Authorization: Bearer sk-..."
{
"object": "balance",
"account": "Acme",
"balance_usd": 42.5,
"credit_limit_usd": 0,
"key_daily_cap_usd": null
}