Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Alibaba Cloud (Qwen) - Closed weights

Qwen-Flash pricing and specs

Qwen-Flash is a closed-weights model from Alibaba Cloud (Qwen) that costs $0.05 per 1M input tokens and $0.40 per 1M output tokens on the first-party API, with a 1M-token context window.

Last verified from alibabacloud.com. All sources

Input / 1M
$0.05
Output / 1M
$0.40
Context
1M tokens
Weights
Closed

Pricing per 1M tokens

ItemPrice / 1M tokens
InputPrompts up to 256,000 tokens$0.05
OutputPrompts up to 256,000 tokens$0.40
Cache readPrompts up to 256,000 tokens$0.005
Cache write (5 minutes)Prompts up to 256,000 tokens$0.063
Batch inputBatch requests, prompts up to 256,000 tokens$0.025
Batch outputBatch requests, prompts up to 256,000 tokens$0.20
Long-context inputPrompts over 256,000 tokens$0.25
Long-context outputPrompts over 256,000 tokens$2

Note: International (Singapore) list prices. Previous-generation model. Above 256K input tokens per request the whole request is billed at $0.25 / $2; the page gives no cache or batch price for that tier. cache read/cache write are explicit-cache read and creation for the up-to-256K tier, copied as the console shows them ($0.063 creation); implicit cache hits are $0.01. Batch prices from the console. The alias currently points to qwen-flash-2025-07-28. The console states context 1M and max output 32K; recorded as 1,000,000 and 32,768.

Specs

Context window
1,000,000 tokens
Max output
32,768 tokens
Release date
Provider
Alibaba Cloud (Qwen)
API model id
qwen-flash
Weights
Closed weights

What Qwen-Flash costs in practice

Worked from the standard list rates above, with the math shown so you can swap in your own token counts. These use the base rates, which apply while each request's prompt stays at or under 256,000 tokens; above that, Qwen-Flash bills $0.25 input and $2 output for the whole request.

One agent session

1M input tokens and 100K output tokens, no caching.

  • Input1M x $0.05 = $0.05
  • Output0.1M x $0.40 = $0.04

$0.09per session

A chat app

10,000 requests a day at 2K input and 500 output tokens each.

  • Input20M x $0.05 = $1.00
  • Output5M x $0.40 = $2.00

$3.00per day

$90.00 per 30-day month

The same session at a 90% cache hit

90% of the input is read from the prompt cache. The one-time cache write premium is not included.

  • Cached input0.9M x $0.005 = $0.0045
  • Uncached input0.1M x $0.05 = $0.005
  • Output0.1M x $0.40 = $0.04

$0.0495per session

Compare with

ModelInput / 1MOutput / 1M
Qwen-Flash (this page)$0.05$0.40
Gemini 2.5 Flash-LiteGoogle$0.10$0.40
GLM-4.7-FlashXZ.ai$0.07$0.40
GPT-4.1 nanoOpenAI$0.10$0.40
GPT-5 nanoOpenAI$0.05$0.40
Qwen3.5-FlashAlibaba Cloud (Qwen)$0.10$0.40
Qwen-MT-LiteAlibaba Cloud (Qwen)$0.12$0.36
Qwen3.8-FlashAlibaba Cloud (Qwen)$0.15$0.47
Qwen3.8-Omni-FlashAlibaba Cloud (Qwen)$0.15$0.47
Qwen-MT-FlashAlibaba Cloud (Qwen)$0.16$0.49
Qwen3.7-FlashAlibaba Cloud (Qwen)$0.03$0.13

FAQ

How much does Qwen-Flash cost per million tokens?

Qwen-Flash costs $0.05 per 1M input tokens and $0.40 per 1M output tokens on Alibaba Cloud (Qwen)'s first-party API, per alibabacloud.com on October 17, 2026. Per 1M tokens, cache reads cost $0.005, and the batch rate is $0.025 input and $0.20 output. Prompts over 256,000 tokens are billed at $0.25 input and $2 output for the whole request.

What is Qwen-Flash's context window?

Qwen-Flash has a 1,000,000-token context window and returns up to 32,768 output tokens per response.

Are Qwen-Flash's weights open?

No. Qwen-Flash is a closed-weights model. You call it through Alibaba Cloud (Qwen)'s API as qwen-flash.

When was Qwen-Flash released?

Alibaba Cloud (Qwen) released Qwen-Flash on August 1, 2025.

Sources

Last verified from alibabacloud.com.

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.