SysArt
Book a briefing
SysArt

Private LLMs and RAG

Qwen 3.8: Models, Licences, VRAM and How to Self-Host Them

Qwen 3.8 explained for enterprises: the 27B, Flash-Next and 2.4T models, their licences, the VRAM each needs, Ollama and GGUF builds, and how to govern them.

Last reviewed by SysArt AI Architecture Team10 min readHow we review

In short

Qwen 3.8 is Alibaba's Qwen model generation released in August 2026. It has three open-weight models: Qwen3.8-27B (dense, Apache 2.0), Qwen3.8-Flash-Next (180 billion stored parameters, Qwen Community License) and Qwen3.8-2.4T-A95B (Qwen3.8-Max License). The 27B model fits one 80 GB GPU at 16-bit and a 24 GB card at 4-bit.

Key takeaways

  • As of 17 November 2026, Qwen has published three Qwen3.8 open-weight models: the 2.4-trillion-parameter model behind Qwen3.8-Max (12 August 2026), Qwen3.8-27B (14 August 2026) and Qwen3.8-Flash-Next (26 August 2026). Omni and the hosted Flash and Max versions are API services, and there is no official Qwen3.8 9B or 35B.
  • Only Qwen3.8-27B uses Apache 2.0. Flash-Next's Qwen Community License requires a separate licence from Qwen for any commercial use by a group that runs a model-as-a-service or AI work assistant business, with no revenue threshold; the Max licence sets that threshold at US$50 million.
  • By our arithmetic, Qwen3.8-27B needs about 56 GB for 16-bit weights, 31 GB at FP8 and 17 to 19 GB at 4-bit, plus about 64 KiB of KV cache per token at 16-bit. Flash-Next needs about 186 GB at FP8 and the 2.4T model about 2.5 TB.
  • Qwen does not publish GGUF files itself. Ollama's qwen3.8 library offers only the 27B model, and quantised, fine-tuned and abliterated variants on Hugging Face are separate models from separate suppliers.
  • Qwen is the provider of the general-purpose AI model under the EU AI Act; an organisation that builds and runs a system on it usually has provider or deployer duties for that system, not for the model.
Rows of dark electronic equipment modules with red and green status lights in a dimly lit room

Qwen 3.8 is the newest generation of Alibaba’s Qwen models, and searches for it now split into many sub-questions: which sizes exist, what “Flash” and “Next” mean, how much VRAM the 27B model needs, and whether Ollama or GGUF builds are safe to use. This post answers those questions for teams that want to run Qwen 3.8 on their own infrastructure. For a comparison with Gemma, GLM, DeepSeek and other families, see our guide to the best open-weight LLMs in 2026.

What is Qwen 3.8?

Qwen 3.8 is a model generation from Alibaba’s Qwen team, built on the Qwen3.5 architecture and aimed at coding, professional work and long-running agent tasks. Qwen’s GitHub repository lists the open-weight release of Qwen3.8-2.4T-A95B on 12 August 2026 and Qwen3.8-27B on 14 August 2026; Qwen3.8-Flash-Next followed on 26 August 2026.

All three use a hybrid design. Three out of every four layers use Gated DeltaNet, a form of linear attention whose memory does not grow with context length, and the fourth uses standard (or, in Flash-Next, sparse) attention. Native context is 262,144 tokens, extensible to about one million with YaRN, a method that rescales position encodings. The models think before answering by default, and a reasoning_effort setting of xhigh, medium or low controls how much.

ModelArchitectureInputLicenceWeights at FP8 (Hugging Face)
Qwen3.8-27BDense, 27B parametersText, images, videoApache 2.0About 31 GB
Qwen3.8-Flash-NextMixture of experts: 125B (6B active) plus 51B n-gram embedding and 4B multi-token predictionText, imagesQwen Community License 1.0About 186 GB
Qwen3.8-2.4T-A95BMixture of experts: 2.4T (95B active)Text onlyQwen3.8-Max LicenseAbout 2.5 TB

Sources: Qwen model cards, configuration files and file metadata on Hugging Face; QwenLM repositories on GitHub. Checked 17 November 2026.

A mixture-of-experts (MoE) model holds many small “expert” networks per layer and routes each token to a few of them. Active parameters set the compute per token; total parameters set the memory.

Which Qwen 3.8 models have open weights, and which are API-only?

Three models have open weights; the rest of the Qwen 3.8 names are hosted services. As of 17 November 2026, Qwen’s Hugging Face organisation lists Qwen3.8-27B, Qwen3.8-Flash-Next and Qwen3.8-2.4T-A95B, each with an official FP8 version.

The names people search for map as follows:

  • Qwen3.8-Max is Qwen’s hosted service based on the 2.4T model. Qwen says the hosted version adds image input, a non-thinking mode, a one-million-token default context and built-in tools. The open 2.4T checkpoint is text-only and cannot switch thinking off.
  • Qwen3.8-Flash is the hosted service based on Qwen3.8-Flash-Next. Qwen describes Flash-Next as an experimental preview of the architecture planned for Qwen4. It adds Qwen Sparse Attention, which selects blocks of earlier tokens rather than reading them all, and an n-gram embedding table that can sit in host memory.
  • Qwen3.8-Omni-Flash appears in Alibaba Cloud Model Studio, where it takes text, images, audio and video and returns text. We found no open weights for it.
  • Qwen 3.8 9B and 35B do not exist as official models. The nearest official models are Qwen3.6-35B-A3B and Qwen3.5-9B. Hugging Face repositories with other “Qwen3.8” sizes come from community authors.

What licence does Qwen 3.8 use?

Each model has its own licence, so check the one attached to the checkpoint you deploy. Qwen3.8-27B uses Apache 2.0, which permits commercial use, modification and redistribution, provided you pass on the licence and keep notices.

Flash-Next and the 2.4T model use custom licences that start from MIT-style permissions and add two conditions:

  • Attribution at scale. A commercial product or service built on the model with more than 100 million monthly active users or US$20 million monthly revenue must show the model name prominently in its interface.
  • Separate licence for some businesses. If you or an affiliate run a “model as a service” business (giving third parties meaningful control over inference or fine-tuning) or an “AI work assistant” business (an independent product mainly for AI-assisted coding or office productivity), you need a separate licence from Qwen before any commercial use. Internal use is excluded if it makes nothing available to third parties.

The difference sits in the second clause. The Qwen3.8-Max License applies it only when group revenue exceeds US$50 million over 12 consecutive months. The Qwen Community License 1.0 on Flash-Next has no threshold. A software vendor that sells a coding assistant, or a group with an internal platform team that also sells inference to customers, should read it closely. Our comparison of open-weight model licences sets these terms beside other families. This is not legal advice; have counsel confirm how the terms apply to your group.

How much VRAM does Qwen 3.8 need to self-host?

The 27B model fits a single GPU; Flash-Next needs a multi-GPU server or one very large GPU; the 2.4T model needs a multi-node cluster. A first estimate multiplies stored parameters by bytes per parameter: 2 at BF16, about 1 at FP8 and about 0.5 at 4-bit, plus overhead.

Qwen3.8-27B (the “qwen 3.8 27b vram” question). Qwen describes it as a 27-billion-parameter model (Hugging Face counts about 28 billion stored parameters): about 56 GB at BF16 and 31 GB for the files in Qwen’s separate FP8 repository. Four-bit builds are about 17 to 19 GB. The key-value (KV) cache, which stores attention state for each token in context, is small because only 16 of the 64 layers use standard attention. From the configuration, we estimate 64 KiB per token at 16-bit, so one full 262,144-token context needs about 16 GiB, or half that with an FP8 cache. vLLM’s recipe has run NVFP4 builds on one 32 GB RTX 5090, with --enforce-eager required, and FP8 or NVFP4 across two.

Qwen3.8-Flash-Next. The FP8 checkpoint is about 186 GB and BF16 about 360 GB. vLLM reports that the FP8 version fits on one 288 GB GB300 GPU and runs on eight H200 or eight H100 GPUs with expert parallelism. On 80 GB-class GPUs, the 51 GB n-gram table must be offloaded to host memory, which vLLM supports on NVIDIA hardware only. Community 4-bit GGUF builds are about 94 to 111 GB.

Qwen3.8-2.4T-A95B. The FP8 checkpoint is about 2.5 TB. vLLM’s recipe serves it across two nodes of eight B300 GPUs and runs an NVFP4 build on eight B300s. Few enterprises need this model on premises; plan it as a cluster project, not a server purchase.

These are weight estimates, not capacity plans. Concurrency, context length and thinking tokens drive the KV cache. Use the LLM GPU sizing calculator for a first pass, then measure on your own build.

How do you run Qwen 3.8 with Ollama, llama.cpp or GGUF?

Ollama and llama.cpp run Qwen3.8-27B well on a workstation; they suit evaluation and single users more than shared production. GGUF is the file format llama.cpp and Ollama load, usually with quantised weights.

  • Ollama. As of 17 November 2026, the qwen3.8 library has 13 tags, all for the 27B model, with text and image input and a 256K context. The default tag is about 18 GB at 4-bit (q4_K_M); 8-bit tags are about 30 GB and BF16 tags about 56 GB. Tags with “mtp” include multi-token prediction layers for faster decoding, and MLX tags target Apple silicon. There is no Flash-Next tag.
  • llama.cpp. Qwen’s repositories state that llama.cpp supports the Qwen3.5 architecture and Flash-Next, text and vision. Qwen does not publish GGUF files itself; its README tells users to look for GGUF repositories on Hugging Face and links Unsloth’s guide. The llama.cpp maintainers’ ggml-org account, Unsloth and others publish builds.
  • Quantisation choices. Four-bit builds lose some quality against 16-bit, and the size of the loss varies by method and task, so evaluate the exact build you plan to run.

If you want to drive a coding agent with a local Qwen model, our guide to running Claude Code against local models through Ollama covers the set-up. Whatever runtime you choose, a GGUF from a third party is a different artefact from Qwen’s checkpoint: record who made it, from which commit and with which tool.

How do you serve Qwen 3.8 with vLLM or SGLang in production?

For shared, multi-user serving, Qwen recommends dedicated engines such as vLLM, SGLang or TokenSpeed, and all three expose an OpenAI-compatible API. Our comparison of vLLM, Ollama, llama.cpp and SGLang explains when each fits.

Points from Qwen’s README and the vLLM recipes, as of 17 November 2026:

  • Versions. The vLLM recipe for 27B needs vLLM 0.17.0 or later; Flash-Next needs 0.30.0 or later; the 2.4T model needs 0.28.0 or later.
  • Parsers. Tool calling uses --enable-auto-tool-choice --tool-call-parser qwen3_coder, and reasoning output uses --reasoning-parser qwen3. Agents fail on tool calls if these are missing.
  • Long context. Going beyond 262,144 tokens needs a YaRN override. Qwen notes that engines apply YaRN statically, which may reduce quality on short inputs, so enable it only for long-context workloads.
  • Hardware breadth. The 27B recipe covers NVIDIA data-centre and RTX GPUs, Intel Arc Pro cards and Huawei Ascend; Flash-Next has an AMD MI355X recipe.
  • Output length. Qwen recommends large output budgets for agent tasks, because the model thinks at length. Budget GPU time for thinking tokens.

Pin the engine version and checkpoint commit you validate, because flags and defaults change between releases.

Qwen API or self-hosting: where does your data go?

Self-hosting keeps prompts, documents and outputs on infrastructure you control. Using a hosted Qwen service sends them to Alibaba’s cloud, in the region you choose.

Qwen’s model cards name Qwen Cloud as the official API for the hosted versions. Alibaba Cloud Model Studio, which also serves Qwen models, documents six regions, including Germany (Frankfurt). Its regions page, last updated 12 November 2026, says data is stored in the selected region and that Frankfurt workspaces can choose a global or EU inference scope. Qwen3.8-Omni-Flash is listed in Frankfurt among other regions. Check, model by model, which Qwen 3.8 service is offered in the region and scope you need; availability differs.

An EU region narrows the transfer question but does not settle the GDPR assessment. You still need a processor agreement, a view on access from outside the EU, and logging and retention rules. Self-hosting removes the provider from the data path; the usual controls on access, retention and purpose still apply.

Are abliterated or uncensored Qwen 3.8 models safe for enterprise use?

Not without the controls you would apply to any unknown supplier, and usually not at all for regulated work. “Abliterated” and “uncensored” variants are third-party models whose authors changed the weights to stop the model refusing requests.

Three risks follow:

  • Safety behaviour removed. Refusals for harmful requests are reduced or gone, and the change is rarely measured or documented. Your guardrails then carry the whole load.
  • Provenance. Many of these repositories combine merges, fine-tunes and quantisation from several authors. You often cannot reconstruct what was trained on what, or check the claims in the model card.
  • Supply chain. Hugging Face lists many quantised and fine-tuned derivatives of Qwen3.8-27B from different authors. Any of them can carry altered behaviour, and some file formats can carry code.

Use Qwen’s own weights from the Qwen organisation on Hugging Face or ModelScope, pin a commit, mirror the files internally and verify hashes. If your use case needs fewer refusals, for example security research, adjust system prompts and guardrails on the original model and document the decision. Our post on supply-chain security for on-premises AI models covers signing, scanning and provenance records.

What does the EU AI Act require when you deploy Qwen 3.8?

Qwen is the provider of the general-purpose AI (GPAI) model, and the obligations for GPAI model providers in Article 53 have applied since 2 August 2025. An organisation that builds an assistant or agent on Qwen 3.8 and uses it is usually the provider or deployer of its own AI system, not of the model.

Article 53(2) exempts models released under a free and open-source licence with public weights from two documentation duties, unless the model has systemic risk. Apache 2.0 on the 27B model is a standard open-source licence; whether the custom Qwen Community and Max licences qualify is a legal question. For you, the practical step is the same: collect the model card, licence and technical report Qwen publishes, and fill gaps with your own evaluation.

Your own duties depend on the use case. AI literacy measures under Article 4 apply to all providers and deployers; Article 50 transparency rules apply to systems that interact with people or generate content; high-risk uses under Annex III add requirements from 2 December 2027. Substantial fine-tuning can, in some cases, make you the provider of a modified model. Our guide to GPAI obligations explains when. This is not legal advice; the answer depends on your role and use case.

How SysArt helps

SysArt helps regulated organisations decide whether Qwen3.8-27B, Flash-Next or another open-weight model fits their tasks and licence position, and then size, deploy, test and govern it on their own infrastructure or in a dedicated EU environment. See our private LLM deployment service for how we approach model selection, serving, security testing and audit evidence.

Featured image by Matthieu Beaumont on Unsplash.

Frequently asked questions

What is Qwen 3.8?

Qwen 3.8 is a generation of large language models from Alibaba's Qwen team, built on the Qwen3.5 architecture and aimed at coding, professional work and long-running agent tasks. Its open-weight models are Qwen3.8-27B, Qwen3.8-Flash-Next and Qwen3.8-2.4T-A95B, released in August 2026. Hosted versions such as Qwen3.8-Max, Qwen3.8-Flash and Qwen3.8-Omni-Flash run as API services. All models think before answering by default.

How much VRAM does Qwen 3.8 27B need?

For the weights, about 56 GB at 16-bit, 31 GB with Qwen's FP8 checkpoint and 17 to 19 GB at 4-bit. Add the key-value cache: by our arithmetic from the configuration, about 64 KiB per token at 16-bit, or 16 GiB for one full 262,144-token context. A single 80 GB GPU runs the 16-bit model; vLLM's recipe runs 4-bit builds on one 32 GB RTX 5090.

Is Qwen 3.8 available on Ollama?

Yes, for the 27B model only. As of 17 November 2026, Ollama's qwen3.8 library lists 13 tags, all for Qwen3.8-27B, with text and image input and a 256K context. The default tag is about 18 GB at 4-bit; 8-bit tags are about 30 GB and 16-bit tags about 56 GB. MLX builds for Apple silicon are also listed. There is no Flash-Next tag in the library.

What licence does Qwen 3.8 use?

It depends on the model. Qwen3.8-27B uses Apache 2.0. Qwen3.8-Flash-Next uses the Qwen Community License 1.0, and the 2.4T model uses the Qwen3.8-Max License. Both custom licences require the model name in the interface of large products and a separate licence for model-as-a-service or AI work assistant businesses, with internal use excluded. Flash-Next has no revenue threshold for that clause. This is not legal advice.

What is the difference between Qwen3.8-Flash-Next and Qwen3.8-Flash?

Qwen3.8-Flash-Next is the open-weight model: 125 billion parameters with 6 billion active per token, plus a 51-billion-parameter n-gram embedding table, released as a preview of the architecture Qwen plans for Qwen4. Qwen3.8-Flash is Qwen's hosted service based on it, which Qwen says adds production features such as a one-million-token default context and built-in tools. Self-hosting gives you Flash-Next, not the hosted feature set.

Is there a Qwen 3.8 9B or 35B model?

Not from Qwen, as of 17 November 2026. Qwen's Hugging Face organisation lists Qwen3.8 open weights only at 27B, Flash-Next and 2.4T-A95B. The nearest official smaller models belong to earlier generations: Qwen3.6-35B-A3B and Qwen3.5-9B. Repositories with other Qwen3.8 sizes on Hugging Face come from community authors who merged or modified weights, so treat them as unvetted third-party models.

Are abliterated Qwen 3.8 models safe to use in a company?

Treat them as high risk. Abliterated or uncensored variants are third-party models whose authors edited the weights to suppress refusals, so the safety behaviour Qwen trained is reduced or gone. Provenance is often thin, the edits are rarely documented and the files are not checked by Qwen. For regulated work, use Qwen's original weights from its own organisation, pin and verify them, and add your own guardrails and tests.

Related insights

Plan your private AI with people who build it

Book a briefing. We look at your use case, data and constraints, and you leave with the deployment options and governance steps that fit.