Qwen3.8-27B hardware requirements: VRAM, GPU and RAM
- Page updated
- Sources checked
- GGUF sizes and embedding tensors checked October 12, 2026; UD-IQ2_XXS November 11
- Capacity estimates, labeled
- Jump to the checker ↓
Qwen3.8-27B is Qwen's 27-billion-parameter open-weight model with a vision encoder and a 262K context, released under Apache 2.0. It is a dense model, so unlike the mixture-of-experts Qwen3.8-Flash-Next it fits a single gaming GPU once quantized.
Short answer: with llama.cpp the 4-bit UD-Q4_K_XL (17.7 GB) needs about 22 GB in total at a 32K context (RigCheck estimate). It fits a 24 GB card (RTX 3090, 4090, RX 7900 XTX) or a 32 GB Mac. A 16 GB card holds the 3-bit UD-IQ3_XXS at 32K, or the 4-bit file partly in system RAM (slower). An 8 GB card holds most layers of the 1-bit UD-IQ1_S, the rest in system RAM; with the 4-bit file most layers run from system RAM. Unsloth's total-memory table (RAM + VRAM) gives 16–19 GB for 4-bit and 12–14 GB for 3-bit.
Can my hardware run Qwen3.8-27B?
Open in a full page ↗Loading private checker…
RigCheck allocation estimate. Input embeddings stay in system RAM even when all decoder layers fit on the GPU. Their per-format sizes and the output tensor come from pinned GGUF headers (read October 12, 2026; UD-IQ2_XXS November 11; UD-Q5_K_XL, UD-Q4_K_XL, UD-IQ4_XS and UD-Q2_K_XL November 12). We add a RigCheck allowance of 0.5 GB for host runtime/staging buffers, separate from the 8 GB OS reserve. Remaining decoder weights are approximated evenly across layers; output weights sit on the last GPU, compute buffers and the vision file on the first. Commands disable automatic fitting with --fit off and pin decoder layers, the output layer and any skipped MTP placement slots with -ngl, using --tensor-split for multiple cards. Nine files (BF16 through UD-Q2_K_XL) have 65 GGUF blocks: 64 decoder blocks plus one MTP block. Plain generation skips the MTP tensors, but llama.cpp still counts that placement slot; full decoder offload uses -ngl 66. UD-IQ2_XXS and UD-IQ1_S have 64 blocks and use -ngl 65. The memory estimate conservatively budgets the whole file, including unused MTP weights. Actual tensor placement and buffer peaks can still differ; confirm runtime allocation before filling memory. When tied input/output weights cross CPU and GPU buffer types, the estimate also reserves an output copy; unified-memory estimates keep this conservative allowance, though a backend may reuse mapped storage. CPU-only runs do not add that copy.
- Developer
- Qwen Official
- Params
- 27B, dense Official
- Context
- 262,144 tokens natively Official
- Input
- vision encoder for image and video input Official
- License
- Apache 2.0 Official
- KV cache
- 64 KiB per token at f16 RigCheck calculation
- Ollama
- Ollama has qwen3.8:27b Official
- llama.cpp
- llama.cpp supports the architecture, Unsloth publishes GGUF files Unsloth
How much VRAM does Qwen3.8-27B need?
Unsloth's GGUF files as Hugging Face lists them (decimal GB, read October 9, 2026; UD-IQ2_XXS as re-uploaded on November 10, read November 11; UD-Q5_K_XL, UD-Q4_K_XL, UD-IQ4_XS and UD-Q2_K_XL as re-uploaded on November 11, read November 12), and the total memory each needs at a 32K context with an f16 KV cache and no image input (RigCheck estimate). The official weights are BF16, 55.6 GB in safetensors.
| File | File size | Needs at 32K | Source |
|---|---|---|---|
| BF16 | 54.7 GB | 59.0 GB | Unsloth |
| Q8_0 | 29.0 GB | 33.3 GB | Unsloth |
| UD-Q6_K_XL | 25.3 GB | 29.6 GB | Unsloth |
| UD-Q5_K_XL | 21.0 GB | 25.3 GB | Unsloth |
| UD-Q4_K_XL | 17.7 GB | 22.0 GB | Unsloth |
| UD-IQ4_XS | 14.4 GB | 18.7 GB | Unsloth |
| UD-Q3_K_XL | 13.1 GB | 17.4 GB | Unsloth |
| UD-IQ3_XXS | 10.9 GB | 15.2 GB | Unsloth |
| UD-Q2_K_XL | 9.9 GB | 14.2 GB | Unsloth |
| UD-IQ2_XXS | 7.2 GB | 11.5 GB | Unsloth |
| UD-IQ1_S | 6.2 GB | 10.5 GB | Unsloth |
Unsloth's table gives total memory (RAM + VRAM, or unified memory) of 7–8 GB for 1-bit, 9–11 GB for 2-bit, 12–14 GB for 3-bit, 16–19 GB for 4-bit, 23–26 GB for 6-bit, 31 GB for 8-bit and 56 GB for BF16, and says 4-bit "works on 16-19GB VRAM like RTX 5080, 4090 or a Mac with 24GB RAM". Our estimates are higher because they include a 32K KV cache, buffers and an OS reserve. Ollama's default qwen3.8:27b package is 18 GB (q4_K_M).
What hardware can run Qwen3.8-27B?
RigCheck estimate at a 32K context with an f16 KV cache and no image input, from the file sizes above and the assumptions under the checker. "Largest" means the largest of the checker's eleven files.
| Hardware | Largest file that fits fully | With layers in system RAM (slower) |
|---|---|---|
| No GPU + 32 GB RAM | UD-Q4_K_XL (all in RAM, CPU only) | no larger file |
| RTX 4060 (8 GB) + 32 GB RAM | none | UD-Q6_K_XL (53 of 64 layers, 22 GB in RAM) |
| RTX 3060 (12 GB) + 32 GB RAM | UD-IQ2_XXS | Q8_0 (46 of 64 layers, 22 GB in RAM) |
| RTX 5060 Ti (16 GB) + 32 GB RAM | UD-IQ3_XXS | Q8_0 (38 of 64 layers, 19 GB in RAM) |
| RX 9070 XT (16 GB) + 32 GB RAM | UD-IQ3_XXS | Q8_0 (38 of 64 layers, 19 GB in RAM) |
| RTX 4090 (24 GB) + 32 GB RAM | UD-Q4_K_XL | Q8_0 (22 of 64 layers, 12 GB in RAM) |
| RX 7900 XTX (24 GB) + 32 GB RAM | UD-Q4_K_XL | Q8_0 (22 of 64 layers, 12 GB in RAM) |
| RTX 5090 (32 GB) + 32 GB RAM | UD-Q6_K_XL | Q8_0 (5 of 64 layers, 4 GB in RAM) |
| Mac, 16 GB unified | none | not applicable (unified memory) |
| Mac, 24 GB unified | UD-IQ3_XXS | not applicable (unified memory) |
| Mac, 32 GB unified | UD-Q4_K_XL | not applicable (unified memory) |
| Mac, 64 GB unified | Q8_0 | not applicable (unified memory) |
Capacity only, not tested setups. A shorter context or a q8_0 KV cache leaves room for a larger file: at 8K, for example, the KV cache is 0.5 GB instead of 2.1 GB.
Measured Qwen3.8-27B on your own hardware, or tried and it failed? Send us the numbers: paste the benchmark output or log into the form (or email it). After checking it we add it to this page, labeled as a community report and shared under CC BY 4.0.
Qwen3.8-27B specs
| Parameters | 27B, dense Model card |
|---|---|
| Architecture | 64 layers: 16 × (3 Gated DeltaNet + 1 Gated Attention), each followed by a feed-forward block; vision encoder for image and video input Model card |
| Context length | 262,144 tokens natively, up to 1,000,000 with YaRN Model card |
| KV cache | 64 KiB per token at f16 (16 attention layers × 4 KV heads × 256 dims): 2.1 GB at 32K, 8.6 GB at 128K, 17.2 GB at 256K; plus a fixed 0.16 GB DeltaNet state RigCheck calculation |
| License | Apache 2.0 Model card |
| Runtimes | Qwen names Transformers, vLLM, SGLang and TokenSpeed; llama.cpp supports the architecture, Unsloth publishes GGUF files and Ollama has qwen3.8:27b (checked October 9, 2026) |
RigCheck Lab measurements
RigCheck measurement RigCheck Lab measured Qwen3.8-27B itself, with llama.cpp's llama-bench on rented cloud machines with one graphics card each (2026-10-21): all layers on the GPU, flash attention, an f16 KV cache. Each row is one model file at one context on one card, run as separate processes (3 per row); the numbers are the lowest and highest of those runs' averages. They hold only for that file, context, card, host and llama.cpp build: no other setup is shown here.
| Graphics card | Model | File | Context | Prompt processing (tok/s) | Generation (tok/s) | Peak GPU memory (GB) | Runs |
|---|---|---|---|---|---|---|---|
| RTX 4060 Ti 16 GB | Qwen3.8-27B | UD-IQ3_XXS | about 4K | 945–946 | 22.9 | 11.5 | 3 of 3 ran |
| RTX 4060 Ti 16 GB | Qwen3.8-27B | UD-IQ3_XXS | about 32K | 578–579 | 19.8 | 13.4 | 3 of 3 ran |
| RTX 4090 | Qwen3.8-27B | UD-Q4_K_XL | about 4K | 3,144–3,159 | 47.9 | 18.0 | 3 of 3 ran |
| RTX 4090 | Qwen3.8-27B | UD-Q4_K_XL | about 32K | 2,409–2,424 | 43.6 | 19.9 | 3 of 3 ran |
Context: prompt processing times 512 tokens after 3,584 (about 4K) or 32,256 (about 32K) untimed tokens; generation times 128 tokens after the same untimed tokens. Each run repeats its test 3 times, and those single samples vary more than the averages shown (their standard deviations are in the data). Peak GPU memory is the whole card's memory in use as nvidia-smi reports it (MiB, converted to GB), read about every 200 ms, so short spikes can be missed. Hosts: Host 1, RTX 4060 Ti 16 GB, 2026-10-21: Vast.ai machine 39330, 165 W power limit, PCIe 3.0 ×8, Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz with 6 CPU cores and 33.5 GB of RAM allocated, driver 580.173.02, llama.cpp build 11783 (CUDA). Host 2, RTX 4090, 2026-10-21: Vast.ai machine 47598, 400 W power limit (the card ships at 450 W), PCIe 4.0 ×16, AMD EPYC 7402 24-Core Processor with 12 CPU cores and 67.5 GB of RAM allocated, driver 580.142, llama.cpp build 11783 (CUDA). Unsloth re-uploaded UD-Q4_K_XL on 2026-11-11 (now 17,659,407,264 bytes); these UD-Q4_K_XL runs used the earlier file (17,559,178,144 bytes, revision 4ca7207), not the current one. Every run, with its command, file checksum, samples and correction history, is in lab.json (CC BY 4.0); how runs are made and corrected: RigCheck Lab method.
Common setups
The checker's own answer for 8 common setups (graphics cards with 32 or 64 GB of system RAM, then Macs), in the finder's quick mode (graphics cards: llama.cpp on one graphics card, a 32K context, no image input; Macs: llama.cpp in unified memory, a 32K context, no image input). Answers are capacity estimates, not measured setups; "Unknown" means the checker has no route or source for that hardware. Your own setup: the checker.
| Setup | Answer |
|---|---|
| GeForce RTX 3060 (12 GB) + 32 GB RAM | ✓ Fits: UD-IQ2_XXS, GPU memory (input embeddings in system RAM) (capacity estimate) |
| GeForce RTX 4060 Ti (16 GB) + 32 GB RAM | ✓ Fits: UD-IQ3_XXS, GPU memory (input embeddings in system RAM) (capacity estimate) |
| GeForce RTX 3090 / 3090 Ti (24 GB) + 64 GB RAM | ✓ Fits: UD-Q4_K_XL, GPU memory (input embeddings in system RAM) (capacity estimate) |
| GeForce RTX 5090 (32 GB) + 64 GB RAM | ✓ Fits: UD-Q6_K_XL, GPU memory (input embeddings in system RAM) (capacity estimate) |
| Apple Silicon Mac (64 GB unified) | ✓ Fits: Q8_0, unified memory (after raising the Mac's GPU wired-memory limit) (capacity estimate) |
| Mac with M5 Max, 40-core GPU (128 GB unified) | ✓ Fits: BF16, unified memory (after raising the Mac's GPU wired-memory limit) (capacity estimate) |
| Mac Studio M3 Ultra (256 GB unified) | ✓ Fits: BF16, unified memory (after raising the Mac's GPU wired-memory limit) (capacity estimate) |
| Mac Studio M3 Ultra (512 GB unified) | – Unknown This checker covers the graphics cards and machines in its list. |
Machine-readable: the same answers as JSON (CC BY 4.0, attribution "RigCheck").
Related hardware
Graphics card and Mac pages where this page's checker gives an answer, smallest memory first: graphics cards with 64 GB of system RAM, Macs with their unified memory, in the finder's quick mode (capacity estimate; each page lists every model).
- RTX 3060 12 GB: fits: UD-IQ2_XXS, GPU memory (input embeddings in system RAM)
- RTX 4070 Ti: fits: UD-IQ2_XXS, GPU memory (input embeddings in system RAM)
- RTX 4060 Ti 16 GB: fits: UD-IQ3_XXS, GPU memory (input embeddings in system RAM)
- Radeon RX 9060 XT 16 GB: fits: UD-IQ3_XXS, GPU memory (input embeddings in system RAM) (On this Radeon card this is a capacity estimate only: we found no source for this model with llama.cpp's own AMD builds. Ollama lists this card for its ROCm support, but its default package (ollama run qwen3.8:27b, 18 GB) is a different file from the one checked here, so compare its size with your memory first)
- Radeon RX 9070 XT: fits: UD-IQ3_XXS, GPU memory (input embeddings in system RAM) (On this Radeon card this is a capacity estimate only: we found no source for this model with llama.cpp's own AMD builds. Ollama lists this card for its ROCm support, but its default package (ollama run qwen3.8:27b, 18 GB) is a different file from the one checked here, so compare its size with your memory first)
- Radeon VII / Instinct MI50 16 GB: fits with caveats: Q8_0, system RAM, CPU only
All graphics cards · All Macs · Any other machine
FAQ
How much VRAM does Qwen3.8-27B need?
By our estimate about 22 GB at a 32K context for the 4-bit UD-Q4_K_XL (17.7 GB file), so a 24 GB card holds it, and about 15 GB for the 3-bit UD-IQ3_XXS (10.9 GB), which fits a 16 GB card. Unsloth's table lists 16–19 GB of total memory (RAM + VRAM) for 4-bit and does not state the context or cache it assumes.
Can Qwen3.8-27B run on a 16 GB GPU like the RTX 5060 Ti, 5080 or RX 9070 XT?
Yes, by our estimate: UD-IQ3_XXS fits fully at a 32K context, and the 4-bit file runs with part of its layers in system RAM, which is slower.
Can Qwen3.8-27B run on an 8 GB or 12 GB GPU?
With part of it in system RAM. On an 8 GB card with 32 GB of RAM the 1-bit UD-IQ1_S keeps 44 of its 64 layers on the GPU, the 4-bit UD-Q4_K_XL 16 (our estimate at 32K). On a 12 GB card up to the 2-bit UD-IQ2_XXS (7.2 GB) fits fully at 32K; larger files run with some layers in system RAM. For these cards, the Gemma 4 12B page may suit better.
Can I run Qwen3.8-27B on a Mac?
Yes. By our conservative estimate a Mac with 24 GB holds UD-IQ3_XXS and one with 32 GB holds UD-Q4_K_XL at a 32K context; Unsloth says the 4-bit files work on a Mac with 24 GB. Use llama.cpp (Metal) or Ollama.
Can I run Qwen3.8-27B without a GPU?
Yes, with llama.cpp's CPU build: by our estimate 32 GB of RAM holds UD-Q4_K_XL at a 32K context. A dense 27B model is slow on a CPU; we found no published CPU speed.
Is Qwen3.8-27B on Ollama?
Yes: ollama run qwen3.8:27b downloads an 18 GB q4_K_M package. Ollama also lists q8_0 (30 GB), bf16 (56 GB), nvfp4, mxfp8 and MLX builds (checked October 9, 2026).
Qwen3.8-27B or Qwen3.8-Flash-Next?
They need very different hardware. The 27B fits one 24 GB card at 4-bit. Flash-Next is a 125B mixture-of-experts model whose smallest file is 66.4 GB, so it needs a lot of system RAM, or the Strata engine on a gaming PC.
Sources
- Hugging Face: Qwen/Qwen3.8-27B (model card, config.json, license, file sizes)
- Hugging Face: unsloth/Qwen3.8-27B-GGUF and Unsloth's Qwen3.8 guide (GGUF sizes, memory table, llama.cpp commands)
- Ollama library: qwen3.8 tags and Ollama's GPU support list (checked October 9, 2026)
- llama.cpp: src/models/qwen35.cpp, src/llama-hparams.cpp (recurrent state size), src/llama-memory-recurrent.cpp (state follows each layer device) and tools/server/README.md
- Usable-memory reserves, buffers and the offload model are RigCheck assumptions, stated under the checker.
- llama.cpp input, decoder and output device assignment, tied tensor duplication and automatic fit allocation (read October 12, 2026). Per-format input/output tensor sizes were read from the linked GGUF files.