Qwen3.8 Flash API: Pricing, Context Window and Setup
Qwen3.8 Flash API pricing is $0.15 per 1M input and $0.47 per 1M output. Text-only 1M-context sibling of Qwen3.8-Max. Rates and setup.

Qwen3.8 Flash is Alibaba's volume Qwen3.8, live as model ID qwen3.8-flash. The list price is $0.15 per 1M input tokens and $0.47 per 1M output tokens, with a 1,000,000-token context window.
It is not a cheaper Qwen3.8-Max. Max stays at $2 / $6, takes images, and is the flagship. Flash is the text-only sibling for classification, extraction, and high-frequency turns.
Sources: the RouterPlex catalog row for Qwen3.8 Flash and the Qwen3.8-Max pricing post, checked 7 September 2026. The rate this route bills is always the live Qwen3.8 Flash price page.
Qwen3.8 Flash API pricing #
| Token category | Price per 1M tokens |
|---|---|
| Input | $0.15 |
| Output | $0.47 |
| Cached input | $0.016 |
A $5 prepaid balance buys roughly 33 million input tokens, or 10.6 million output tokens, if a workload used only one category. Real requests mix both.
Flash vs Max vs the rest of Qwen #
| Model | Input / 1M | Output / 1M | Context | Image input |
|---|---|---|---|---|
qwen3.8-flash | $0.15 | $0.47 | 1M | No |
qwen3.7-plus | $0.32 | $1.28 | 1M | Yes |
qwen3.6-plus | $0.50 | $3.00 | 1M | Yes |
qwen3.8-max | $2.00 | $6.00 | 1M | Yes |
qwen3.7-max | $2.50 | $7.50 | 1M | Yes |
Flash is more than 13× cheaper than Max on input and about 13× cheaper on output. That only helps if the task does not need Max's image input or flagship quality.
Cost per agent turn #
One 40,000-token prompt returning 2,000 tokens, no cache:
| Model | Cost per turn |
|---|---|
| Qwen3.8 Flash | $0.007 |
| GLM-5.3 Flash | $0.007 |
| Gemini 3.8 Flash (intro) | $0.038 |
| Qwen3.8-Max | $0.092 |
| Grok 4.6 | $0.092 |
| GPT-6 Astra | $0.500 |
The arithmetic for Flash: 40,000 × $0.15 / 1M + 2,000 × $0.47 / 1M = $0.006 + $0.00094 = $0.00694.
Live pages: Qwen3.8 Flash, Qwen3.8-Max, Qwen3.7-Plus.
Qwen3.8 Flash specifications #
| Capability | Qwen3.8 Flash |
|---|---|
| Model ID | qwen3.8-flash |
| Provider | Alibaba Cloud / Qwen |
| Context window | 1,000,000 tokens |
| Max output per request | 131,072 tokens |
| Image input | No |
| Tool calling | Yes |
| Reasoning | Yes |
| OpenAI-compatible chat API | Yes |
Anthropic-compatible /v1/messages | Yes |
If a client tries to attach an image to qwen3.8-flash, expect an upstream error. Use qwen3.8-max for multimodal turns.
Call Qwen3.8 Flash with RouterPlex #
curl https://api.routerplex.com/v1/chat/completions \-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "qwen3.8-flash","messages": [{"role": "user", "content": "Classify this ticket as billing, bug, or feature request."}]}'
import osfrom openai import OpenAIclient = OpenAI(api_key=os.environ["ROUTERPLEX_API_KEY"],base_url="https://api.routerplex.com/v1",)response = client.chat.completions.create(model="qwen3.8-flash",messages=[{"role": "user", "content": "Extract the action items from these notes."}],)print(response.choices[0].message.content)
Claude Code can point at the same model with ANTHROPIC_BASE_URL=https://api.routerplex.com and model qwen3.8-flash. See the Claude Code setup guide.
Which Qwen3.8 should you actually call? #
- Volume text work —
qwen3.8-flash. Classification, extraction, cheap agent steps. - Images, or the flagship —
qwen3.8-maxat $2 / $6. See the Qwen3.8-Max pricing post. - A Flash with vision from another lab — GLM-5.3 Flash at $0.15 / $0.50, or Gemini 3.8 Flash at the intro $0.75 / $3.75.
Give the Flash key its own hard budget. The live Qwen3.8 Flash page is the number this route will actually bill.
Common questions
Frequently asked questions
How much does the Qwen3.8 Flash API cost?
Alibaba lists Qwen3.8 Flash at $0.15 per 1M input tokens and $0.47 per 1M output tokens. RouterPlex bills that list rate with no markup.
What is the Qwen3.8 Flash context window?
1,000,000 tokens of context, with 131,072 maximum output tokens on this catalog.
Does Qwen3.8 Flash support image input?
No. Qwen3.8 Flash is text and tools. Image input stays on qwen3.8-max.
Is Qwen3.8 Flash cheaper than Qwen3.8-Max?
Yes. Flash is $0.15 / $0.47 per 1M against Max at $2 / $6. On a 40K-in / 2K-out turn that is about $0.007 versus $0.092.
Is Qwen3.8 Flash the same as Qwen3.8-Max?
No. They share a family name and a 1M context window. Max is the $2 / $6 multimodal flagship. Flash is the volume text model.
Can I use Qwen3.8 Flash with the OpenAI SDK?
Yes. Point the OpenAI SDK at https://api.routerplex.com/v1 with model ID qwen3.8-flash. The Anthropic SDK and Claude Code also work against https://api.routerplex.com via /v1/messages.
Run the smallest paid test.
Add $5, cap the key, and verify the result with your own workload. No subscription, and credit never expires — a first top-up of $25+ is matched with $25 extra.



