Qwen 3.8 27B: Benchmarks, VRAM, License, and How to Run It

Qwen 3.8 27B (Qwen3.8-27B) is Alibaba's dense 27B vision-language model under Apache-2.0, with 262,144 tokens of native context extensible to 1M. Qwen reports 61.7 on SWE-bench Pro, 73.0 on Terminal-Bench 2.1, and 84.3 on OSWorld-Verified. Benchmarks against Qwen3.6-27B, VRAM at BF16 and 8-bit, and vLLM and SGLang setup.

October 26, 2026 · 1 min read
Qwen 3.8 27B: Benchmarks, VRAM, License, and How to Run It

Qwen 3.8 27B (Qwen3.8-27B) is a dense 27B vision-language model under Apache-2.0. Qwen reports 61.7 on SWE-bench Pro and 73.0 on Terminal-Bench 2.1, up from 53.5 and 63.4 for Qwen3.6-27B at the same size. Native context is 262,144 tokens and extends to 1M. The BF16 weights take about 54 GB, so it runs on a single 80 GB GPU.

61.7
SWE-bench Pro (Qwen-run)
73.0
Terminal-Bench 2.1 (Terminus)
84.3
OSWorld-Verified
262K
Native context, extensible to 1M

Qwen 3.8 27B in Short

Last updated October 26, 2026.

  • Size: 27B dense with a vision encoder for images and video.
  • Context: 262,144 tokens native, extensible to 1,000,000.
  • License: Apache-2.0.
  • Release: Hugging Face and ModelScope on August 14, 2026, per the QwenLM README.
  • Coding: 61.7 on SWE-bench Pro and 73.0 on Terminal-Bench 2.1 in Qwen's runs.
  • Serving: Qwen publishes vLLM and SGLang recipes. Ollama lists it as qwen3.8:27b.

Qwen 3.8 is a family. The 27B is the one most people mean by "Qwen 3.8" because it fits on one GPU. The flagship, Qwen3.8-2.4T-A95B, has 2.4T total parameters with 95B active and ships under a custom Qwen license instead of Apache-2.0. For where the 27B sits among every open-weight release, see the best open source LLM ranking.

Qwen 3.8 27B Architecture

Qwen3.8-27B keeps the hybrid layout Qwen introduced with Qwen3.5. Three of every four layers use Gated DeltaNet, a linear-attention block whose cost grows linearly with sequence length. The fourth uses gated full attention. With full attention in only a quarter of the layers, a 262K window needs far less KV cache than a pure-attention 27B would.

Qwen3.8-27B model card specs
ComponentValue
Parameters27B (dense)
Layers64: 16 x (3 x Gated DeltaNet + 1 x Gated Attention)
Hidden dimension5,120
Gated DeltaNet heads48 for V, 16 for QK, head dim 128
Gated Attention heads24 for Q, 4 for KV, head dim 256
FFN intermediate17,408
Vocabulary248,320 (padded)
Multi-token predictionTrained with multiple steps
Context262,144 native, up to 1,000,000

Qwen 3.8 27B Benchmarks

All numbers below come from Qwen's model card. Qwen ran SWE-bench Pro, NL2Repo-Bench, DeepSWE 1.1, and QwenSWEBench in the Claude Code harness with a 256K window. The Opus 4.6 Max SWE-bench Pro score is Anthropic's published figure. QwenSWEBench and CoWorkBench are Qwen in-house benchmarks.

Text and coding benchmarks (Qwen model card)
BenchmarkQwen3.8-27BQwen3.6-27BMuse Glimmer-30BOpus 4.6 Max
SWE-bench Pro61.753.551.253.4
Terminal-Bench 2.1 (Terminus)73.063.451.778.2
DeepSWE 1.142.213.3----
NL2Repo-Bench42.336.2--47.6
QwenSWEBench (in-house)79.049.3--63.8
LiveCodeBench v690.383.9--88.8
GPQA Diamond89.287.883.591.3
HLE30.824.022.040.0
IFBench79.569.177.062.5
CoWorkBench (in-house)70.761.0--68.2

Opus 4.6 Max still leads on Terminal-Bench 2.1, NL2Repo-Bench, GPQA Diamond, and HLE. On SWE-bench Pro the 27B beats it in Qwen's table, but Qwen re-ran its own baselines on a corrected task set while Opus keeps its official score, so the two numbers were not measured the same way.

Vision and Computer-Use Benchmarks

Qwen3.8-27B is natively multimodal. The largest gains over Qwen3.6-27B are on agent tasks that act through a screen.

Agentic multimodal benchmarks (Qwen model card)
BenchmarkQwen3.8-27BQwen3.6-27BOpus 4.6 Max
OSWorld-Verified (computer use)84.363.972.7
WebArena-Verified (browser use)64.848.8--
AndroidWorld (mobile use)81.970.362.0
SWE-MM (multimodal SWE)38.625.727.1
Vision2Web62.945.0--
OmniDocBench 1.591.189.486.6

Qwen 3.8 27B VRAM Requirements

Weight memory is parameters times bytes per parameter. For 27B parameters that is about 54 GB at BF16, 27 GB at 8-bit, and roughly 14 GB at 4-bit. The KV cache is extra and grows with context length and batch size. Only one layer in four keeps a full-attention KV cache, so long contexts cost less memory than on a dense transformer of the same size.

Approximate weight memory for Qwen3.8-27B
PrecisionWeightsFits on
BF16~54 GBOne 80 GB GPU (H100, A100 80GB)
8-bit (FP8 / Q8)~27 GBOne 48 GB GPU, or a 32 GB card with short context
4-bit (Q4 GGUF)~14 GB24 GB consumer GPUs, Apple silicon with 32 GB+
Sizing rule

Pick the precision whose weights leave at least a quarter of the card free. That headroom holds the KV cache for a useful agent context.

For the GPU side of this math, see NVIDIA H200 pricing and specs.

How to Run Qwen 3.8 27B

Qwen lists SGLang, vLLM, and TokenSpeed recipes on the model card and recommends the latest version of each. The examples below start an OpenAI-compatible server with the standard CLI of each engine.

vLLM

vllm serve Qwen/Qwen3.8-27B --max-model-len 262144

SGLang

python -m sglang.launch_server --model-path Qwen/Qwen3.8-27B --context-length 262144

Ollama

ollama run qwen3.8:27b

Sampling matters more than usual. In thinking mode Qwen recommends temperature 1.0, top_p 0.95, and top_k 20. In non-thinking mode it recommends temperature 0.7, top_p 0.8, top_k 20, and presence_penalty 1.5. The reasoning_effort parameter trades reasoning depth for cost, and preserve_thinking is on by default.

Qwen 3.8 27B vs Qwen 3.6 27B

Both models are dense 27B checkpoints under Apache-2.0 on the same hybrid attention base, and the upgrade is in post-training. In Qwen's table the 27B gains 8.2 points on SWE-bench Pro, 9.6 on Terminal-Bench 2.1, 28.9 on DeepSWE 1.1, and 20.4 on OSWorld-Verified. If you already serve Qwen 3.6, the swap needs no new hardware. Re-tune sampling, because thinking is on by default.

Qwen 3.8 License

The Qwen3.8-27B repository ships the standard Apache License 2.0. That grants copyright and patent licenses for commercial use, modification, and redistribution. The 2.4T flagship, Qwen3.8-2.4T-A95B, uses its own Qwen license, so read that file before you host it.

Pros and Cons

Strengths
  • 61.7 SWE-bench Pro from a dense 27B in Qwen's harness
  • Apache-2.0 weights
  • BF16 weights fit one 80 GB GPU
  • 262K native context, extensible to 1M
  • Image and video input in the same checkpoint
Limitations
  • Coding scores are vendor-run on a corrected task set
  • Thinking on by default raises output tokens
  • Trails Opus 4.6 Max on Terminal-Bench 2.1 and HLE
  • The 2.4T flagship is not Apache-2.0

Frequently Asked Questions

What is Qwen 3.8 27B?

A dense 27B vision-language model from Alibaba's Qwen team, on Hugging Face since August 14, 2026 under Apache-2.0, with 262,144 tokens of native context.

How good is Qwen 3.8 27B at coding?

Qwen reports 61.7 on SWE-bench Pro and 73.0 on Terminal-Bench 2.1, against 53.5 and 63.4 for Qwen3.6-27B.

How much VRAM does Qwen 3.8 27B need?

About 54 GB of weights at BF16, 27 GB at 8-bit, and 14 GB at 4-bit, plus the KV cache.

Is Qwen 3.8 open source?

The 27B is Apache-2.0 open weights. The training data is not released.

How do I turn off thinking in Qwen 3.8?

Disable it per request. The reasoning_effort parameter tunes depth when thinking is on.

Should I upgrade from Qwen 3.6 27B?

For agent work, yes. The hardware is the same and the agentic scores rose by 8 to 29 points in Qwen's table.

Private deployments

The fastest endpoints are private deployments

Morph's top speeds come from dedicated deployments, not shared public endpoints: speculators trained on your traffic, caching tuned to your workload, and volume discounts over public per-token rates. Over 500 billion tokens per day run this way.

Talk to us about a private deployment

Give a Qwen 3.8 agent the right code

WarpGrep searches a repository in parallel and returns only the relevant files, so a 27B model spends its context on the code that matters.

Sources