Qwen3.8 Flash
by alibaba · family qwen
Facts
| Release date | 2026-08-26 |
|---|---|
| Retired date | — |
| Knowledge cutoff | — |
| Context (max) | 1,000,000 |
| Max output | — |
| Modalities | text, image → text |
| Aliases | qwen3.8-flashQwen3.8-Flash |
| Open weights | yes (Qwen/Qwen3.8-Flash-Next) |
| Description | Production vision-language MoE (125B LM params / 6B active); 262K context extensible to 1M via YaRN; API coming soon on QwenCloud — preview architecture for Qwen4. |
Unknown values are shown as —.
Offerings
| Provider | Wire ID | Variant | Endpoint | Protocol | Status | Price (USD / Mtok) | Reasoning |
|---|---|---|---|---|---|---|---|
| OpenCode Go | qwen3.8-flash | flash | go-chat-completions | openai-chat | ga | — | toggle · default off · returns reasoning_content |
| OpenRouter | qwen/qwen3.8-flash | flash | chat-completions | openai-chat | ga | 0.15 / 0.47 | effort · default on · returns reasoning_content · round-trips reasoning_content |
Reasoning controls
OpenCode Go· qwen3.8-flash· go-chat-completions toggle
chat_template_kwargs.enable_thinking on true · off false
toggle · default off · returns reasoning_content
OpenRouter· qwen/qwen3.8-flash· chat-completions effort
reasoning.effort nonelowmedium●highxhighmax
effort · default on · returns reasoning_content · round-trips reasoning_content
Example requests
OpenCode Go · openai-chat · qwen3.8-flash
curl 'https://opencode.ai/zen/go/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"chat_template_kwargs": {
"enable_thinking": true
}
}'Python (requests)
import requests
resp = requests.post(
"https://opencode.ai/zen/go/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"chat_template_kwargs": {
"enable_thinking": true
}
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/go/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"chat_template_kwargs": {
"enable_thinking": true
}
}),
})
console.log(await resp.json())OpenRouter · openai-chat · qwen/qwen3.8-flash
curl 'https://openrouter.ai/api/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "qwen/qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "medium"
}
}'Python (requests)
import requests
resp = requests.post(
"https://openrouter.ai/api/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "qwen/qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "medium"
}
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://openrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "qwen/qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "medium"
}
}),
})
console.log(await resp.json())- ⚠ Responses include
reasoning_contentartifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).