Skip to contentSkip to content

Developer Documentation ​

AI Credits connects DeepSeek, Kimi, MiniMax and Zhipu GLM, alongside OpenAI, Claude, Gemini and Grok, through one data API. Read the Chinese model guide for protocol differences, discovery, reasoning and tools, or start with the quickstart.

Official SDK 0.3.0 adds public capability discovery to TypeScript, Swift and Kotlin. DeepSeek, Kimi and MiniMax have Chat / Messages / Responses compatibility paths. GLM has Chat / Messages; Responses is not implemented. Actual access depends on the catalog and entitlements.

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/models as 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.

Contents ​