Qwen API pricing: every model, every rate
Qwen is the largest non-US model family by parameter spread, from 0.6B up to Max tiers. Below is every billable variant.
qwen3.8-max. Rates checked 2026-11-02.Full rate card
90 billable models in total, 47 of them text models. On those text models: 0 of 47 carry a rate verified against Alibaba's own published pricing, the remaining 47 are gateway rates only. USD per 1M tokens, checked 2026-11-02.
| Model | Input | Output | Out/In | Official (in / out) |
|---|---|---|---|---|
qwen2.5-32b | $10 | $30 | 3.0× | not verified |
qwen2.5-vl-72b-instruct | $8 | $24 | 3.0× | not verified |
qwen2.5-vl-32b-instruct | $4 | $12 | 3.0× | not verified |
qwen3-coder | $3 | $12 | 4.0× | not verified |
qwen2-vl-72b-instruct | $2.25 | $2.25 | 1.0× | not verified |
qwen2.5-72b-instruct | $2 | $6 | 3.0× | not verified |
qwen2.5-math-72b-instruct | $2 | $6 | 3.0× | not verified |
qwen3-235b-a22b-think | $1.5 | $6 | 4.0× | not verified |
qwen3.7-max | $1.25 | $3.75 | 3.0× | not verified |
qwen3.5-omni-flash | $1.1 | $6.65 | 6.0× | not verified |
qwen-72b | $1 | $1 | 1.0× | not verified |
qwen2.5-32b-instruct | $1 | $3 | 3.0× | not verified |
qwen2.5-coder-14b-instruct | $1 | $3 | 3.0× | not verified |
qwen2.5-coder-32b-instruct | $1 | $3 | 3.0× | not verified |
qwen2.5-vl-7b-instruct | $1 | $2.5 | 2.5× | not verified |
qwen3-vl-235b-a22b | $1 | $4 | 4.0× | not verified |
qwen3.8-max | $1 | $3 | 3.0× | not verified |
qwen3.8-max-0902 | $1 | $3 | 3.0× | not verified |
qwen-mt-plus | $0.9 | $2.7 | 3.0× | not verified |
qwen-max | $0.8 | $3.2 | 4.0× | not verified |
qwen-omni-turbo | $0.8 | $2.2504 | 2.8× | not verified |
qwen-vl-plus | $0.75 | $2.25 | 3.0× | not verified |
qwen3-coder-480b-a35b-instruct | $0.75 | $3.75 | 5.0× | not verified |
qwen3.6-max-preview | $0.65 | $3.9 | 6.0× | not verified |
qwen2.5-vl-3b-instruct | $0.6 | $1.8 | 3.0× | not verified |
qwen3-max | $0.6 | $3 | 5.0× | not verified |
qwen3-max-preview | $0.6 | $3 | 5.0× | not verified |
qwen2.5-14b-instruct | $0.5 | $1.5 | 3.0× | not verified |
qwen2.5-14b-instruct-1m | $0.5 | $1.5 | 3.0× | not verified |
qwen2.5-coder-7b-instruct | $0.5 | $1 | 2.0× | not verified |
qwen2.5-math-7b-instruct | $0.5 | $1 | 2.0× | not verified |
qwen3-coder-plus | $0.5 | $2.5 | 5.0× | not verified |
qwen3-next-80b-a3b | $0.5 | $2 | 4.0× | not verified |
qwen-plus-busikao | $0.4 | $1 | 2.5× | not verified |
qwen-vl-max | $0.4 | $1.6 | 4.0× | not verified |
qwen-mt-turbo | $0.35 | $0.9765 | 2.8× | not verified |
qwen3-235b-a22b | $0.35 | $1.4 | 4.0× | not verified |
qwen3.5-397b-a17b | $0.3 | $1.8 | 6.0× | not verified |
qwen3.6-27b | $0.3 | $1.8 | 6.0× | not verified |
Qwen/Qwen3-Reranker-8B | $0.28 | — | not verified | |
qwen-plus-character | $0.25 | $0.7 | 2.8× | not verified |
qwen2-vl-7b-instruct | $0.25 | $0.25 | 1.0× | not verified |
qwen2.5-7b-instruct | $0.25 | $0.5 | 2.0× | not verified |
qwen2.5-7b-instruct-1m | $0.25 | $0.5 | 2.0× | not verified |
qwen3.6-plus | $0.25 | $1.5 | 6.0× | not verified |
qwen3.8-27b | $0.25 | $1.5 | 6.0× | not verified |
qwen3-coder-30b-a3b-instruct | $0.225 | $1.125 | 5.0× | not verified |
qwen-plus | $0.2 | $0.6 | 3.0× | not verified |
qwen3-vl-235b-a22b-instruct | $0.2 | $0.8 | 4.0× | not verified |
qwen3-vl-235b-a22b-thinking | $0.2 | $2 | 10.0× | not verified |
qwen3.5-122b-a10b | $0.2 | $1.6 | 8.0× | not verified |
qwen3.5-plus | $0.2 | $1.2 | 6.0× | not verified |
qwen3.7-plus | $0.2 | $0.8 | 4.0× | not verified |
qwen3.6-35b-a3b | $0.1875 | $1.125 | 6.0× | not verified |
qwen3-14b | $0.175 | $0.7 | 4.0× | not verified |
qwen2.5-3b-instruct | $0.15 | $0.45 | 3.0× | not verified |
qwen3-0.6b | $0.15 | $0.6 | 4.0× | not verified |
qwen3-1.7b | $0.15 | $0.6 | 4.0× | not verified |
qwen3-4b | $0.15 | $0.6 | 4.0× | not verified |
qwen3-coder-flash | $0.15 | $0.75 | 5.0× | not verified |
qwen3.5-27b | $0.15 | $1.2 | 8.0× | not verified |
Qwen/Qwen3-Reranker-4B | $0.14 | — | not verified | |
qwen3.5-35b-a3b | $0.125 | $1 | 8.0× | not verified |
qwen3-235b-a22b-instruct-2507 | $0.115 | $0.46 | 4.0× | not verified |
qwen3-235b-a22b-thinking-2507 | $0.115 | $1.15 | 10.0× | not verified |
qwen3.8-omni-flash-realtime | $0.115 | $0.35 | 3.0× | not verified |
qwen3-30b-a3b | $0.1 | $0.4 | 4.0× | not verified |
qwen3-30b-a3b-instruct-2507 | $0.1 | $0.4 | 4.0× | not verified |
qwen3-30b-a3b-think | $0.1 | $1.2 | 12.0× | not verified |
qwen3-30b-a3b-thinking-2507 | $0.1 | $1.2 | 12.0× | not verified |
qwen3-vl-30b-a3b-instruct | $0.1 | $0.4 | 4.0× | not verified |
qwen3-vl-30b-a3b-thinking | $0.1 | $1.2 | 12.0× | not verified |
qwen3-vl-plus | $0.1 | $0.8 | 8.0× | not verified |
qwen3-8b | $0.09 | $0.36 | 4.0× | not verified |
qwen3-vl-8b-instruct | $0.09 | $0.35 | 3.9× | not verified |
qwen3-vl-8b-thinking | $0.09 | $1.05 | 11.7× | not verified |
qwen3-32b | $0.08 | $0.32 | 4.0× | not verified |
qwen3-vl-32b-instruct | $0.08 | $0.32 | 4.0× | not verified |
qwen3-vl-32b-thinking | $0.08 | $0.32 | 4.0× | not verified |
qwen3-next-80b-a3b-instruct | $0.075 | $0.6 | 8.0× | not verified |
qwen3-next-80b-a3b-thinking | $0.075 | $0.6 | 8.0× | not verified |
qwen3.8-flash | $0.075 | $0.235 | 3.1× | not verified |
qwen3.8-omni-flash | $0.075 | $0.235 | 3.1× | not verified |
qwen3-rerank | $0.05 | $0 | not verified | |
qwen3.5-flash | $0.05 | $0.2 | 4.0× | not verified |
qwen-flash | $0.025 | $0.2 | 8.0× | not verified |
qwen-turbo | $0.025 | $0.1 | 4.0× | not verified |
qwen-turbo-1101 | $0.025 | $0.1 | 4.0× | not verified |
qwen3-vl-flash | $0.025 | $0.2 | 8.0× | not verified |
Qwen/Qwen3-Reranker-0.6B | $0.0105 | — | not verified |
On Alibaba the Out/In column runs 2.5× to 12.0×, median 4.0× It outweighs the input price as soon as output dominates your bill.
Across 47 priced text models the blended rate spans $0.125 (qwen-turbo) to $15 (qwen3-coder) per 1M tokens, a 120× spread. At 120× between its own cheapest and dearest, picking the wrong tier inside Alibaba costs more than picking the wrong vendor.
How these rates were verified
Alibaba publishes no USD rate card we could confirm against, so none of the 90 prices above is cross-checked with vendor documentation — every figure is a gateway rate read from the live rate config on 2026-11-02. That is the reason no discount percentage appears anywhere on this page: without a published list to compare against, a "saving" would be a number we made up. Read these as an observed snapshot of what the endpoint charges today, and treat the reason to route Alibaba through one endpoint as access and consolidated billing rather than a discount.
What Alibaba costs at three usage levels
Priced on qwen3.8-max at $1 in / $3 out per 1M tokens, with a 5:1 input-to-output ratio (roughly what an
interactive workload produces).
| Usage level | Tokens per month (in / out) | Monthly cost qwen3.8-max |
|---|---|---|
| Light pilot or side project | 5M / 1M | $8.00 |
| Working one product in production | 50M / 10M | $80.00 |
| Heavy high-volume pipeline | 500M / 100M | $800.00 |
This is the model we cover in depth for this vendor. Swap in your own token split in the calculator.
Same budget, other vendors
3 models from 3 other vendors priced within
35% of qwen3.8-max on a blended rate, the cheapest, the dearest and one
in between. This is the horizontal check a Alibaba rate page on its own cannot give you.
| Model | Vendor | In / out per 1M | vs this |
|---|---|---|---|
gpt-5.4-mini | OpenAI | $0.375 / $2.25 | −34.4% |
doubao-lite-128k | ByteDance | $2 / $2 | same |
hunyuan-code | Tencent | $1.75 / $3.5 | +31.2% |
Blended comparison (input + output per 1M tokens). Price is one axis (none of these is a Alibaba model), so treat them as candidates to test side by side at this budget rather than drop-in substitutes.
Why the output rate decides the bill
Across the 46 priced Alibaba text models, the output rate runs from 2.5× to 12.0× the input rate, with a median of 4.0×. On Alibaba that multiple lands on the smaller half of the token count and the larger half of the bill, because output is what a chat or agent turn actually produces.
Worked out: at a 4.0× multiple, a job whose token count is 80% input still spends 50% of its cost on the output it generates. Setting Alibaba beside any other vendor on the input rate alone hides that.
What Alibaba is good at
Qwen coder models are strong enough for agentic work and priced well below comparable US models.
Detailed pages for Alibaba models
The models we cover in depth, each with worked cost at three usage levels and a comparison against similarly priced alternatives.
- Qwen3.8 Max — $1 / $3 per 1M tokens
Routing these rates into your tools
Every model above is reachable from the same OpenAI-compatible endpoint, so the rates on this page apply wherever you already work. These are the tools we have profiled end to end — Alibaba models included:
| Tool | What to set |
|---|---|
| LangChain | one base_url kwarg — then check whether token usage still comes back |
| LlamaIndex | OpenAILike for gateway IDs, and a second object for the embedding model |
| AutoGen | declare function_calling or tool use fails silently |
| OpenAI Agents SDK | tracing exports to OpenAI by default; the default transport is Responses |
| Codex CLI | 0.122+ rejects wire_api = "chat" at config load |
| Gemini CLI | a model without tool calls replies in prose and never touches the repo |
| CrewAI | custom_openai=True, and cost is agents × turns |
| DSPy | the bill is in compile(), not in inference |
| Cursor | override the base URL and bill your own key |
| LiteLLM model names | the slash is a routing instruction — openai/, or nothing is sent |
| streaming calls | stream_options, or every token count comes back null |
| an empty model picker | read /v1/models and type the id by hand |
| long sessions | two caps, not one — the window and the maximum output |
| every tool we have profiled | the full matrix of what to set and where |
Every one of these takes the same two values, a base URL and a key, and none of them require changing your code beyond where the client is constructed. Pointed at Alibaba, that is the whole change. The differences that matter are in each tool's defaults, which is what each guide covers.
Other vendors
Every rate card here is built the same way, from the same price snapshot (2026-11-02), so the numbers are comparable across vendors:
Anthropic · OpenAI · Google · DeepSeek · xAI · Zhipu · Moonshot · Meta · MiniMax · ByteDance
FAQ
How much does Alibaba charge per million tokens?
Across the 47 priced text models in this catalogue, the blended rate (input plus output per 1M tokens) runs from $0.125 on qwen-turbo to $15 on qwen3-coder, as of 2026-11-02. That 120× spread is what matters: inside Alibaba alone, picking the wrong tier moves the bill further than switching to another vendor would.
What is the cheapest Alibaba model for high-volume work?
qwen-turbo is the lowest blended rate here at $0.025 input and $0.1 output per 1M tokens. On a Heavy workload, 500M input and 100M output tokens a month, that bills about $22.50. At the other end, the same workload on qwen3-coder costs about $2,700.00.
Is Alibaba cheaper through a gateway than buying direct?
We do not claim a discount on Alibaba. None of its 47 text models has a list price published in a stable machine-readable form, so all 47 figures on this page are gateway rates with nothing official to compare them against. Check the Alibaba number in your own dashboard before committing to a budget.
How does output pricing change a Alibaba bill?
On Alibaba output is billed at 2.5× to 12.0× the input rate, median 4.0×, so the input rate alone never predicts the bill. At 4.0× even a workload that is 80% input by token count lands most of its cost on the output column. Price your own split against qwen3.8-max's $1 input rate in the calculator rather than extrapolating from that headline.
What is the Alibaba API price per 1M tokens?
Alibaba quotes every model separately for input and output. qwen3.8-max (the one closest to this vendor's median rate) is $1 per 1M input and $3 per 1M output as of 2026-11-02. The lowest tier in this catalogue is qwen-turbo, at $0.025 in and $0.1 out.
How much does Alibaba cost for a coding agent?
A heavy agent month — 500M input and 100M output tokens, the shape a coding assistant really produces because every turn resends the whole context, bills about $800.00 on qwen3.8-max. Output decides most of that figure: on Alibaba the median model bills output at 4.0× its input rate, so extrapolating from the headline input rate understates the bill by close to that factor.
Which Qwen tier is cheapest for bulk classification work?
The turbo and small tiers, which sit in the sub-$1 blended band. At that rate a Heavy workload still costs real money, so the practical move is to route only the ambiguous inputs to a larger Qwen tier and let the cheap tier handle the rest.
See all 38 models → or use the cost calculator with your own token split.