qwen-flash API Pricing & Access
Qwen3 series Flash model that effectively blends thinking and non-thinking modes, switchable mid-conversation. Excels at complex reasoning tasks with significantly improved instruction following and text comprehension. Supports 1M context length with tiered pricing based on context length.
Pricing by group
USD per 1M tokens. Price = base price × group ratio.
| Group | Input | Output | About this group |
|---|---|---|---|
| Alibaba-1 | $0.025 | $0.20 | attractive discount. Fast response for lightweight generation, summarization |
| Alibaba-2 | $0.0375 | $0.30 | higher quota. Upgraded multimodal analysis, suitable for product images |
| Alibaba-3 | $0.055 | $0.44 | stronger reasoning and advanced creation ability, for business proposals |
Long-context tiers
Using the lowest-priced public group, Alibaba-1, as the example (USD per 1M tokens); other groups scale by their own ratio. Ranges are token counts per request.
| Input range (tokens) | Input | Output | Cache multiplier |
|---|---|---|---|
| [0 , 256000] | $0.025 | $0.20 | 1x |
| (256000 , 1000000] | $0.125 | $1.00 | 5x |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table above and your console.
Capabilities
- Provider
- Qwen
- Features
- Conversation
- API formats
- OpenAI Chat Completions
Quick start
Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-flash",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
model="qwen-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Full parameters in the API docs
FAQ
How do I call the qwen-flash API?
Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use qwen-flash as the model name.
How is the qwen-flash API billed?
Pay as you go: input and output tokens are priced separately, and the price depends on the group you choose. At build time the lowest public group was $0.025 per 1M input tokens and $0.20 per 1M output tokens. Top-ups start at $1.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.
Which API formats does qwen-flash support?
OpenAI Chat Completions.