Qwen Flash API Pricing
Qwen Flash is available through LiteLLM. It has a 997,952-token context window and returns up to 32,768 tokens per response.
- Context window
- 997,952 tokens
- Max output
- 32,768 tokens
- Providers
- 3
- Added to LiteLLM
- September 2025
Qwen Flash pricing by provider
6 listings across 3 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Context |
|---|---|---|
| Alibaba Cloud Model Studio | dashscope/qwen-flash | 998K |
| Alibaba Cloud Model Studiosnapshot 2025-07-28 | dashscope/qwen-flash-2025-07-28 | 998K |
| Qianwen AI Platform | qwen_ai_platform/qwen-flash | 998K |
| Qianwen AI Platformsnapshot 2025-07-28 | qwen_ai_platform/qwen-flash-2025-07-28 | 998K |
| QwenCloud | qwencloud/qwen-flash | 998K |
| QwenCloudsnapshot 2025-07-28 | qwencloud/qwen-flash-2025-07-28 | 998K |
Qwen Flash features
- Function calling
- Reasoning
Use Qwen Flash with LiteLLM
Call Qwen Flash through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="dashscope/qwen-flash",
messages=[{"role": "user", "content": "Hello!"}],
)curl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "qwen-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'Qwen Flash FAQ
What is the context window of Qwen Flash?
Qwen Flash has a 997,952-token context window and returns up to 32,768 tokens per response.
Which providers offer Qwen Flash?
Qwen Flash is available from 3 providers through LiteLLM: Alibaba Cloud Model Studio, Qianwen AI Platform and QwenCloud.
What features does Qwen Flash support?
Qwen Flash supports function calling and reasoning.
When did LiteLLM add Qwen Flash?
Qwen Flash was added to LiteLLM's model price file in September 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Alibaba Cloud Model Studio, Qianwen AI Platform.
Provider pages: Alibaba Cloud Model Studio, Qianwen AI Platform, QwenCloud.
