Guideschevron_rightServers

Servers · 8 min read · Updated

How to Run GLM-5.3-Flash on Your Own Server

GLM-5.3-Flash is a 320-billion-parameter open model under the MIT licence, but it uses only 18 billion parameters per token, so it runs on a server with a lot of ordinary memory. Plan for about 150 GB at 2-bit, 198 GB at 4-bit, or 350 GB for the original FP8 weights. Start it with llama serve -hf ggml-org/GLM-5.3-Flash-GGUF:Q4_K; with a recent NVIDIA card as well, KTransformers runs the full-quality FP8 weights.

What GLM-5.3-Flash Is

GLM-5.3-Flash at a glance
FeatureGLM-5.3-Flash
Parameters320B total, 18B active per token
ContextUp to 1,048,576 tokens
InputText, images and video
Reasoning effortlow, high, max (default)
LicenceMIT
Original weightsFP8, about 306 GiB
llama.cpp buildsQ2_K_S 110 GB, Q2_K 133.8 GB, Q4_K 181.4 GB, Q8_0 341 GB

From Z.ai's model card, llama.cpp's builds, Unsloth's guide and vLLM's recipe. Lower-bit builds are smaller and lose quality: Unsloth measured its 3-bit build choosing the same next word as the full model 87% of the time, and its 1-bit build 71%.

Dedicated Servers That Can Run It

The largest build that fits the biggest memory option of each server, leaving 16 GB for the system and the conversation. Beyond fitting it, memory bandwidth decides the speed: more memory channels, all filled, mean faster answers.

Dedicated servers with enough memory for GLM-5.3-Flash
ServerMemoryLargest buildFrom
AMD Ryzen 9 5950X128 GBQ2_K_S$399.00/mo
Intel Core Ultra 9 285K128 GBQ2_K_S$399.00/mo
AMD Ryzen 9 7950X128 GBQ2_K_S$479.00/mo
AMD EPYC 4585PX128 GBQ2_K_S$849.00/mo
AMD Ryzen 9 9950X192 GBQ2_K$669.00/mo
AMD EPYC 9B14192 GBQ2_K$1,189.00/mo
AMD Dual EPYC 7502256 GBQ4_K$529.00/mo
AMD EPYC 9334256 GBQ4_K$829.00/mo
AMD EPYC 9754S256 GBQ4_K$1,319.00/mo
AMD Dual EPYC 9174F384 GBQ8_0$1,319.00/mo
AMD Dual EPYC 7702512 GBQ8_0$869.00/mo
AMD EPYC 7443P512 GBQ8_0$969.00/mo
AMD EPYC 9455P512 GBQ8_0$999.00/mo
AMD Ryzen Threadripper 9960X512 GBQ8_0$1,269.00/mo
AMD EPYC 9455512 GBQ8_0$2,299.00/mo
AMD EPYC 9254768 GBQ8_0$1,189.00/mo
AMD Ryzen Threadripper 9970X768 GBQ8_0$3,289.00/mo
AMD Dual EPYC 74431 TBQ8_0$519.00/mo
AMD EPYC 9275F1 TBQ8_0$929.00/mo
AMD Dual EPYC 77421 TBQ8_0$1,059.00/mo
AMD EPYC 9355P1 TBQ8_0$2,109.00/mo
AMD EPYC 97551 TBQ8_0$2,109.00/mo
AMD Ryzen Threadripper 7960X1 TBQ8_0$3,159.00/mo
AMD Dual EPYC 9B141.5 TBQ8_0$6,059.00/mo
AMD Dual EPYC 7H122 TBQ8_0$2,639.00/mo
AMD Dual EPYC 77634 TBQ8_0$3,949.00/mo

On Our GPU Servers

llama.cpp fills the GPUs first and keeps the rest in system memory, so both count. The largest build for each server's combined memory:

GPU servers and the largest GLM-5.3-Flash build each holds
PlanGPUTotal GPU memorySystem memoryLargest buildPrice
Intel Core Ultra 9 285K w/ NVIDIA Tesla P4NVIDIA Tesla P4 · 8 GB8 GB192 GBQ4_K$589.00/mo
NVIDIA DGX SparkNVIDIA DGX Spark · 128 GB128 GB128 GBQ2_K_S$609.00/mo
AMD EPYC 7443P w/ NVIDIA RTX 3090NVIDIA RTX 3090 · 24 GB24 GB256 GBQ4_K$659.00/mo
AMD Ryzen 9 9950X w/ NVIDIA RTX 3050NVIDIA RTX 3050 · 6 GB6 GB192 GBQ4_K$699.00/mo
AMD Dual EPYC 7702 w/ NVIDIA RTX 3050NVIDIA RTX 3050 · 6 GB6 GB256 GBQ4_K$749.00/mo
AMD Ryzen 9 9950X w/ NVIDIA RTX 5090NVIDIA RTX 5090 · 32 GB32 GB96 GBQ2_K_S$829.00/mo
AMD Dual EPYC 7702 w/ NVIDIA RTX 5070NVIDIA RTX 5070 · 12 GB12 GB256 GBQ4_K$859.00/mo
AMD EPYC 7702 w/ 4x NVIDIA RTX 30904× NVIDIA RTX 3090 · 24 GB each96 GB128 GBQ4_K$929.00/mo
AMD EPYC 7443P w/ 4x NVIDIA V100 16GB4× NVIDIA V100 · 16 GB each64 GB128 GBQ2_K$1,059.00/mo
AMD EPYC 7443P w/ 4x NVIDIA V100 32GB4× NVIDIA V100 · 32 GB each128 GB128 GBQ4_K$1,059.00/mo
AMD EPYC 7443P w/ 4x NVIDIA V1004× NVIDIA V100—256 GBQ4_K$1,189.00/mo
Intel Dual Xeon Platinum 8260 w/ 8x NVIDIA V1008× NVIDIA V100 · 32 GB each256 GB1 TBQ8_0$1,319.00/mo
AMD EPYC 9B14 w/ 2x NVIDIA RTX 50902× NVIDIA RTX 5090 · 32 GB each64 GB384 GBQ8_0$2,639.00/mo
AMD EPYC 9355 w/ NVIDIA RTX PRO 6000NVIDIA RTX PRO 6000 · 96 GB96 GB768 GBQ8_0$2,639.00/mo
AMD EPYC 9254 w/ 4x NVIDIA RTX 50904× NVIDIA RTX 5090 · 32 GB each128 GB384 GBQ8_0$3,819.00/mo

1. Run It With llama.cpp

The simplest route, with or without a GPU. Check that the disk has room for the download first:

df -h ~                              # 181.4 GB for Q4_K
curl -LsSf https://llama.app/install.sh | sh
openssl rand -hex 24 > ~/.llm-key

llama serve -hf ggml-org/GLM-5.3-Flash-GGUF:Q4_K \
  -c 65536 --host 127.0.0.1 --port 8080 --api-key "$(cat ~/.llm-key)" \
  --temp 1.0 --top-p 0.95 \
  --chat-template-kwargs '{"reasoning_effort":"high"}'
  • With a GPU: llama.cpp fits what it can on its own. To decide yourself, add --n-cpu-moe 45, which keeps the experts of all 45 layers in system memory and the rest on the GPU, and lower the number until the GPU is nearly full.
  • Other builds: :Q2_K or :Q2_K_S for less memory; -hf unsloth/GLM-5.3-Flash-GGUF:Q8_0 for 8-bit.
  • Two processors: try --numa distribute, which spreads the work across both.

Reach the API and the chat page with ssh -L 8080:127.0.0.1:8080 you@203.0.113.10.

2. Run the FP8 Weights With KTransformers

KTransformers reads the original FP8 weights with the experts in system memory and the rest on one or more NVIDIA RTX 40 or 50 series cards. It asks for at least 350 GB of available system memory and a processor with AVX-512. Its single-GPU launch, listening only on the server itself and with threads to set for yours:

lscpu | grep -o 'avx512[a-z_0-9]*' | sort -u      # must print something
free -g                                           # at least 350 available

# in a clean Python 3.11 environment
pip install "ktransformers[sglang]"
hf download zai-org/GLM-5.3-Flash --local-dir ~/GLM-5.3-Flash

MODEL_PATH=~/GLM-5.3-Flash
CUDA_VISIBLE_DEVICES=0 python -m sglang.launch_server \
  --model-path "$MODEL_PATH" --kt-weight-path "$MODEL_PATH" \
  --served-model-name GLM-5.3-flash --host 127.0.0.1 \
  --tp-size 1 --context-length 501025 --mem-fraction-static 0.65 \
  --chunked-prefill-size 2048 --kt-method FP8 \
  --kt-cpuinfer 64 --kt-threadpool-count 2 --kt-num-gpu-experts 0 \
  --kt-gpu-prefill-token-threshold 2048 --cuda-graph-bs 1 2 4 \
  --tool-call-parser glm47 --reasoning-parser glm45
# API on http://127.0.0.1:30000/v1

The tutorial's 64 threads and 2 pools suit its own test machine: set --kt-cpuinfer to your physical cores and --kt-threadpool-count to your processor sockets, and lower --context-length if the GPU runs out of memory. It also has a four-GPU launch.

3. Entirely on GPUs With vLLM

vLLM's recipe loads all 306 GiB of FP8 weights onto the GPUs, with eight H200s as its default. That is data-center hardware for serving many users. For a team on one server, sections 1 and 2 are the practical routes.

Settings and Smaller Alternatives

  • Reasoning: defaults to max. Set low or high for quicker answers.
  • Chat: Z.ai says to pass clear_thinking=true for chat, which drops earlier reasoning from the conversation.
  • Less memory than this? gpt-oss-120b needs about 64 GB, and Qwen4-35B-A3B about 36 GB.
  • Choosing hardware: GPU vs CPU for AI inference.

GLM, NVIDIA, RTX and DGX Spark are trademarks of their respective owners. Virteche is not affiliated with or endorsed by them. Details about their products come from their public documentation as of the date at the top of this guide.

Common Questions

  • How much memory does GLM-5.3-Flash need?

    Counting system and GPU memory together, Unsloth lists about 100 GB at 1-bit, 115 GB at 2-bit, 128 to 150 GB at 3-bit, 162 to 210 GB at 4-bit and 350 GB at 8-bit. More is better: the context needs room too.

  • Can GLM-5.3-Flash run without a GPU?

    Yes, with llama.cpp, on a server with enough memory for the file. Only 18 of its 320 billion parameters are used per token, so a processor with many memory channels can run it, more slowly than GPUs. A single GPU for the attention layers helps.

  • Is GLM-5.3-Flash on Ollama?

    Only as glm-5.3-flash:cloud, which runs on Ollama's servers rather than yours, as of December 4, 2026. To keep it on your own server, use llama.cpp, KTransformers or vLLM.

  • Is GLM-5.3-Flash the same as GLM-5.3?

    No. GLM-5.3 is the larger model, at 744 billion parameters with 40 billion active. GLM-5.3-Flash has 320 billion with 18 billion active, takes images as well as text, and is under the MIT licence.

Plans and prices

Dedicated Servers

Dedicated servers with the memory to hold very large models, billed monthly.

See all plans
  • Intel Xeon E3-1270 v5

    4 Cores · 64 GB RAM · 1TB SSD

    Bend, OR (OR1) · 10 TB transfer · 10 Gbps

    $79.00/mo

  • Intel Xeon E3-1270 v5

    4 Cores · 64 GB RAM · 2x 500GB SSD

    Charlotte, NC (NC1) · 10 TB transfer · 1 Gbps

    $79.00/mo

  • Intel Xeon E3-1270 v5

    4 Cores · 32 GB RAM · 2x 2TB HDD

    Dallas, TX (TX3) · 10 TB transfer · 10 Gbps

    $99.00/mo

  • AMD Ryzen 5 7600

    6 Cores · 32 GB RAM · 960GB NVMe

    Dallas, TX (TX2) · Unmetered transfer · 1 Gbps

    $139.00/mo

Keep Reading

All guides