Developer Documentation
AI Credits provides published model capabilities through one data API. Start with the quickstart, then use the protocol migration and operations guides as needed.
Core concepts
- Credits are the platform's billing unit. Money and Credit values are decimal strings in JSON; never calculate them with binary floating-point types.
- Plan entitlements determine the available models and RPM, TPM, and concurrency limits. Treat current account entitlements and
/v1/modelsas authoritative. - Available and reserved: a request may temporarily reserve Credits, settle actual usage at completion, and release the remainder.
- Statement period: personal statements use UTC calendar months, although pages may display dates in the account timezone.