Qwen Flash API Pricing

Alibaba · released Jul 28, 2025 · 1M context · API model ID qwen-flash

Qwen Flash by Alibaba API pricing: $0.05 per 1M input tokens and $0.40 per 1M output tokens (provider list price via models.dev, Nov 24, 2026). Base prices apply to prompts up to 256,000 input tokens; longer prompts use separate prices.

Prices

Qwen Flash prices, USD per 1M tokens
PriceUSD per 1M tokens
Input$0.05
Output$0.40
Cache read$0.01
Cache write$0.0625

Alibaba's list price for its own API, as compiled by models.dev and checked Nov 24, 2026, 04:16 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Estimated monthly cost

$75.00

per month

per day
$2.50
per request
$0.00025

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Compare this workload across models

Long-context prices

Prompts longer than the threshold are billed at a higher rate.

Prompts overInputOutputCache readCache write
256,000 tokens$0.25$2.00$0.05$0.3125

Monthly cost by workload

WorkloadPer month
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$75.00/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$90.00/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$51.00/mo

Context and capabilities

Context
1,000,000 tokens
Max output
32,768 tokens
Input
text
Output
text
Knowledge cutoff
April 2024
Open weights
No
Tool calling
Yes
Reasoning
Yes
Structured outputs
Yes

Capabilities and limits as listed by models.dev.

Similarly priced models

Price history

Questions

How much does Qwen Flash cost per month?
For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, Qwen Flash costs about $75.00 per month at Alibaba's list prices ($0.05 per 1M input tokens, $0.40 per 1M output tokens).
Does Qwen Flash support prompt caching?
Yes. Cached input costs $0.01 per 1M tokens, compared with $0.05 for regular input. Writing to the cache costs $0.0625 per 1M tokens. Base prices apply to prompts up to 256,000 input tokens; longer prompts use separate prices.
How long is Qwen Flash's context window?
Qwen Flash accepts up to 1,000,000 tokens (1M) of context and returns up to 32,768 tokens per response.