Input Tokens
Content sent to the model, including user content, system instructions, chat history, file-processing results, and tool definitions.
Billing Guides
Review current models, prices, and multipliers in Model Plaza, then verify actual charges in console request records.
Open Model Plaza to filter current models by platform, group, multiplier, or model name and compare KHaiXAPI prices with official provider reference prices.
KHaiXAPI models, unit prices, pricing units, multipliers, and availability can change. Review current public pricing in Model Plaza and use the rules applicable at request time and console request records to verify actual costs.
Text generation is billed by actual usage, usually based on input and output token counts, so each request can consume a different amount. Image generation is billed by the number of images actually generated. Each image uses the unit price for the request's final 1K, 2K, or 4K resolution tier; when a request returns multiple images, the charges accumulate by the generated image count. Check Model Plaza and request records for the applicable rules.
Use the “KHaiXAPI price” in Model Plaza to understand current pricing. The “official reference price” compares public provider pricing and is not the KHaiXAPI settlement price. Multipliers and peak rules may affect actual costs, which should be verified in request records.
A token is a unit a model uses to process text. It is not equivalent to a fixed number of Chinese characters, words, or characters. Language, punctuation, numbers, code, spaces, and the model's tokenization all affect the result, so there is no permanently accurate conversion table for “one token equals this many Chinese characters.”
In an AI application, input usage usually includes more than the final sentence visible in the input box. The application may also send system instructions, role settings, chat history, file contents, tool definitions, and other context, all of which affect input tokens.
Content sent to the model, including user content, system instructions, chat history, file-processing results, and tool definitions.
Text, code, or structured results actually generated by the model. Longer answers usually use more output tokens.
Some models distinguish cache reads, cache writes, or reasoning-related usage. Whether these are billed separately depends on the model's rules.
Images, audio, video, files, web access, or tool calls may use different measurement methods and cannot be calculated directly with the text formula.
A multiplier usually represents the conversion between a base cost and the actual settlement cost. For example, 0.8x means settlement at 80% of the base cost, while 1.2x means settlement at 120% of the base cost. Check how the “base cost” is defined and whether the displayed price already includes the multiplier in Model Plaza.
| Model Plaza Item | How to Use It | Important Note |
|---|---|---|
| KHaiXAPI input and output prices | Use with actual token usage to understand current cost | Still check peak rules and request records |
| Official reference price and current multiplier | Compare official pricing with KHaiXAPI pricing | The official reference is not the settlement price |
This USD value is account credit used by the platform to bill model requests. It is not a live foreign-exchange rate, nor is it US currency that can be withdrawn or transferred. Balance deductions are still settled according to the model, token usage, group multiplier, and other actual billing items.
When recharging, select Alipay and enter the amount in CNY. After payment, usage credit is added at the conversion rate shown above.
The same final question visible to the user does not mean the complete request sent to the model is identical. The following factors most commonly cause differences.
Ongoing conversations may repeatedly send earlier content, causing input tokens to increase with each turn.
Different applications add system prompts, role settings, knowledge-base excerpts, or tool descriptions.
Models have different unit prices, and the length of generated content will not be exactly the same.
Network interruptions, automatic application retries, or multiple simultaneous requests may create several request records.
Review the model, token usage, multiplier, and request status in the console. A separate API key for each application makes the source easier to identify.
First pause any application or related API key that may continue sending requests. Then record the request time, model, status, token usage, and cost. Failed, timed-out, or automatically retried requests may produce different records; use the status and usage shown in the console.
If you cannot confirm the cause, prepare the request details and for investigation. For specific billing boundaries, also review the Terms of Service and Service-Specific Terms.
A multiplier describes how a model base price relates to the KHaiXAPI price. Model Plaza shows the KHaiXAPI price, official reference price, and current multiplier; the official reference is not the settlement price, and actual charges are recorded in the console.
Text requests usually calculate input and output costs separately: divide input tokens by the pricing unit and multiply by the input price, then divide output tokens by the pricing unit and multiply by the output price. Apply multipliers or other billing items according to the actual rules.
There is no fixed conversion. Token counts depend on language, punctuation, numbers, code, tokenization, and model implementation. Refer to the actual request record.
An application may also send system instructions, chat history, file contents, or tool definitions. Output length, retry count, and the model actually used may also differ, so the same visible question does not imply identical request usage.
Failed, timed-out, or automatically retried requests may produce different records. Check request status and usage in the console, and with the request details if anything is unclear.
Recharging CNY 1 provides USD 1 in usage credit, with Alipay supported for payment. This USD value is account credit used to bill model requests, not foreign-currency exchange or withdrawable US dollars.