Tokens and Billing / TOKEN WIKI
Token cost calculation
In one sentence
Token cost calculation is the process of summarizing input, output and other billable items in the same currency and unit of measurement.
Why it matters
It is impossible to judge the true cost of completing a task by only looking at the unit price of input tokens per million. The basic example of
Practical considerations
is to multiply the input unit price by millions of input usage, and add the output unit price by multiplying the output unit price by millions; then add cache, tools, network and other items according to the contract. How is the fee for
FAQ
million Tokens calculated?
first distinguishes input and output, and then uses the corresponding unit price respectively. Actual expenses are based on service bills.
