Enter Token
Prompts sent to the model, system prompts, and conversation history are billed at the per-input rate.
Billing Rules
There are no tiered pricing plans to pore over, nor are there any hidden surcharges buried in the fine print. Billing is based on just two factors: how many tokens this request used, and the unit price at the time of usage.
Within the same request, input, cache hits, output, and inference tokens are metered and billed separately. The billing details can be reconciled item by item, and different unit prices are not combined into a single total.
Prompts sent to the model, system prompts, and conversation history are billed at the per-input rate.
For input portions that hit the prompt cache, billing is based on the lower cache hit rate.
Model-generated responses are billed based on the unit price per output, with the same pricing structure applied to both streaming and non-streaming formats.
Thought tokens generated by inference-based models are billed separately at the per-inference rate and are not included in the output price.
Prices are uniformly listed in USD per 1 million tokens. The backend records transactions as integers in micro-USD (1 USD = 1,000,000 micro-USD), which are converted to decimal USD values only when displayed on the page—ensuring that invoices do not accumulate discrepancies due to floating-point errors.
The total cost for this request is calculated by multiplying the usage of each token type by the unit price recorded for that request and then summing the results. The unit price is taken from the price list, and the usage is based on the gateway’s actual statistics; neither is estimated by the front end.
Cost = Input Tokens × Input Unit Price + Cache Hit Tokens × Cache Unit Price + Output Tokens × Output Unit Price + Inference Tokens × Inference Unit Price
The unit of price is USD per 1 million tokens; calculations are performed using integer micro-USD values, which are converted to decimal USD values only when displayed.
Live Example · The model with the lowest input price in the current directory
GPT-5.6 Luna Input 0.012 USD/1M × 1M + Output 0.072 USD/1M × 1M = 0.084 USD
This is a hypothetical request involving “1 million tokens each for input and output,” used to demonstrate the conversion method; actual billing is calculated based on the actual number of tokens per request.
These rules apply equally to both console billing and usage data returned by the API; there is no difference between what is displayed on the page and what is shown in the backend.
Each request is billed based on actual token usage: input, cache hits, output, and inference are metered separately. There are no monthly fees, no minimum spending requirements, and no idle fees.
Your prepaid balance will not be reset to zero, will not expire on a monthly basis, and will not expire due to prolonged inactivity; every deduction is recorded in the ledger and can be verified line by line in the console billing section.
When usage occurs, enter the current sales price in the corresponding usage record. Subsequent price changes will only affect new requests; invoices that have already been generated will always be calculated based on the price in effect at the time they were issued.
Requests that do not generate upstream output—such as those resulting in parameter errors (400), authentication failures (401), insufficient balance (402), unauthorized access (403), or rate limiting (429)—are not charged.
SSE has begun to trigger upstream interruptions after output; it charges only for the input/output tokens that are actually generated and returns an `upstream_stream_error`, ensuring there is no double billing.
We accept WeChat Pay, Alipay, UnionPay credit cards, and corporate bank transfers. After making a purchase, you can request an invoice yourself on the Finance page of the control panel; contracts and corporate banking procedures are handled through our corporate partnership.
Use the same set of answers as the solution selection page to avoid inconsistencies between the two. Write the answers directly in the HTML so they can be read even without executing JavaScript.
Pure Pay-as-You-Go: Billed based on the actual number of tokens used per request, with no monthly fees, no mandatory subscriptions, and no minimum spending requirement. Pricing is in U.S. dollars per million tokens, and invoices are itemized by individual request.
No. The balance you top up remains valid indefinitely; it is not reset monthly, nor does it expire due to prolonged inactivity.
Input tokens are billed at the input unit price, and output tokens are billed at the output unit price; input tokens that hit the prompt cache are billed at the lower cache-hit unit price. These three items are listed separately in the billing details for the same request.
We accept WeChat Pay, Alipay, UnionPay credit cards, and corporate bank transfers. After making a purchase, you can request an invoice yourself on the Finance page of the control panel.
We may adjust our prices in tandem with changes made by upstream vendors, and will announce such changes in advance via the console and in the release notes. Usage that has already occurred will be billed based on the price snapshot at that time, and historical invoices will not be altered due to price changes.
No. Requests that do not generate upstream output—such as those resulting in parameter errors (400), authentication failures (401), insufficient balance (402), or rate limiting (429)—are not billed; however, the portion of the output already generated in the streaming response will be billed accordingly.
Low-traffic projects start directly with the trial plan, and top-up amounts are valid indefinitely; corporate contracts, invoices, and dedicated channels are handled through corporate partnerships.