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 package | Pay-as-you-go | |
|---|---|---|
| Payment | Prepay for a token quota | Deduct from account balance after use |
| Best for | Predictable monthly usage | Spiky or exploratory usage |
| Key type | Package key (bound to one package) | Pay-as-you-go key |
| Limits | Package remaining tokens + expiry | Optional daily/monthly CNY cap per key |
Token package
- Purchase in console Package subscription (one active purchase flow at a time).
- Bind the package when creating an API key.
- Each successful call reduces remaining tokens according to
usagein the API response. - 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
- Top up account balance (CNY).
- Create a key with pay-as-you-go billing.
- Usage is priced per model; charges aggregate and deduct from balance (see Balance details in console).
- 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.
Related
- Quick Start
- FAQ
- Account top-up & invoices (Chinese): /operating2/billing.html
