Qwen
Qwen API pricing
Qwen 3.8 Flash costs $0.0816 per million input tokens and $0.2720 per million output tokens — prepaid in USD, no subscription, on the same key that calls Claude and DeepSeek.
Price table
| Model id | Input / 1M | Output / 1M | Typical request (1.5k/400) |
|---|---|---|---|
| qwen3.8-flash-guan | $0.0816 | $0.2720 | $0.000231 |
What a workload costs
| Volume | Tokens | Cost |
|---|---|---|
| 1M input tokens | 1,000,000 in | $0.0816 |
| 1M output tokens | 1,000,000 out | $0.2720 |
| 100k typical requests | 150M in / 40M out | $23.12 |
Qwen sits between the ultra-cheap tier (gpt-6-luna at $0.016, deepseek-v4.1-flash at $0.0252) and the frontier models. Pay for it when multilingual quality or structured output matters more than the last factor of two in price.
Call it
curl https://todapi.work/v1/chat/completions \
-H "Authorization: Bearer $TODAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-flash-guan",
"messages": [{"role": "user", "content": "Return JSON: {\\"ok\\": true}"}]
}'
from openai import OpenAI
client = OpenAI(api_key="sk-...", base_url="https://todapi.work/v1")
resp = client.chat.completions.create(
model="qwen3.8-flash-guan",
messages=[{"role": "user", "content": "Return JSON: {\"ok\": true}"}],
)
print(resp.choices[0].message.content)
Compared with the cheap tier
| Model | Input / 1M | Output / 1M |
|---|---|---|
| gpt-6-luna | $0.016 | $0.080 |
| deepseek-v4.1-flash | $0.0252 | $0.1008 |
| glm-5.3-flash | $0.0252 | $0.0756 |
| qwen3.8-flash-guan | $0.0816 | $0.2720 |
Qwen is roughly 3× the input rate of DeepSeek and 2.7× the output rate. Worth it for multilingual work; wasteful for bulk classification.
FAQ
How much does it cost?
$0.0816 / 1M input, $0.2720 / 1M output, in USD from a prepaid balance.
Is there a free Qwen API?
Alibaba has offered trial quotas, and the weights are downloadable. A hosted, paid-per-token route is what we provide — no free tier.
Does it support streaming?
Yes, stream: true, same SSE frames as the other models.