Billing

Model API supports Token packages and pay-as-you-go. Both use the same API endpoint; billing is tied to the API key you create.


Comparison

Token packagePay-as-you-go
PaymentPrepay for a token quotaDeduct from account balance after use
Best forPredictable monthly usageSpiky or exploratory usage
Key typePackage key (bound to one package)Pay-as-you-go key
LimitsPackage remaining tokens + expiryOptional daily/monthly CNY cap per key

Token package

  1. Purchase in console Package subscription (one active purchase flow at a time).
  2. Bind the package when creating an API key.
  3. Each successful call reduces remaining tokens according to usage in the API response.
  4. Check Package management and Usage stats in console.

Packages apply to models supported by that product — see console for model list and reference prices.


Pay-as-you-go

  1. Top up account balance (CNY).
  2. Create a key with pay-as-you-go billing.
  3. Usage is priced per model; charges aggregate and deduct from balance (see Balance details in console).
  4. Set daily/monthly spend cap on the key to avoid surprises (0 = no cap).

What counts as usage?

Billing is based on tokens (input + output), not “number of chats”. Token counts appear in API responses under usage.

For concepts, see Chinese doc 模型与 Token 入门 or start with Quick Start.


复制 MD