Skip to main content
Skip to main content

Qwen 3.8 Flash

Qwen3.8-Flash (Flash-Next) is Alibaba's efficiency play in the 3.8 generation: a 125B-parameter multimodal MoE that activates only 6B per token, trained at one-ninth the cost of its predecessor and priced at ¥1/¥3 per million tokens. It is also the early validation platform for the architecture Alibaba is building into Qwen4.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:AlibabaPrice: $0.1695 / 1M input tokens

Qwen3.8-Flash: Model Introduction & Practical Guide

Qwen3.8-Flash (Flash-Next) is Alibaba's efficiency play in the 3.8 generation: a 125B-parameter multimodal MoE that activates only 6B per token, trained at one-ninth the cost of its predecessor and priced at ¥1/¥3 per million tokens. It is also the early validation platform for the architecture Alibaba is building into Qwen4.

Here's the short version: Flash is the model you use when you want near-frontier agentic coding and office-task performance without frontier economics. It natively handles 262K context (extendable to 1M with 8.6x the prefill throughput of the previous generation), understands video, charts, and visual math, and can drive browsers, Android devices, and desktop OSes through visual perception. The published benchmarks are genuinely strong - SWE-bench Pro 62.5, CoWorkBench 73.9, IFBench 81.3, GPQA Diamond 91.7 - and the weights are open. The trade-offs: it is still a Flash-tier model (compute-per-token savings come with capability ceilings vs Max), and some computer-use scores vary sharply by configuration.

This guide covers model overview, core features, technical specifications, capability comparison, core advantages, recommended use cases, example prompts, and selection recommendations.


Quick Facts

AttributeValue
Model nameQwen3.8-Flash (Flash-Next)
DeveloperAlibaba Qwen / Alibaba Cloud Tongyi
CategoryMultimodal MoE language model
Parameters125B total + 51B N-gram embedding layer; 6B active per token
Context262K native, extendable to 1M tokens
ArchitectureGDN + QSA hybrid attention, gated residual (GR), N-gram embeddings, Muon optimizer
Training cost~1/9 of Qwen3.7-Plus
API pricing¥1 / 1M input tokens · ¥3 / 1M output tokens
Key benchmarksSWE-bench Pro 62.5 · DeepSWE 1.1 58.7 · CoWorkBench 73.9 · GPQA-D 91.7
Open weightsYes (Qwen3.8-Flash-Next on Hugging Face)
StatusReleased; positioned as a Qwen4 architecture preview

Table of Contents

  1. Model Overview
  2. Core Features
  3. Technical Specifications
  4. Capability Comparison
  5. Core Advantages
  6. Recommended Use Cases
  7. Example Prompts
  8. Selection Recommendations
  9. FAQ
  10. Sources & Further Reading

1. Model Overview

The Flash line has always been Alibaba's efficiency tier, and Qwen3.8-Flash pushes that brief further than any previous generation: 125B total parameters with 6B active per token, plus a 51B N-gram embedding layer that can live in host memory rather than GPU VRAM. Training cost landed at roughly one-ninth of Qwen3.7-Plus, and the API price (¥1/¥3 per million tokens) reflects the same discipline.

Where previous Flash models traded capability for cost, 3.8-Flash mostly doesn't. Its published benchmark sheet is competitive with models several times its active size - and on long-horizon office work (CoWorkBench 73.9 vs DeepSeek-V4-Flash's 45.1) and professional tasks (JobBench 55.7 vs 41.3), it wins decisively. Alibaba describes the architecture as an early implementation of the Qwen4 generation: GDN + QSA hybrid attention, gated residual branches, N-gram embeddings, and the Muon optimizer - four changes that together cut compute while improving long-sequence handling.

The multimodal and agentic capabilities follow the same theme. Flash reads long videos, scientific charts, and visual math problems; it operates web pages, Android devices, and desktop operating systems through visual perception; and it is tuned for end-to-end software engineering - code generation, debugging, and multilingual development. For teams building visual agents (UI automation, Android workflows) on an open-weight model, this is currently one of the strongest options in its class.

2. Core Features

GDN + QSA hybrid attention. Every four layers stack three Gated DeltaNet layers (efficient long-sequence memory) with one Qwen Sparse Attention layer (precise retrieval). The result: prefill throughput at 1M context reaches 8.6x the previous generation.

Gated residual (GR) with four parallel branches. The traditional single residual stream becomes four dynamically gated branches, preserving long-range information flow while suppressing activation outliers - and supporting FP8 storage to cut memory traffic.

N-gram embedding layer. A 51B-parameter lookup layer captures phrase-level patterns; it can be offloaded to host memory with asynchronous prefetch, adding essentially no token-level compute.

Muon optimizer. Orthogonalized optimization on main linear weights (AdamW retained for embeddings and router), enabling larger learning rates and batch sizes with a refit scaling law.

262K native context → 1M extended. Long-document and repo-scale analysis without retraining, supported by the hybrid attention's low long-sequence overhead.

Native multimodal understanding. Long video, scientific charts, visual math, and real-world scenes; visual web development and device control.

Agentic coding and office automation. End-to-end software engineering and long-horizon office processes with tool-calling integration.

3. Technical Specifications

SpecificationDetail
Total parameters125B + 51B N-gram embedding
Active parameters6B per token
Attention3 × Gated DeltaNet + 1 × Qwen Sparse Attention per 4 layers
Context262K native; up to 1M extended
Prefill throughput (1M ctx)8.6x previous generation
OptimizationMuon (main weights) + AdamW (embeddings/router)
Memory featuresFP8 gated residual storage; host-memory N-gram offload
API pricing¥1 / 1M input · ¥3 / 1M output
Open weightsQwen3.8-Flash-Next (Hugging Face)
Technical reportPublished with the open release

Published benchmarks:

BenchmarkQwen3.8-Flash-NextDeepSeek-V4-FlashClaude-Opus-4.6
Agentic coding (DeepSWE 1.1)58.754.4—
SWE-bench Pro62.556.053.4
Multilingual software engineering81.0—77.5
Long-horizon office (CoWorkBench)73.945.168.2
Professional work (JobBench)55.741.336.6
Science reasoning (GPQA Diamond)91.790.891.3
Competitive programming (LiveCodeBench)91.990.688.8
Instruction following (IFBench)81.379.262.5
Multimodal tools (ClawEval-MM)64.4 / 60.4—52.5 / 54.7
Mobile control (AndroidWorld)84.5—62.0
Visual web dev (Vision2Web)64.0——

4. Capability Comparison

Within the Qwen3.8 family:

DimensionFlash27B (dense)Max (2.4T MoE)
DeploymentCloud API + open weightsConsumer GPU (quantized)Preview (cloud)
Active compute per token6B27B (dense)Large MoE
Context262K → 1M262K → 1M200K / 400K / 1M
Price posture¥1/¥3 per 1MFree (self-host)Preview promo 1/10
Best forHigh-volume agents, multimodal opsLocal agents, privacyFrontier complex work

Where Flash wins: price-performance in agentic coding and office automation, open weights at 125B/6B economics, multimodal device control, and long-context prefill speed. Where it trails: peak reasoning and knowledge depth versus Max-class flagships; and its OSWorld 2.0 scores vary materially by configuration (19.4 / 52.3), so verify computer-use performance in your own environment before betting a workflow on it.

5. Core Advantages

  1. Efficiency that doesn't read as a downgrade. Benchmark wins against heavier models (CoWorkBench 73.9 vs 45.1) at a ninth the training cost is the whole thesis of the 3.8 architecture.
  2. Open weights at production scale. Flash-Next is downloadable, with a published technical report - rare at this capability tier.
  3. 8.6x prefill at 1M context. Long-sequence workloads (repos, archives, hour-long video) that were previously cost-prohibitive become routine.
  4. Native visual agent capability. Android control at 84.5 and visual web development make it a strong base for UI automation products.
  5. The Qwen4 preview effect. Adopting Flash now means building on the architecture family's trajectory, with migration paths to the next generation.
  6. Honest pricing. ¥1/¥3 per million tokens with no promotional sunset for the API tier - easy to model into unit economics.
  • Software engineering agents: repo-scale code generation, debugging, and multilingual development at low per-task cost.
  • Office and workflow automation: long-horizon processes (reporting, document pipelines, cross-system operations) where CoWorkBench-class performance matters.
  • UI and device automation: browser, Android, and desktop OS control through visual perception.
  • Long-document and long-video analysis: 262K-1M context for manuals, archives, and footage.
  • Visual web development: screenshot-to-code and design-to-interface workflows.
  • High-volume production inference: open weights + efficient architecture for self-hosted deployments at scale.

7. Example Prompts

1. Repository-scale engineering task

text
In this monorepo (≈900K tokens), find every call site of the deprecated
`sendLegacy()` API, migrate them to `sendV2()` with correct error
handling, update the tests, and produce a migration summary table.

2. Visual web development

text
From the attached screenshot, generate a responsive HTML/CSS
implementation: match layout, spacing, and type scale; extract the color
tokens; use semantic HTML. Note anything you cannot infer from the image.

3. Android automation

text
Open the settings app on the connected device, enable developer options,
turn on USB debugging, and report each step's result as a checklist.
If a screen appears that does not match expectations, describe it and
pause for instructions.

4. Long-horizon office workflow

text
Process this quarter's invoices (attached, 200 files): extract vendor,
amount, and due date; flag duplicates and anomalies; produce a payment
schedule spreadsheet sorted by due date, and a one-page summary memo.

5. Visual math and chart reasoning

text
Here are four charts from a research paper. Extract the underlying
values, state what each axis measures, compute the implied growth rates,
and identify which claim in the paper each chart does (or does not)
support.

8. Selection Recommendations

Choose Qwen3.8-Flash if:

  • You want near-frontier agentic coding at ¥1/¥3 per million tokens.
  • You need open weights for self-hosting or fine-tuning.
  • Your workloads are long-context (262K-1M) and prefill-heavy.
  • You build UI/device automation with visual perception.
  • You want to align with Alibaba's Qwen4 architecture trajectory early.

Upgrade to Qwen3.8-Max if:

  • Your tasks are frontier-complex and you need maximum reasoning depth.
  • You want multi-agent concurrency with the preview's promotional pricing.

Choose Qwen3.8-27B (dense) if:

  • You need local deployment on consumer hardware with Apache 2.0 licensing.
  • Dense-model behavior (stable, all-parameters-active) matters for your evaluation or reproducibility requirements.

Sources & Further Reading


Benchmark figures are as published in the model's release materials; independent evaluation may differ. OSWorld and computer-use results depend heavily on harness configuration - test representative workflows before production deployment.