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.
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:27bOne 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 hardware | Quant to use | Weights | Honest verdict |
|---|---|---|---|
| 8GB (RTX 4060, 5060, 3060 Ti) | None fully on GPU | — | The 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_XXS | 9.95 / 11.09 GiB | Loads, 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_XL | 12.52 GiB | The 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 GiB | What 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_XL | 21.31 / 24.14 GiB | Near-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 context | 16.69 GiB | Tight. 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 unified | UD-Q4_K_XL or Q5_K_M, or the MLX build | 16.69-18.47 GiB | Comfortable. Ollama also publishes qwen3.8:27b-mlx at 18GB for Apple Silicon. |
| Apple 64GB+ / 128GB unified boxes | Q8_0, or BF16 at 96GB+ | 27.06 / 50.91 GiB | Full-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.
| Quant | File size (GB) | ≈ GiB | Smallest card it fits |
|---|---|---|---|
| UD-IQ2_XXS | 9.01 | 8.39 | 12GB |
| UD-IQ2_M | 10.32 | 9.61 | 12GB |
| UD-Q2_K_XL | 10.68 | 9.95 | 12GB |
| UD-IQ3_XXS | 11.91 | 11.09 | 12GB (tight) |
| Q3_K_S | 12.57 | 11.71 | 16GB |
| UD-Q3_K_XL | 13.44 | 12.52 | 16GB — best 16GB pick |
| Q3_K_M | 13.82 | 12.87 | 16GB |
| IQ4_XS | 15.71 | 14.63 | 16GB (tight) |
| Q4_0 | 16.06 | 14.96 | 16GB (tight) |
| Q4_K_S | 16.12 | 15.01 | 24GB |
| IQ4_NL | 16.34 | 15.22 | 24GB |
| Q4_K_M | 17.11 | 15.94 | 24GB |
| Q4_1 | 17.54 | 16.34 | 24GB |
| UD-Q4_K_XL | 17.92 | 16.69 | 24GB — the default recommendation |
| Q5_K_S | 19.27 | 17.95 | 24GB |
| Q5_K_M | 19.83 | 18.47 | 24GB |
| UD-Q5_K_XL | 20.22 | 18.83 | 24GB |
| Q6_K | 22.88 | 21.31 | 24GB (tight) / 32GB |
| UD-Q6_K_XL | 25.92 | 24.14 | 32GB |
| Q8_0 | 29.05 | 27.06 | 32GB |
| UD-Q8_K_XL | 31.46 | 29.30 | 32GB (tight) |
| BF16 (2-file split) | 54.66 | 50.91 | 64GB unified / 2× 32GB |
| mmproj-F16 (vision projector) | 0.93 | 0.86 | Add 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 # 56GBLM 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-27bIf 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.0For 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-27B | Qwen3.6-27B |
|---|---|---|
| SWE-bench Pro (agentic coding) | 61.7 | 53.5 |
| Terminal Bench 2.1 | 73.0 | 63.4 |
| LiveCodeBench v6 | 90.3 | 83.9 |
| GPQA Diamond | 89.2 | 87.8 |
| IFBench (instruction following) | 79.5 | 69.1 |
| OSWorld-Verified (computer use) | 84.3 | 63.9 |
| CharXiv RQ (chart reading, no code interpreter) | 83.7 | 78.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_effortdefaults toxhigh. Out of the box, a one-line question can produce a long reasoning trace before the answer. Set it tolowormediumfor 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: falseif 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?
Is there a Qwen3.8-9B or a smaller official version?
Can a 12GB card run Qwen3.8-27B?
What license is Qwen3.8-27B under?
Should I upgrade from Qwen3.6-27B?
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-GGUFrepository 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
- → Qwen3.6-27B — the previous generation, same memory class
- → Best LLMs for 24GB VRAM — what else fits alongside it
- → Best LLMs for 16GB VRAM — if 3-bit is not for you
- → Best Ollama models ranked — where qwen3.8:27b sits in the lineup
- → Apple Silicon buying guide — how much unified memory you actually need
Go from reading about AI to building with AI
20 structured courses. Hands-on projects. Runs on your machine. Start free.
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.