Billing
Pay-as-you-go rules, balance pre-checks, top-up methods, and the billing ledger.
Billing rules
The platform bills by actual usage in yuan per million tokens, with input and output priced separately:
- Each model's pricing is publicly available on its detail page in Models.
- Formula: cost = input tokens × input price / 1,000,000 + output tokens × output price / 1,000,000.
- Token counts follow the
usagereturned by the model provider; streaming calls are settled by their final usage as well.
Balance pre-checks
Before each call the system checks the account balance and the key chain quotas:
- If the balance is insufficient or any level of the key chain exceeds its quota, the call returns
402 Payment Required. - Top up promptly on the top-up page to avoid service interruption.
Top-ups
Go to the top-up page, choose an amount, and place your order. The balance is credited in real time after payment succeeds. Top-up records and credit status are available in your order history.
Billing ledger
The billing ledger page records every balance change on the account:
- Top-up: Credit after an order is paid.
- Credit: Platform subsidies such as sign-up bonuses.
- Consumption: Charges for each model call, including the key used and the cost.
Each entry records a balance snapshot after the change, making entry-by-entry reconciliation easy.
Invoices
Invoicing is coming soon. Once available, you'll be able to request invoices by order in the Console.