llmrun
PhalaCloudGLM 5GlmMoeDsaForCausalLM

GLM 5.3 W4AFP8 — Hardware Requirements & GPU Compatibility

Chat

GLM 5.3 W4AFP8 is a 386.1B-parameter open language model from PhalaCloud in the GLM 5 family. It supports a context window of up to 1,048,576 tokens. At Q4_K_M it needs about 235.89 GB of VRAM — see which GPUs and Macs can run it below.

386.1B params · dense1049K contextMIT1.8K downloads8 likes
Based on GLM 5.3 BF16

GLM 5.3 W4AFP8 runs on a 256 GB+ Mac or a datacenter GPU

Best local pick → Mac Studio M5 Ultra (256 GB) · Q4_K_M · 233.4 GB · ~5 tok/s

Macs from192 GB Q2_K · ~5 tok/s

MIT

Not set up for it?

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run GLM 5.3 W4AFP8

One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.

Recommended

vLLM
one command · needs vLLM installed
$vllm serve PhalaCloud/GLM-5.3-W4AFP8 --max-model-len 16384 --tensor-parallel-size 8

vLLM repo with its own quantisation

Download: Weights on Hugging Face

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run in cloud

Runs on B300 (288 GB) (54 GB headroom) · Q4_K_M

Generation speed
~27 tok/s
generation speed
Cost per 1M output tokens
$71.14
per 1M output tokens

How Much VRAM Does GLM 5.3 W4AFP8 Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KRuns on
168.3 GB167.3 GB2-bit · K-quant — 2-bit quantization with K-quant improvementsRuns on B200 192 GB
192.4 GB191.5 GB3-bit medium — 3-bit medium quantizationRuns on B200 192 GB
235.9 GB234.9 GB4-bit medium — 4-bit medium quantization — most popular sweet spotRuns on Instinct MI325X 256 GB
279.3 GB278.4 GB5-bit medium — 5-bit medium quantization — good quality/size tradeoffRuns on Instinct MI350X 288 GB
322.8 GB321.8 GB6-bit, very good — 6-bit quantization, very good qualityRuns on 5× H100 SXM 80 GB
390.3 GB389.4 GB8-bit, near-lossless — 8-bit quantization, near-losslessRuns on 6× H100 SXM 80 GB
776.5 GB775.5 GB16-bit · bfloat — Brain floating point 16 — preferred for trainingRuns on 7× H200 SXM 141 GB
est.calculated, no published file yet

Selected Q4_K_M

4-bit medium quantization

233.4GBat 16K context

Weights
231.7 GB
KV cache
1.5 GB
Overhead
0.3 GB

Server-class: ~233.4 GB at 16K context · one Instinct MI325X 256 GB

Or .

Which Hardware Can Run GLM 5.3 W4AFP8?

Q4_K_M · 235.9 GB

GLM 5.3 W4AFP8 (Q4_K_M) requires 235.9 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 307+ GB is recommended. Using the full 1049K context window can add up to 90.3 GB, bringing total usage to 326.2 GB. No consumer GPU has enough memory. 4 devices with unified memory can run GLM 5.3 W4AFP8, including Mac Studio M5 Ultra (512 GB), Mac Studio (M3 Ultra, 512GB), Mac Studio M5 Ultra (256 GB).

By VRAM tier · typical GPUs and Macs at Q4_K_M

Consumer GPUs (up to 32 GB) and Macs up to 128 GB: too small for this model (needs ≥ 165.9 GB)8 GB tier →12 GB tier →16 GB tier →24 GB tier →Macs →

Alternatives to GLM 5.3 W4AFP8

GLM 5 family · 7 models →

Similar models

6
ModelScoreVRAMWhy it is similar
GLM 4.5Z.ai100.9217.9 GBsame size
Llama 4 Maverick 17B 128E InstructMeta88.5272.7 GBsame size
Llama 3.1 405B InstructMeta83.4275.6 GBsame size
Intern S2 397BInternLM—242.6 GBsame size
Ornith 1.5 397Bornith-ai—242.6 GBsame size
Trinity Large ThinkingArcee AI—799.6 GBsame size

Specifications

Publisher
PhalaCloud
Family
GLM 5
Parameters
386.1B
Architecture
GlmMoeDsaForCausalLM
Context Length
1,048,576 tokens
Vocabulary Size
154,880
Release Date
2026-08-28
License
MIT

Frequently Asked Questions

How much VRAM does GLM 5.3 W4AFP8 need?

GLM 5.3 W4AFP8 requires 235.9 GB of VRAM at Q4_K_M, or 776.5 GB at BF16. Full 1049K context adds up to 90.3 GB (326.2 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 386.1B × 4.8 bits ÷ 8 = 231.7 GB

KV Cache + Overhead ≈ 4.2 GB (at 2K context + ~0.3 GB framework)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

KV Cache + Overhead ≈ 94.5 GB (at full 1049K context)

VRAM usage by quantization

235.9 GB
326.2 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 5090 run GLM 5.3 W4AFP8?

No — GLM 5.3 W4AFP8 requires at least 168.3 GB at Q2_K, which exceeds the NVIDIA GeForce RTX 5090's 32 GB of VRAM.

What's the best quantization for GLM 5.3 W4AFP8?

For GLM 5.3 W4AFP8, Q4_K_M (235.9 GB) offers the best balance of quality and VRAM usage. Q5_K_M (279.3 GB) provides better quality if you have the VRAM. The smallest option is Q2_K at 168.3 GB.

VRAM requirement by quantization

Q2_K
168.3 GB
Q4_K_M ★
235.9 GB
Q5_K_M
279.3 GB
Q6_K
322.8 GB
Q8_0
390.3 GB
BF16
776.5 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run GLM 5.3 W4AFP8 on a Mac?

Yes — Mac Pro M2 Ultra (192 GB) and 5 other Macs can run GLM 5.3 W4AFP8, the smallest at Q2_K. Apple Silicon uses unified memory, so the model shares RAM with the system. At Q4_K_M you need at least 235.9 GB of usable unified memory (RAM minus macOS overhead), from Mac Studio M5 Ultra (256 GB).

Can I run GLM 5.3 W4AFP8 locally?

Yes — GLM 5.3 W4AFP8 can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is GLM 5.3 W4AFP8?

At Q4_K_M, GLM 5.3 W4AFP8 can reach ~27 tok/s on AMD Instinct MI350X. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: AMD Instinct MI350X → 8000 ÷ 235.9 × 0.80 = ~27 tok/s

Estimated speed at Q4_K_M (235.9 GB)

~27 tok/s
~27 tok/s
~27 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of GLM 5.3 W4AFP8?

At Q4_K_M, the download is about 231.67 GB. The full-precision BF16 version is 772.22 GB. The smallest option (Q2_K) is 164.10 GB.

Which GPUs can run GLM 5.3 W4AFP8?

No single consumer GPU has enough VRAM to run GLM 5.3 W4AFP8 at Q4_K_M (235.9 GB). Multi-GPU or professional hardware is required.

Which devices can run GLM 5.3 W4AFP8?

4 devices with unified memory can run GLM 5.3 W4AFP8 at Q4_K_M (235.9 GB), including Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB), Mac Studio M5 Ultra (256 GB), Mac Studio M5 Ultra (512 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.