Qwen Flash API Pricing
dashscope/qwen-flash- Context
- 998K tokens
- Max output
- 32K tokens
Qwen Flash is available through LiteLLM. It has a 997,952-token context window and returns up to 32,768 tokens per response.
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
Input: text. Output: text.
- 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 $LITELLM_API_KEY" \
-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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
LiteLLM docs: Alibaba Cloud Model Studio, Qianwen AI Platform.
Provider pages: Alibaba Cloud Model Studio, Qianwen AI Platform, QwenCloud.