by Alibaba Cloud

Qwen3.8-Flash-Next pricing, limits and verdict

An open-weight architecture preview in the Qwen3.8 lineup that previews Qwen4's design, built for cost-efficient long-context agentic and coding workloads at 6B active parameters.

Best for
Long-context coding agents
Not for
Teams needing a managed pay-as-you-go API today
  • Preview
  • Open weights

Should you use Qwen3.8-Flash-Next?

Released by Alibaba's Qwen team on August 26, 2026, Qwen3.8-Flash-Next extends to a 1-million-token context via YaRN and trained at roughly one-ninth the compute of its Qwen3.7-Plus predecessor. It suits self-hosted coding and long-context agents more than teams needing a managed API today.

Best for

  • Long-context coding agents 62.5 on SWE-bench Pro and 91.9 on LiveCodeBench v6, with QSA attention cutting long-context latency at up to 1M tokens.
  • Cost-sensitive self-hosted inference at scale Only 6B parameters activate per token despite the 125B backbone, and training cost ran about one-ninth of Qwen3.7-Plus.
  • Early Qwen4 architecture evaluation Alibaba built this release to let developers test the GDN+QSA hybrid attention and N-gram embedding design ahead of the full Qwen4 launch.

Not for

  • Teams needing a managed pay-as-you-go API today No first-party hosted endpoint exists yet; the separately hosted Qwen3.8-Flash product had not launched at release.
  • Single-GPU or consumer hardware deployment The FP8 checkpoint alone is 172.78 GiB, requiring a multi-GPU node with minimum TP2 on GB300-class hardware.

Qwen3.8-Flash-Next pricing

Pricing model
self-hosted
Free tier
Full model weights are free to download and self-host under the Qwen Community License 1.0. No usage caps from Alibaba, but self-hosting requires hardware to serve a 172.78 GiB (FP8) to 335.28 GiB (BF16) checkpoint.

This model carries no vendor per-token rate: it is distributed purely as downloadable weights, not sold through a metered API. A separately named production model, Qwen3.8-Flash (no "-Next"), is instead the one Alibaba assigned a Qwen Cloud rate for hosted use, but that product had not gone live as of this release and is a distinct model, not this one. See the pricing FAQ below for the exact hosted figures.

Self-hosting requirements

Min vram gb
173
Self-hosted
Yes
Recommended GPU
Multi-GPU node, minimum TP2 on GB300-class accelerators (TP4 recommended for production serving)

What Qwen3.8-Flash-Next can do

Qwen3.8-Flash-Next is Alibaba's open-weight preview of the Qwen4 architecture, released August 26, 2026, scoring 91.7 on GPQA Diamond and 62.5 on SWE-bench Pro. It activates just 6 billion of roughly 180 billion parameters per token and natively handles a 262,144-token context.

What goes in and what comes out

Reads

  • text
  • image
  • video
  • tool-calls

Writes

  • text
  • tool-calls

Capabilities

  • Code executionSupported
  • Function callingSupported
  • Structured outputSupported
  • Tool useSupported
  • Video inputSupported
  • VisionSupported
  • Audio inputNot supported
  • Audio outputNot supported
  • Web browsingNot supported
Reasoning modes
thinking-xhigh, thinking-medium, thinking-low, preserved-thinking
Long context recall
high

Key features

  • GDN + QSA Hybrid Attention

    Combines Gated DeltaNet with Qwen Sparse Attention across 48 layers, cutting long-context latency and lifting prefix-cache throughput 8.6x at a 90% cache hit rate.

  • 1M-Token Extended Context

    Extends via YaRN RoPE scaling to a 1,000,000-token window from its native size, with a 131,072-token maximum output.

  • 6B Active Parameters per Token

    A large MoE backbone plus a separate N-gram embedding table and a multi-token prediction module, but only 6B parameters activate on any single forward pass.

  • Vision and Video Input

    Reads images and video alongside text, posting an 88.5 score on the RealWorldQA benchmark and strong results on chart and document reasoning tasks.

  • Tool-Use and Agent Benchmarks

    Supports OpenAI-compatible function calling and structured JSON outputs, scoring 84.5 on AndroidWorld and 73.5 on Toolathlon Verified for agentic tool use.

Known limitations

  • No disclosed training data cutoff date or published system card at release.
  • Thinking mode is on by default; the sibling Qwen3.8-27B model has been reported to run long reasoning sessions even at lower effort settings.

Who it is for

  • Infrastructure teams self-hosting long-context coding and office-task agents
  • Research teams evaluating the Qwen4 architecture ahead of its full release
  • Cost-sensitive teams comparing MoE inference efficiency against DeepSeek-V4-Flash and Qwen3.7-Plus
  • Fine-tuning teams building on open weights with Unsloth, ms-swift, or LLaMA-Factory

Qwen3.8-Flash-Next benchmarks

Standout result

91.7

GPQA Diamond score, the model's strongest published reasoning benchmark

Source: Qwen3.8-Flash-Next Hugging Face model card, August 26, 2026

Where it sits

In the top third on GPQA Diamond (rank 17 of 65), and one of 94 whose vendor states it does not train on customer data. Ranked against GA models; this record is not GA.

MeasureThis modelRankMedian
GPQA Diamond% correct91.7%#17 / 65peer median 87.8%

Ranks are against GA models on Hokai that publish the same figure; ties share a rank.

Benchmark scores

Show all 16 benchmark scores
  • MathVision With Ci vendor-reported · 26 Aug 202695.7
  • LiveCodeBench v6 vendor-reported · 26 Aug 202691.9%Recently published coding problems, % solved.
  • GPQA Diamond vendor-reported · 26 Aug 202691.7%PhD-level science questions that are hard to search for, % correct.
  • CharXiv Reasoning vendor-reported · 26 Aug 202690.6
  • RealWorldQA vendor-reported · 26 Aug 202688.5
  • Androidworld vendor-reported · 26 Aug 202684.5
  • IFBench vendor-reported · 26 Aug 202681.3%How precisely the model follows detailed instructions, % passing.
  • SWE Bench Multilingual vendor-reported · 26 Aug 202681
  • LVBench vendor-reported · 26 Aug 202676.6
  • Coworkbench vendor-reported · 26 Aug 202673.9
  • Toolathlon Verified vendor-reported · 26 Aug 202673.5
  • SWE-bench Pro vendor-reported · 26 Aug 202662.5%Harder, longer real-repository coding tasks, % solved.
  • DeepSWE 1.1 vendor-reported · 26 Aug 202658.7
  • Jobbench vendor-reported · 26 Aug 202655.7
  • NL2Repo Bench vendor-reported · 26 Aug 202648.1
  • Humanity's Last Exam vendor-reported · 26 Aug 202635.9%Expert-written questions across many fields, % correct.

A benchmark is an exam, not the job. Scores transfer unevenly between tasks, so weigh the one closest to your workload and read every figure with its source.

Strengths and limits

Strengths

  • Beats Qwen3.7-Plus and DeepSeek-V4-Flash on multiple coding benchmarks (62.5 vs 55.8 on SWE-bench Pro, 58.7 vs 54.4 on DeepSWE 1.1) while activating only 6B parameters per token.
  • 1M-token extended context with QSA attention delivering up to 7.6x faster prefill at full context than Qwen3.7-Plus.
  • Open weights on Hugging Face and ModelScope with same-day FP8 and GGUF-friendly releases, so it can be self-hosted and inspected immediately.
  • Beats Qwen3.7-Plus 62.5 to 55.8 on SWE-bench Pro and DeepSeek-V4-Flash-0731 58.7 to 54.4 on DeepSWE 1.1, despite activating only 6B parameters per token.
Show 2 more
  • Scores 91.7 on GPQA Diamond and 91.9 on LiveCodeBench v6, per Alibaba's technical report.
  • Trained for roughly one-ninth the compute of Qwen3.7-Plus, according to Alibaba, while matching or beating it on 8 of 14 internal benchmarks.

Limits

  • No first-party hosted API: running it means self-hosting a 172-plus GiB checkpoint on a multi-GPU node, even in the smaller FP8 format.
  • No published training data cutoff date or system card at release, unlike most frontier model launches.
  • Trails Claude Opus 4.6 Max on Humanity's Last Exam (35.9 vs 40.0) and DeepSeek-V4-Flash-0731 on NL2Repo-Bench (48.1 vs 54.2).

Qwen3.8-Flash-Next alternatives

The nearest AI models on Hokai for the same job.

ModelLabContextIn / out per 1MReads and writes
Qwen3.8-Flash-Next This pageAlibaba Cloud262K--text, image, video → text
Inkling 2 MiniOpen-weights multimodal MoE from Thinking Machines Lab that reaches 79.2% on SWE-bench Verified, with a checkpoint small enough for a laptop.Thinking Machines Lab1M$0.15 / $0.50text, image → text
Qwen3.8-MaxReplaced by Qwen4 Max as Alibaba's lead model on 16 November 2026, yet still sold on Model Studio: a large sparse MoE model with a 1M-token context and native image and video input.Alibaba Cloud1M$2 / $6text, image, video → text
Solar Mini 4.5Upstage's compact mixture-of-experts model for fast agent loops, in preview since November 2026, with 35B total and 3B active parameters.Upstage524K$0.01 / $0.04text → text

Qwen3.8-Flash-Next specs

Context window
262K tokens
Max output
131K tokens
Architecture
Mixture-of-Experts (MoE), hybrid Gated DeltaNet + Qwen Sparse Attention (GDN+QSA), 512 experts (10 routed, 1 shared)
Mixture of experts
Yes
Parameters
~180B combined (125B main model + 51B N-gram embedding table + 4B multi-token prediction module), 6B active per token
VRAM requirements
172.78 GiB for the FP8 checkpoint, 335.28 GiB for BF16. Alibaba recommends a multi-GPU node with minimum tensor-parallel degree 2 on GB300-class hardware, TP4 for production serving. The 51B-parameter N-gram embedding table is designed to run in system RAM rather than GPU memory.

Training data

Alibaba has not disclosed dataset composition or a cutoff date for this release. The model was pretrained and post-trained using the Muon optimizer alongside AdamW on select weight categories, a change the team credits with cutting training compute to about one-ninth of what Qwen3.7-Plus required.

Weight formats

  • safetensors (BF16, FP8)
  • GGUF (community quantizations)
  • MLX 4-bit (community)

API endpoints

NameEndpointAuth
Self-hosted (vLLM / SGLang, OpenAI-compatible)https://recipes.vllm.ai/Qwen/Qwen3.8-Flash-NextNone (self-hosted deployment)

SDKs

  • Python

Prompting patterns

Show 2 prompting patterns
  • Set reasoning_effort explicitly

    reasoning_effort: 'low' for latency-sensitive single-turn calls, 'xhigh' for hard multi-step reasoning

    Thinking mode is on by default at high effort, which adds significant tokens and latency if left unset.

  • Use preserved thinking for multi-turn agents

    Keep prior thinking blocks in the conversation history rather than stripping them

    The model is designed to carry its reasoning trace across turns, which Alibaba says improves context continuity in agent loops.

Known quirks

Show 4 known quirks
  • Thinking mode is on by default

    The model generates a visible reasoning trace before every response unless told otherwise, and the sibling Qwen3.8-27B model has been reported to default to xhigh effort with 40-plus second time-to-first-token on some prompts.

    Workaround: Set reasoning_effort to low or medium explicitly for latency-sensitive calls, and benchmark actual end-to-end task completion time rather than assuming a lower setting is always faster.

  • N-gram embedding table needs system RAM, not VRAM

    51 billion of the model's parameters live in a novel N-gram embedding layer that Alibaba designed to run in host system RAM rather than GPU memory, unusual for a component this large.

    Workaround: Plan deployment hardware around both GPU VRAM (172.78 GiB FP8, 335.28 GiB BF16 for the rest of the model) and enough system RAM for the embedding table, not GPU memory alone.

  • No first-party hosted API at release

    Qwen3.8-Flash-Next shipped as open weights only. A separately branded model, Qwen3.8-Flash (without "-Next"), is the one getting a Qwen Cloud API price, and the two are easy to confuse by name.

    Workaround: Check the exact model name before wiring up billing or API code: self-host Qwen3.8-Flash-Next directly, or wait for Qwen3.8-Flash's hosted endpoint if a managed API is required.

  • Benchmark numbers are vendor-run and vendor-adjusted

    Alibaba discloses that some SWE-bench Pro tasks were corrected by the Qwen team and that GPT-4o was used as grader for part of the evaluation suite, both choices that can shift scores relative to a fully independent benchmark run.

    Workaround: Treat the published benchmark table as the vendor's own best case, and re-run task-relevant evals in-house before selecting a model based on these numbers alone.

Qwen3.8-Flash-Next facts

Deployment
Self-hosted
Trains on your data
No
Safety posture
Balanced
Released
26 Aug 2026
Current version
Qwen3.8-Flash-Next
Family
Qwen3.8
Variant
Multimodal
Licence
Qwen Community License 1.0 (qwen-community-1.0) · Open weights
Data retention
No vendor-side retention applies: the model is self-hosted from downloaded weights, so inputs and outputs never leave the deploying team's own infrastructure unless they choose to send them elsewhere.

Safety controls

Rlhf
Yes
System prompt
Yes
Constitutional AI
No

Data governance

Trains on inputs
No

Version history

  • Qwen3.8-Flash-Next · 26 Aug 2026

    Initial and, as of this record, only release. Published as standard (BF16) and FP8 checkpoints on Hugging Face and ModelScope, positioned as an architecture preview ahead of the Qwen4 family.

What changed

  • Release Qwen3.8-Flash-Next launches as an open-weight preview of the Qwen4 architecture source

Questions about Qwen3.8-Flash-Next

Is Qwen3.8-Flash-Next free, or does it cost anything to run?

The weights are free to download from Hugging Face and ModelScope under the Qwen Community License 1.0, and Alibaba has not published a per-token API price for this exact model. Running it means covering your own infrastructure: the FP8 checkpoint is 172.78 GiB and the BF16 checkpoint is 335.28 GiB, so it needs a multi-GPU node. A separately named production model, Qwen3.8-Flash, is expected on the Qwen Cloud API at $0.16 per 1M input tokens and $0.47 per 1M output tokens, but that is a different model, not this one.

How does Qwen3.8-Flash-Next compare to DeepSeek-V4-Flash-0731 on benchmarks?

Qwen3.8-Flash-Next leads on the coding evaluations Alibaba published: 58.7 to 54.4 on DeepSWE 1.1 and 73.9 to 45.1 on CoWorkBench. DeepSeek-V4-Flash-0731 comes out ahead on NL2Repo-Bench, 54.2 to 48.1. Both sets of figures come from Alibaba's own technical report, run on its own evaluation tooling rather than a fully independent third party.

Is Qwen3.8-Flash-Next open source?

It is open-weight, not fully open source: the weights are public on Hugging Face and ModelScope, but the license is Qwen Community License 1.0, not a permissive license like Apache 2.0. That license blocks building a hosted model-as-a-service API or a coding or office assistant product on top of it without a separate agreement, and requires any product with over 100 million monthly users or $20 million in monthly revenue to display the model's name.

Does Qwen3.8-Flash-Next train on the data you send it?

It cannot, by design: the model ships only as downloadable weights with no first-party hosted API, so whatever you run it on stays inside your own infrastructure unless you choose to send it elsewhere. Alibaba has not published a training data cutoff date or dataset composition for this release.

Who should use Qwen3.8-Flash-Next, and who should skip it?

It fits teams with multi-GPU infrastructure who want near-frontier coding and long-context agent performance at a fraction of typical training cost, or anyone evaluating the coming Qwen4 architecture early. Teams that need a managed pay-as-you-go API today, single-GPU setups, or a published system card before deployment should wait for the hosted Qwen3.8-Flash product or use an already-hosted model like Qwen3.7-Plus instead.

About Qwen3.8-Flash-Next

Qwen3.8-Flash-Next is a foundation model from the Qwen Team at Alibaba Cloud, released August 26, 2026, its first and so far only entry. It is a multimodal Mixture-of-Experts model with a 125 billion parameter main network, a 51 billion parameter N-gram embedding table, and a 4 billion parameter multi-token prediction module, roughly 180 billion parameters combined, of which only 6 billion activate per token. Alibaba frames it as an early, open-weight preview of the architecture underpinning the coming Qwen4 flagship, sitting in the Qwen3.8 generation alongside Qwen3.8-Max and Qwen3.8-27B, benchmarked against predecessor Qwen3.7-Plus in its own technical report.

Read the full background

That report shows the model scoring 91.7 on GPQA Diamond, 62.5 on SWE-bench Pro (55.8 for Qwen3.7-Plus, 53.4 for Claude Opus 4.6 Max), 81.0 on SWE-bench Multilingual, 58.7 on DeepSWE 1.1 (54.4 for DeepSeek-V4-Flash-0731), and 91.9 on LiveCodeBench v6. The one benchmark where Alibaba concedes the lead is Humanity's Last Exam, 35.9 versus Claude's 40.0, and it also trails on NL2Repo-Bench, 48.1 to 54.2. These are vendor-run evaluations on Alibaba's own tooling, with some SWE-bench Pro tasks corrected by the team and GPT-4o used as grader for part of the suite.

The model natively handles 262,144 tokens of context, extends to 1,000,000 via YaRN RoPE scaling, and outputs up to 131,072 tokens. Its Qwen Sparse Attention component gives up to 7.6x faster prefill and 4.9x faster decode at full context versus Qwen3.7-Plus, with prefix-cache throughput 8.6x higher at a 90% hit rate. Inputs cover text, image, and video: it scores 95.7 on MathVision with a code interpreter and 88.5 on RealWorldQA, and tool use is evaluated via CoWorkBench (73.9), AndroidWorld (84.5), and Toolathlon Verified (73.5), with OpenAI-compatible function calling and structured JSON outputs. There is no native audio input or output.

Qwen3.8-Flash-Next has no first-party hosted API price; it ships only as open weights on Hugging Face and ModelScope. Alibaba separately announced a differently named model, Qwen3.8-Flash (no "Next"), for the Qwen Cloud API at $0.16 per million input tokens and $0.47 per million output tokens, but that had not gone live at release and is not the same model. Running it means self-hosting: the FP8 checkpoint is 172.78 GiB and BF16 is 335.28 GiB, needing a multi-GPU node at minimum tensor-parallel degree 2 on GB300-class hardware, TP4 for production. Supported stacks include vLLM, SGLang, and llama.cpp for GGUF quants, with fine-tuning via Unsloth, ms-swift, and LLaMA-Factory. The 51 billion N-gram embedding parameters sit in system RAM rather than GPU memory, changing the usual VRAM-only sizing math.

No system card, refusal-rate benchmark, or training data cutoff date is published for this release. It supports the standard Qwen post-training toolchain (SFT, DPO, GRPO) for teams fine-tuning their own alignment, and uses the Muon optimizer alongside AdamW on select weight categories, cutting training compute to roughly one-ninth of Qwen3.7-Plus's. Thinking mode is on by default, with a reasoning_effort switch (xhigh, medium, low) and preserved-thinking that carries the reasoning trace across a conversation, meant to help agentic sessions keep context.

Weights use the Qwen Community License 1.0, not Apache 2.0: commercial use, modification, and redistribution are allowed, but products with over 100 million monthly users or $20 million in monthly revenue must display the model name, and a hosted model-as-a-service API or coding/office assistant built on it needs a separate license. It fits multi-GPU teams wanting near-frontier coding and agent performance at a fraction of typical training cost, or anyone evaluating Qwen4's architecture early. It is a poor fit for teams needing a managed API today, single-GPU deployments, or products requiring a system card before shipping; DeepSeek-V4-Flash-0731 and Qwen3.7-Plus are the closest hosted alternatives named in its own benchmarking.

Sources and guides

More AI Models on Hokai

  • gpt-oss-20bOpenAI's open-weight reasoning model for local use, with adjustable effort, full chain of thought and tool calling on a single consumer machine.
  • Aion 1.0 InstructAion 1.0 Instruct is Microsoft's open-weights small language model for on-device text work in Windows and Edge, under the MIT licence, in eight languages.
  • Gemini 4 NeonGemini 4 Neon is Google DeepMind's November 2026 mid-tier reasoning model for coding and agents, with a 1M-token window and four thinking levels.
  • GPT-6.2 AstraGPT-6.2 Astra is OpenAI's November 2026 frontier reasoning model for professional and scientific work, reading text and images with five effort levels.
  • GPT-6.2 SolGPT-6.2 Sol is OpenAI's November 2026 everyday reasoning model for coding and agents, reading text and images with five reasoning effort levels.
  • Kimi K2.8 PreviewMoonshot AI's Kimi Code model at the kimi-for-coding route since September 2026, with a 1M-token context window, image and video input and no published benchmark; Kimi K3.1 Pro is now Moonshot's top model.