How is Qwen API pricing calculated?
Qwen API pricing starts with the model ID and deployment scope, then separates input and output tokens. Alibaba Cloud Model Studio’s pricing page says the applicable row can also depend on the total input tokens in one request, whether the model supports batch calls, and whether context caching is available. A workload forecast that contains only a monthly token total is missing the fields that select the billing rule.
Source: Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16
| Pricing input | What the provider documents | Operator consequence |
|---|---|---|
| Model and scope | Billing rows are organized by model ID and deployment scope.Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16 | Record the exact model string and region before comparing quotes.Alibaba Cloud Model Studio overview · verified 2026-08-16 |
| Token mix | Input and output tokens are billed separately.Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16 | Forecast prompt, cached, reasoning, and answer tokens as separate classes.Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16 |
| Request size | For tiered models, the total input tokens in one request select the tier and all input tokens use that tier.Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16 | A long prompt can move the whole request into another tier even when output is unchanged.Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16 |
| Deferred or repeated work | Eligible batch calls use a lower input and output treatment than real-time inference; cache treatment applies to input and the two discounts cannot combine.Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16 | Classify interactive, batchable, and cacheable traffic before applying a forecast rule.Alibaba Cloud Model Studio context cache · verified 2026-08-16 |
The operator judgment is to preserve this table beside the quote request rather than copy a headline rate into a spreadsheet. The most important distinction is structural: one request can be classified by its full input length, while a monthly average hides the long-context tail that actually selects the tier. The provider record was captured on 2026-08-16; recheck it whenever the model, scope, or workload changes.
Source: Alibaba Cloud Model Studio model inference pricing · verified 2026-08-16