Reference
Limits & quotas
Usage is limited by the key balance and request rate. Watch the remaining balance and handle limit overruns correctly.
Balance and quota
- Usage is billed for actually used tokens or completed generations — at the model rate.
- The remaining balance, request log and spending breakdown are available in the developer console.
- If the balance is insufficient, the request returns
403 insufficient_quota.
Request rate
When the rate is exceeded, the gateway returns 429 rate_limit_exceeded. Recommended:
- Limit concurrent requests per key;
- Retry after a pause with exponential backoff;
- Do not run batch load on the welcome balance — test with a single request first.