Qwen API pricing and access for builders: verify the model, region, and real test cost
编辑标准与来源政策: 编辑标准, 团队. 内容均链至原始来源,见 方法论.
Last checked: 2026-07-15. The current Alibaba Cloud Model Studio table lists Qwen models from RMB 0.2 input / RMB 2 output per million tokens for qwen3.5-flash at its lowest global tier, up to RMB 18.736 input / RMB 56.207 output for the listed international qwen3.7-max dated model. For a 100,000-input, 10,000-output run, the standard listed cost is RMB 0.04 on global qwen3.5-flash, RMB 0.28 on China-mainland qwen3.7-plus, or RMB 1.56 on China-mainland qwen3.7-max, before promotional, cache, batch, and retry adjustments.
Current Qwen API models and prices
| model | region/tier | standard input/output / MTok | current promo input/output / MTok | status |
|---|---|---|---|---|
qwen3.7-max |
China mainland/global, 0-1M | RMB 12 / RMB 36 | RMB 6 / RMB 18 | alias equals 2026-05-20; limited 50% promotion shown |
qwen3.7-max-us |
US, 0-1M | RMB 18.736 / RMB 56.207 | RMB 9.368 / RMB 28.1035 | limited 50% promotion shown |
qwen3.7-max-2026-06-08 |
international, 0-1M | RMB 18.736 / RMB 56.207 | none shown | dated model |
qwen3.7-plus |
China mainland, 0-256K | RMB 2 / RMB 8 | RMB 1.6 / RMB 6.4 | alias equals 2026-05-26; limited 20% promotion shown |
qwen3.7-plus |
China mainland, 256K-1M | RMB 6 / RMB 24 | RMB 4.8 / RMB 19.2 | higher tier; same promotion label |
qwen3.6-flash |
global, 0-256K | RMB 1.2 / RMB 7.2 | none shown | alias equals 2026-04-16 |
qwen3.5-flash |
global, 0-128K | RMB 0.2 / RMB 2 | none shown | alias equals 2026-02-23 |
qwen3.5-flash |
global, 128K-256K | RMB 0.8 / RMB 8 | none shown | stepped price |
qwen3.5-flash |
global, 256K-1M | RMB 1.2 / RMB 12 | none shown | stepped price |
These figures come from the live Model Studio pricing table. The promotional percentages are labels on the current table, not permanent prices. The Model Studio model list supplies the current region, context, and output limits.
For cost-sensitive classification under 128K input, qwen3.5-flash is the lowest listed option in this shortlist. qwen3.7-plus costs more but keeps a 1M input path through its higher tier. qwen3.7-max is the premium path in this group; use it only when the task result justifies the cost difference.
Access preflight
Before calling the model, verify these six items:
- Your account can create or use an API key in the intended region.
- The selected model is listed for that region today.
- The base URL matches the region and calling mode.
- The context limit is greater than the complete request, including system instructions and attachments converted to text.
- The maximum output is large enough for the required result.
- Your logging captures prompt tokens, completion tokens, request ID, latency, HTTP status and retry count.
Model Studio documents an OpenAI-compatible calling path. A minimal Python shape looks like this; replace the placeholders only with values copied from the current regional documentation:
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["DASHSCOPE_API_KEY"],
base_url="<REGION_SPECIFIC_BASE_URL>",
)
response = client.chat.completions.create(
model="<VERIFIED_QWEN_MODEL_ID>",
messages=[
{"role": "system", "content": "Return valid JSON with category and evidence."},
{"role": "user", "content": "Classify this support ticket: ..."},
],
temperature=0,
)
print(response.usage)
print(response.choices[0].message.content)
The placeholders are deliberate. Hard-coding a model or base URL from a different account or region would make the example look executable while teaching the wrong habit. The acceptance evidence is the successful request plus the usage object, not the fact that the SDK imported.
Actual cost for 100k input and 10k output
| model and region | standard listed cost | current displayed promo cost | calculation |
|---|---|---|---|
qwen3.5-flash, global, 0-128K tier |
RMB 0.04 | none shown | 0.1 × 0.2 + 0.01 × 2 |
qwen3.7-plus, China mainland, 0-256K tier |
RMB 0.28 | RMB 0.224 | standard: 0.1 × 2 + 0.01 × 8; promo: 0.1 × 1.6 + 0.01 × 6.4 |
qwen3.7-max, China mainland/global |
RMB 1.56 | RMB 0.78 | standard: 0.1 × 12 + 0.01 × 36; promo: 0.1 × 6 + 0.01 × 18 |
qwen3.7-max-2026-06-08, international |
RMB 2.43567 | none shown | 0.1 × 18.736 + 0.01 × 56.207 |
Alibaba's current table marks Batch calls at half price for supported models and lists separate context-cache discounts. Those discounts apply only when the selected model and request path support them. The table also uses stepped pricing: once a single request crosses an input threshold, the applicable tier changes for the whole request. Promotional prices should be stored separately from the standard rows above because the official page labels them as limited offers.
Worked case: support-ticket classification
A support-platform team has 200 labelled tickets. The complete batch is estimated at 100,000 input tokens and 10,000 output tokens. The required result is JSON with category, confidence, and evidence. The team first selects one current Qwen model and one region, copies the live price row, and stores both in the test record.
The first run uses 20 tickets. For each request, the team records input tokens, output tokens, valid-JSON status, label agreement, latency and retry count. The pilot expands only if the endpoint/model pair is stable and at least 18 of 20 responses are valid JSON. The full acceptance threshold is at least 180 of 200 valid classifications with an understood retry cost.
A real failure sample is not "the answer felt weak." It is a row such as: model returned prose before JSON, retry succeeded, total output tokens doubled, and the category still disagreed with the human label. That failure affects both quality and cost.
Pause the trial if the model is not listed in the intended region, the price row is ambiguous, the API key requires a different data-location posture, the context tier changes the estimate beyond budget, or usage fields cannot be logged. Those are integration blockers, not documentation details.
What to verify again before production
Re-open the model and pricing pages before a production commitment. Confirm alias behavior, dated model availability, region, context, output, rate limits, caching rules, batch support and deprecation notes. Save the verification date beside the model configuration. If the application uses a fallback model, price the fallback separately; the expensive failure path can dominate a monthly bill even when the primary path looks cheap.
For a globally distributed product, test the actual endpoint from the deployment region. Access, latency and data handling are part of model selection. A low token price does not compensate for an unusable region or an unstable retry path.
FAQ
What is the Qwen API price?
There is no single durable price. Use the current Alibaba Cloud Model Studio row for the exact model, region, input tier and billing mode, then calculate input and output separately.
Can I use an OpenAI SDK with Qwen?
Model Studio documents an OpenAI-compatible calling path. The base URL and available model identifier still need to match your region and account.
Should I use cache or batch pricing in the first estimate?
Show them as separate scenarios. Use a cache discount only after confirming the model supports it and your test produces real cache hits. Use batch pricing only when the workload and latency requirement fit.
What should stop an evaluation?
Stop when model/region availability is unclear, the pricing tier cannot be identified, token usage is not observable, data-location requirements do not fit, or retries make the budget unreliable.