ai.canshu.com
中文
VRAM Calculator Advisor & TCO API Pricing Compare Models Leaderboard GPUs

Search models, GPUs, and tools

↑↓ Navigate · Enter Open · ★ Watchlist prioritized ai.canshu.com
Q4_K_M: Smooth Fit 19.83 GB / 46.1 GB Usable

Qwen3.8-27B on 摩尔线程 MTT S4000 48GB (GDDR6): VRAM Requirement & Speed Estimate

Yes. At Q4_K_M 4-bit quantization with a 16K context window, Qwen3.8-27B requires 19.83 GB of VRAM (16.85 GB weights + 1.34 GB KV cache + 1.64 GB overhead), fitting within 摩尔线程 S4000 48G's 46.1 GB usable memory at ~31.6 tokens/s.

Concurrency (Batch):
Dense 27.8B·64L (d=5120)·24Q/4KV·Ctx 256K·Text+Image+Video
Runnable Models →
GPUs
48 GB VRAM·768 GB/s·Safe Usable 46.1 GB
Smooth Fit19.83 / 46.1 GB~31.6 tok/s
3. Weight Quantization
4. Per-Request Context16K (16,384 tok)
Verified: 2026-11-20·Roofline bandwidth/compute estimate (Batch=1)
Smooth Fit
19.83/ 46.1 GB usable

Physical 48 GB · Load 43%

Theoretical Decode Speed
~31.6tokens/s

Actual speed varies ~±25% by runtime

Max Context at Batch=1
256K/ 256K

Enable Q8/Q4 KV quantization to scale batch concurrency

Weights: 16.85 GBKV Cache (1×16K): 1.34 GBOverhead: 1.64 GB
🏃 Smooth & Snappy~15.8s for a 500-token response
Reference Launch CLI:
OLLAMA_CONTEXT_LENGTH=16384 ollama run qwen3-8-27b

摩尔线程 S4000 48G Fits Qwen3.8-27B · Cost & TCO

Approx. $5,000 (~$104/GB VRAM) · 450W TDP

📊 All Quantization Levels for Qwen3.8-27B on 摩尔线程 S4000 48G

Quantization Total VRAM (16K) Verdict Est. Speed Max Context
FP16 / BF16 59.35 GB Partial RAM Offload (Slow) ~3.8 tok/s —
FP8 / Q8_0 32.77 GB Smooth Fit ~18.3 tok/s 214K
GGUF Q6_K 25.89 GB Smooth Fit ~23.6 tok/s 256K
GGUF Q5_K_M 22.81 GB Smooth Fit ~27.1 tok/s 256K
Q4_K_M / AWQ 19.83 GB Smooth Fit ~31.6 tok/s 256K
GGUF IQ4_XS 17.7 GB Smooth Fit ~35.8 tok/s 256K
GGUF Q3_K_M 16.5 GB Smooth Fit ~38.8 tok/s 256K
GGUF Q2_K 13.8 GB Smooth Fit ~47.6 tok/s 256K

💡 Recommended Alternative GPUs & Macs for Qwen3.8-27B

Frequently Asked Questions

Can 摩尔线程 MTT S4000 48GB (GDDR6) run Qwen3.8-27B locally?

Yes. At Q4_K_M 4-bit quantization with a 16K context window, Qwen3.8-27B requires 19.83 GB of VRAM (16.85 GB weights + 1.34 GB KV cache + 1.64 GB overhead), fitting within 摩尔线程 S4000 48G's 46.1 GB usable memory at ~31.6 tokens/s.

What is the best quantization for Qwen3.8-27B on 摩尔线程 S4000 48G?

The highest-quality quantization that fits cleanly on 摩尔线程 S4000 48G is FP8 / Q8_0 (99.9% Near-Lossless), using 32.77 GB VRAM at ~18.3 tokens/s with up to 214K context.

How much VRAM does Qwen3.8-27B need in full FP16 precision?

In unquantized FP16/BF16 precision (16K context), Qwen3.8-27B requires 59.35 GB VRAM (55.6 GB for weights alone).