Qwen Flash
Chatbailian/qwen-flashQwen Flash is the fastest and lowest-cost model in Alibaba's Qwen family, served through Dashscope and built for latency-sensitive tasks. It delivers ultra-fast inference while supporting tool use (function calling), prompt caching, and web search, priced at $0.022/M input tokens and $0.22/M output tokens. Context window: 1M tokens, output: 32K. Available via OpenAI and Anthropic protocols.
Context Window
1M
Max Output Tokens
32K
Released
2025-07-28
Capabilities
Function CallingPrompt CachingWeb Search
Available Providers
Aliyun
Supported Protocols
openaianthropic
Providers
Aliyun
Input Tokens
$0.022/M
Output Tokens
$0.22/M
Cache Read
$0.0043/M
Cache Write
$0.027/M
Web Search
$0.01/R
Protocols
openai
/v1/chat/completions/v1/responsesanthropic
Code Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.ai/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="bailian/qwen-flash",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Related Models
Frequently Asked Questions
Qwen Flash on Ofox.ai costs $0.022/M per million input tokens and $0.22/M per million output tokens. Pay-as-you-go, no monthly fees.
Qwen Flash supports a context window of 1M tokens with max output of 32K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible โ just change the base URL and API key in your existing code.
Qwen Flash supports the following capabilities: Function Calling, Prompt Caching, Web Search. Access all features through the Ofox.ai unified API.