1. Home
  2. Qwen3.8 27B
  3. Mac Studio M5 Max 128GB

Disclosure As an Amazon Associate I earn from qualifying purchases. Some links on this page are affiliate links. If you sign up or buy through them, LocalAI Moa may earn a commission at no extra cost to you.

Fast

Running Qwen3.8 27B on Mac Studio M5 Max 128GB

Running Qwen3.8 27B (UD-Q5_K_M) on Mac Studio M5 Max 128GB at 8K context uses 22.6GB of memory at ~20 tok/s (est.). Fits cleanly in memory with headroom to spare—fast enough for interactive chat and coding.

Weights 19.9GB KV Cache 1.9GB Runtime 0.8GB Total 22.6GB
Tokens/sec
20 Est.
Free Headroom
73.4GB
Max Context
310K
Speed Rank
#22/ 53

Scaling Context Length

Required memory and verdict by context window
ContextRequiredStatus
8K22.6GBFast
16K24.6GBFast
32K28.4GBFast
64K36.2GBFast
128K51.8GBFast

Switching Quantization

Required memory, verdict, and tokens/sec by quantization
QuantRequiredStatusTokens/s
UD-Q3_K_XL15.9GBFast30
UD-IQ4_XS17.1GBFast27
UD-Q4_K_M19.3GBFast24
UD-Q4_K_XL20.4GBFast23
UD-Q5_K_M22.6GBFast20
UD-Q6_K24.7GBRuns Well18
Q8_031.8GBRuns Well14

Other Options

Try Before Buying Affiliate link: LocalAI Moa earns a commission when you sign up and use RunPod at no extra cost to you.
Test Qwen3.8 27B on a cloud GPU before upgrading

Before spending thousands on a new GPU or workstation, spin up an hourly RTX 5090, H100, or B200 on RunPod to verify real-world speed and output quality.

Referral perk · Spend your first $10 after signing up to unlock a $5–$500 random credit bonus.

After creating a RunPod account, paste this setup prompt into ChatGPT, Claude, or Gemini for step-by-step instructions.

I want to run Qwen3.8 27B on a cloud GPU using RunPod. I have already created a RunPod account, and this is my first time setting up a pod. Please look up the current setup steps and guide me step by step—from choosing the right GPU and template to downloading the weights and running inference smoothly.