★ Reading this for free? Get 20 structured AI courses + per-chapter AI tutor — the first chapter of every course free, no card.Start free in 30 seconds

Alibaba Qwen · Apache 2.0 · Vision + Text

Can Your GPU Run Qwen3.8-27B? VRAM by Quant

Qwen shipped Qwen3.8 in two sizes: a 27B you might be able to run, and a 2.4-trillion-parameter MoE you definitely cannot. There is nothing in between. So the only question that matters for most people is whether the 27B fits the card you already own — and the answer sits right on the edge of the most common consumer GPU tier. This page works through it with file sizes read off the actual GGUF repository, not estimates.

📅 Published: August 23, 2026🔄 Last Updated: August 23, 2026✓ Manually Reviewed

Short answer

You need a 24GB card. Ollama ships exactly one build — qwen3.8:27b at 18GB — and that is the only tier where 4-bit, a 0.9GB vision projector and a usable context window all fit at once. 16GB owners drop to 3-bit and it still works. 12GB owners are running a 27B model at 2-bit and should probably run something else. 8GB owners cannot fit any published quant on the GPU at all — the smallest one in existence is already 8.4 GiB before you load a single token of context.

ollama pull qwen3.8:27b

One number worth knowing before you read the tables: GPU makers quote VRAM in GiB, Hugging Face lists file sizes in decimal GB. A “24GB” card is really 25.8 decimal GB. That gap is about 7% of free headroom that most fit calculators quietly throw away, so both units are in the tables below.

Key facts, and where each came from

  • Dense 27B, 64 layers, hidden dim 5120 — from the Qwen3.8-27B model card.
  • Hybrid attention — the card describes the layout as 16 × (3 × Gated DeltaNet → FFN, then 1 × Gated Attention → FFN). Only a quarter of the blocks use full attention.
  • 262,144-token native context, extensible to about 1M with YaRN, per the model card.
  • Native vision — the HF pipeline tag is image-text-to-text, and the card documents both image and video input.
  • Apache 2.0 — the license field on the model card. Commercial use, no caps.
  • Thinking is on by default at reasoning_effort="xhigh". Budget for that or turn it down.

Fit table by VRAM tier

24GB is the intended home; 16GB is the cheapest tier that still feels like the real model. Sizes below are the published file sizes in unsloth/Qwen3.8-27B-GGUF, converted to GiB so they compare directly against your card. Weights are not the whole story — leave headroom for KV cache, and add 0.86 GiB if you want image input.

Your hardwareQuant to useWeightsHonest verdict
8GB (RTX 4060, 5060, 3060 Ti)None fully on GPUThe smallest published GGUF, UD-IQ2_XXS, is 8.4 GiB. It does not fit before context. Offload to system RAM and accept single-digit tokens/sec, or pick a smaller model.
12GB (RTX 3060 12GB, 5070, Arc B580)UD-Q2_K_XL or UD-IQ3_XXS9.95 / 11.09 GiBLoads, barely. IQ3_XXS leaves under a gigabyte for KV cache. This is a 27B model squeezed to 2-3 bits — see the 12GB section below before you commit.
16GB (RTX 4060 Ti 16GB, 5060 Ti 16GB, 4080, RX 9070 XT)UD-Q3_K_XL12.52 GiBThe value pick. Roughly 3.5 GiB left for context and the vision projector. IQ4_XS (14.63 GiB) also fits if you keep context short.
24GB (RTX 3090, 4090, RX 7900 XTX)UD-Q4_K_XL (or Ollama’s default)16.69 GiBWhat the model was built for. Weights, vision projector and a real context window all fit. Q5_K_M (18.47 GiB) also works if you keep context modest.
32GB (RTX 5090, Radeon AI Pro R9700)Q6_K, or UD-Q6_K_XL21.31 / 24.14 GiBNear-lossless with room to spare. Q8_0 (27.06 GiB) fits too but leaves little for long context.
Apple 24GB unified (M4 / M4 Pro)UD-Q4_K_XL, short context16.69 GiBTight. macOS reserves memory for everything else, so treat 24GB as roughly 17-18GB usable. UD-Q3_K_XL is the safer choice here.
Apple 32-48GB unifiedUD-Q4_K_XL or Q5_K_M, or the MLX build16.69-18.47 GiBComfortable. Ollama also publishes qwen3.8:27b-mlx at 18GB for Apple Silicon.
Apple 64GB+ / 128GB unified boxesQ8_0, or BF16 at 96GB+27.06 / 50.91 GiBFull-fat territory. BF16 is a 2-file split totalling 54.66 GB on disk.

Cross-check against Unsloth’s own published requirement bands for this model — 11-13 GB at 2-bit, 13-16 GB at 3-bit, 17-19 GB at 4-bit, 24 GB at 6-bit, 31 GB at 8-bit, 56 GB at BF16, measured as total RAM + VRAM. Those are a little higher than raw weights because they include runtime overhead — they are the numbers to plan against, since raw file size never accounts for the runtime.

Not sure which tier you are in? The VRAM calculator and the full Ollama RAM/VRAM table cover the rest of the catalogue.

Every quant, with real file sizes

Twenty-two weight builds exist, from 9.01 GB to a 54.66 GB BF16 split, plus two vision-projector files. These are the actual file sizes in the Unsloth GGUF repository as of 18 August 2026, not derived estimates. The UD- prefix marks Unsloth’s dynamic quants, which vary bit-width per layer instead of applying one setting everywhere.

QuantFile size (GB)≈ GiBSmallest card it fits
UD-IQ2_XXS9.018.3912GB
UD-IQ2_M10.329.6112GB
UD-Q2_K_XL10.689.9512GB
UD-IQ3_XXS11.9111.0912GB (tight)
Q3_K_S12.5711.7116GB
UD-Q3_K_XL13.4412.5216GB — best 16GB pick
Q3_K_M13.8212.8716GB
IQ4_XS15.7114.6316GB (tight)
Q4_016.0614.9616GB (tight)
Q4_K_S16.1215.0124GB
IQ4_NL16.3415.2224GB
Q4_K_M17.1115.9424GB
Q4_117.5416.3424GB
UD-Q4_K_XL17.9216.6924GB — the default recommendation
Q5_K_S19.2717.9524GB
Q5_K_M19.8318.4724GB
UD-Q5_K_XL20.2218.8324GB
Q6_K22.8821.3124GB (tight) / 32GB
UD-Q6_K_XL25.9224.1432GB
Q8_029.0527.0632GB
UD-Q8_K_XL31.4629.3032GB (tight)
BF16 (2-file split)54.6650.9164GB unified / 2× 32GB
mmproj-F16 (vision projector)0.930.86Add on top of any of the above

Ollama’s own tag list is much shorter: twelve tags, all 27B, all reporting a 256K context window and text-plus-image input. The sizes it reports are 18GB (default, q4_K_M, MTP and NVFP4 variants), 30GB (q8_0), 32GB (mxfp8) and 56GB (bf16). If you want anything below 18GB you have to leave Ollama’s registry and pull a GGUF directly.

There is no small Qwen3.8, and that is the whole problem

Qwen published four Qwen3.8 repositories: the 27B, its FP8 twin, a 2.4T-A95B MoE, and that MoE’s FP8 twin. Nothing else. Previous generations trained people to expect a ladder — a 4B, an 8B, a 14B, something that fits a laptop. This generation skipped it. Either you clear roughly 17GB of memory or you are not running Qwen3.8 at anything like full quality.

That vacuum has been filled by community repos, and you should be careful with them. There is an empero-ai/Qwen3.8-9B on Hugging Face, created on 15 August, ten days after Qwen’s own repo went up. It is somebody’s prune of the 27B, not a Qwen model, and no third-party evaluation of it exists. The benchmark table on the official card tells you nothing about it. Treat every “Qwen3.8-<small number>B” repo as an unvalidated experiment.

If 27B does not fit, the honest move is a different family rather than a damaged Qwen3.8. Our local model guide and the 12GB VRAM picks list models actually designed for the memory you have.

The 12GB workaround, and whether it is worth doing

It exists, people are using it, and we would still tell you not to. Someone built and published soyaakinohara/qwen3.8-27b-abliterated-3.69bpw-12GB-MTP.gguf — a single ~12.6 GB file, 3.69 bits per weight, named after the constraint it was built for. It had about 2,300 downloads and 41 likes when we checked on 18 August, so the demand is real.

Two things about it that the filename does not tell you:

  • 1.12.6 GB does not fit in a 12GB card. 12 GiB is 12.88 decimal GB, so the weights alone leave roughly 0.28 GB of headroom — less than any usable KV cache. You will be offloading layers to system RAM regardless.
  • 2.It is an abliterated build. That means the refusal behaviour has been surgically removed. Whatever you think of that as a feature, it is a modification to the weights on top of a heavy quantisation, and it is not the model Qwen evaluated.

If you genuinely want to see Qwen3.8 on a 12GB card, start with the stock UD-Q2_K_XL at 9.95 GiB instead — same tier of quality loss, no unrelated modifications, and it actually fits. Then be honest with yourself about the output. A 27B model at 2 bits is not obviously better than a well-chosen 12B at 4 bits, and it is considerably slower.

Install: Ollama, LM Studio, llama.cpp

Ollama is one command and gives you the 18GB build; llama.cpp is the only route to the smaller quants.

Ollama

# default — 18GB, q4_K_M, 256K context, text + image
ollama pull qwen3.8:27b
ollama run qwen3.8:27b

# explicit alternatives from the same registry
ollama pull qwen3.8:27b-q8_0     # 30GB
ollama pull qwen3.8:27b-mlx      # 18GB, Apple Silicon MLX build
ollama pull qwen3.8:27b-bf16     # 56GB

LM Studio

The model is in LM Studio’s catalogue as qwen/qwen3.8-27b. Search “qwen3.8” in the Discover tab, or from the CLI:

lms get qwen/qwen3.8-27b

If the model appears but refuses to load, update your llama.cpp runtime in LM Studio’s runtime settings — Qwen3.8 uses the Qwen3.5-family architecture identifier, and older bundled runtimes will not recognise it.

llama.cpp (the only way to get 2-bit and 3-bit)

pip install -U "huggingface_hub[cli]"

# 24GB card
hf download unsloth/Qwen3.8-27B-GGUF \
  --local-dir Qwen3.8-27B-GGUF --include "*UD-Q4_K_XL*"

# 16GB card
hf download unsloth/Qwen3.8-27B-GGUF \
  --local-dir Qwen3.8-27B-GGUF --include "*UD-Q3_K_XL*"

./llama.cpp/llama-cli \
  --model Qwen3.8-27B-GGUF/Qwen3.8-27B-UD-Q4_K_XL.gguf \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0

For image input build the llama-mtmd-cli target as well and pass the mmproj-F16.gguf file alongside the weights. New to llama.cpp or Ollama? Start with the complete Ollama guide.

Sampling settings that matter

Qwen publishes two distinct parameter sets and the difference is not cosmetic. Thinking mode: temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0. Non-thinking mode: temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5. Using thinking-mode temperature with thinking disabled is a common way to end up convinced a good model is bad.

Vision and context: what they actually cost you

Vision costs 0.86 GiB of weights plus whatever the image consumes in context; long context costs something we have not been able to pin down, so start conservative.

The vision half is easy to budget. The projector file, mmproj-F16.gguf, is 0.93 GB — 0.86 GiB. Load it alongside the weights and image understanding works; skip it and you have a text model. On a 24GB card with UD-Q4_K_XL that is 17.55 GiB of the 24 GiB spoken for, which is comfortable. On a 16GB card with UD-Q3_K_XL it is 13.38 GiB of 16, which is workable but tightens your context budget considerably.

Context is the honest gap in this page. Qwen3.8-27B is not a conventional all-attention transformer: the model card describes 16 repeats of a block containing three Gated DeltaNet layers for every one Gated Attention layer, so only 16 of the 64 layers carry a standard KV cache. That is exactly the design choice that makes a 262K native window plausible on a consumer card at all. But neither Qwen nor Unsloth publishes a KV-cache-per-token figure for this architecture, and we have not measured it ourselves yet, so we are not going to invent a number for “VRAM at 256K context”.

Practical advice instead: start at 32K, watch actual VRAM usage in nvidia-smi or Activity Monitor, and raise it until you are about 1GB from the ceiling. If you need the full 262K, or the ~1M that YaRN extension unlocks, you want a 32GB card or a large unified-memory box rather than a 24GB one — see the hardware hub for what that costs in the current GPU pricing situation.

Qwen3.6-27B → Qwen3.8-27B: worth swapping?

Yes, if you are already on a 24GB card — it is a drop-in replacement at the same file size that adds vision and doubles the context. Qwen3.6-27B Q4_K_M was around 17GB; Qwen3.8-27B Q4_K_M is 17.11 GB. Same tier, same card, same install ritual.

Benchmark (Qwen’s own reported figures)Qwen3.8-27BQwen3.6-27B
SWE-bench Pro (agentic coding)61.753.5
Terminal Bench 2.173.063.4
LiveCodeBench v690.383.9
GPQA Diamond89.287.8
IFBench (instruction following)79.569.1
OSWorld-Verified (computer use)84.363.9
CharXiv RQ (chart reading, no code interpreter)83.778.4

Every number above is from the comparison table Qwen publishes on the Qwen3.8-27B model card, run by Qwen on their own harnesses. We have not independently reproduced any of them. Vendors pick benchmarks that flatter their release; the direction is almost certainly right, the margins may not be.

The concrete, non-benchmark upgrades are easier to trust: native image and video input where 3.6 had none, 262,144 tokens of native context against 3.6’s 128K, and reasoning_effort as a real dial rather than an on/off switch. Our existing Qwen3.6-27B page stays accurate for anyone who wants to stick, and the Qwen local setup guide covers the family-wide plumbing.

Where it is worse, or just annoying

  • It thinks by default, at maximum effort. reasoning_effort defaults to xhigh. Out of the box, a one-line question can produce a long reasoning trace before the answer. Set it to low or medium for anything conversational — in llama.cpp that is --chat-template-kwargs ‘{"reasoning_effort":"medium"}’.
  • Preserved thinking eats context. The model retains reasoning blocks from every prior turn by default. Qwen argues this improves consistency in agent loops, and it does help KV cache reuse — but in a long chat it quietly consumes your window. Disable with preserve_thinking: false if you notice sessions getting expensive.
  • No small sibling. Covered above, but it is the single biggest practical drawback of this release for anyone below 16GB.
  • It does not top every chart. On Qwen’s own table, Opus 4.6 Max leads on Terminal Bench 2.1, HLE, GPQA Diamond and repo-level generation; Qwen3.7-Plus leads on OmniDocBench and RealWorldQA. This is an excellent model for its memory footprint, not a frontier-beater.
  • Consumer speed is unmeasured. The only throughput figures we could find in Unsloth’s Qwen3.8 documentation are for the 2.4T MoE on B200s, not for the 27B — and a datacenter GPU tells you nothing reliable about your 4090 anyway. Nobody, us included, has published tokens-per-second for this model on consumer cards yet, so we are not going to invent one. We will add measured numbers when we have run them ourselves.

Frequently asked questions

How much VRAM does Qwen3.8-27B actually need?
The number you will see everywhere is 18GB, because that is what Ollama reports for the default qwen3.8:27b tag. Going to the source: the Q4_K_M GGUF in unsloth/Qwen3.8-27B-GGUF is 17.11 GB on disk (about 15.9 GiB), and Unsloth's own model page gives a 17-19 GB requirement for 4-bit including overhead. Add roughly 0.9 GB for the vision projector if you want image input, plus KV cache for whatever context you set. In practice: a 24GB card runs 4-bit comfortably, a 16GB card runs 3-bit, and anything smaller means offloading to system RAM.
Is there a Qwen3.8-9B or a smaller official version?
No. Checked on 18 August 2026, the Qwen organisation on Hugging Face has published exactly four Qwen3.8 repos: Qwen3.8-27B, Qwen3.8-27B-FP8, Qwen3.8-2.4T-A95B and Qwen3.8-2.4T-A95B-FP8. There is nothing between 27B and 2.4 trillion. You will find community repos named things like Qwen3.8-9B — the most-liked one had a few hundred downloads when we looked — but those are third-party prunes or distills, not Qwen releases, and they carry none of the evaluation the official model does. If 27B does not fit your card, run a smaller model from a different family rather than an unvalidated prune.
Can a 12GB card run Qwen3.8-27B?
Partially, and only at 2-bit-class quality. The smallest GGUF Unsloth publishes is UD-IQ2_XXS at 9.01 GB (about 8.4 GiB) and UD-Q2_K_XL at 10.68 GB (about 9.9 GiB) — both technically load on a 12GB card, but with almost no room left for context or the vision projector. There is also a community build, soyaakinohara/qwen3.8-27b-abliterated-3.69bpw-12GB-MTP.gguf, made specifically for this problem at about 12.6 GB — note that is larger than a 12GB card, so it still needs partial offload, and it is an abliterated (safety-stripped) derivative rather than the stock model. Honest answer: a 12GB card is the wrong tool for this model.
What license is Qwen3.8-27B under?
Apache 2.0, per the license field on the Hugging Face model card. That means commercial use with no revenue caps and no separate agreement — the same permissive footing as Qwen3.6. The Unsloth and other community GGUF conversions inherit it.
Should I upgrade from Qwen3.6-27B?
If you already run Qwen3.6-27B on a 24GB card, yes — the file size is nearly identical, so it is a like-for-like swap, and you gain native image and video understanding plus a 262,144-token native context instead of Qwen3.6's 128K. Qwen's own comparison table has 3.8 ahead of 3.6 on every row it reports, sometimes by a lot (SWE-bench Pro 61.7 vs 53.5, OSWorld-Verified 84.3 vs 63.9). Those are vendor-reported numbers from Qwen's model card, so treat the margins as directional. The one reason to stay on 3.6 is if you have prompts tuned around its non-thinking behaviour, since 3.8 thinks by default at xhigh reasoning effort and will burn far more tokens until you turn that down.

Get a 24GB box actually earning its keep

The Local AI Master deployment course covers serving a single-GPU model properly: quant selection, context budgeting, editor integration and keeping it running.

See the course →

Sources

  • Qwen3.8-27B model card on Hugging Face — architecture, context length, licence, sampling settings, benchmark table
  • unsloth/Qwen3.8-27B-GGUF repository file listing — every quant file size on this page
  • Unsloth’s Qwen3.8 run-locally documentation — hardware requirement bands and llama.cpp commands
  • ollama.com/library/qwen3.8 tag list — the twelve published tags and their reported sizes
  • LM Studio model catalogue entry qwen/qwen3.8-27b — catalogue name used in the install section

Related

🎯
AI Learning Path

Go from reading about AI to building with AI

20 structured courses. Hands-on projects. Runs on your machine. Start free.

Or own it for life — Lifetime $149 $599, pay once
LM

Written by the Local AI Master Team

The team behind Local AI Master

We build Local AI Master around practical, testable local AI workflows: model selection, hardware planning, RAG systems, agents, and MLOps. The goal is to turn scattered tutorials into a structured learning path you can follow on your own hardware.

✓ Local AI Curriculum✓ Hands-On Projects✓ Open Source Contributor
More on AI Models Directory
See the full AI Models Directory guide.
📚
Free · no account required

Grab the AI Starter Kit — career roadmap, cheat sheet, setup guide

No spam. Unsubscribe with one click.

🎯
AI Learning Path

Found your model? Now build something with it.

25 hands-on courses — RAG, agents, fine-tuning — all running locally. First chapter free, no card.

Or own it for life — Lifetime $149 $599, pay once
Free Tools & Calculators