فارسی Docs Read this first

Cost and usage

How the cost of each request is counted in tokens, and where to see your usage.

Each request is counted on the tokens it actually used, and deducted from your account's balance. If you send nothing, nothing is deducted.

How your balance goes down

Cost is calculated per token, not per number of requests. Each request has two numbers:

One important point that explains most users' costs: in a multi-turn conversation, the entire history is sent again each time. That is why the tenth message costs more than the first, even if it is shorter.

Prices are shown per one million tokens. As a rule of thumb, a typical message is about a thousand tokens, that is, about one-thousandth of the figure you see in the list.

Price of each model

The live price of every model is in Model Square. The figure you see there is exactly what a request is charged.

We deliberately do not include a price table in this documentation: prices are updated regularly, and a fixed table in the text would be wrong within a day.

Where to see your usage

In the Console:

If a figure looks wrong to you, that request's row in Usage Logs shows the full breakdown.

When the balance runs out

If your balance runs out, requests return an error, and its message may be in English or Chinese. It means exactly that: your balance is insufficient. See Errors and limits for details.

A few tips to reduce costs