MEMORY PLANNING REPORT

GLM 4.7 Flash on AMD Instinct MI300X (192GB): VRAM & Speed

Memory estimates at Q4_K_M, 8k context, FP16 cache, one GPU and Windows runtime overhead.

30B total / 3B active MoE. Memory planning assumes compressed MLA cache (512 latent + 64 RoPE dimensions). A backend using expanded cache can require more memory; verify the exact runtime and quantized checkpoint.

Estimated Verdict
Estimated Memory Fit

Executive Hardware Compatibility Summary: GLM-4.7-Flash on AMD Instinct MI300X (192GB)

Estimated verdict, memory allocation and token generation performance:

Direct Answer: Estimated Memory FitGLM-4.7-Flash meets the estimated memory capacity constraints on AMD Instinct MI300X (192GB) (192GB). At Q4_K_M quantization and an 8,192-token context window, estimated decoding memory demand is 20.36 GB (18.27 GB weights + 0.44 GB KV cache + 0.50 GB activation + 1.15 GB runtime buffers). Unused decoding capacity is 171.64 GB; prefill requires a separate peak-memory check. Estimated generation throughput is ~180 tokens/sec (~5.6 ms per token) with prompt prefill processing reaching ~4800 tok/s.
Run Verdict
Estimated Memory Fit
Total Required VRAM
20.36 GB / 192 GB
Estimated Decoding Speed
~180 tok/s (5.6ms)
Safe Context Window
202,752 tokens

Hardware Architecture & VRAM Topology

CDNA 3

AMD Instinct MI300X (192GB) • 5300 GB/s Bandwidth

Token Generation
~180 tok/s(5.6 ms)
Estimated Memory Fit
VRAM Utilization Breakdown20.36 GB / 192 GB (11%)
+171.64G Free
Weights
18.27 GB
KV Cache
0.44 GB
Activation
0.5 GB
OS/Driver
1.15 GB
Free Headroom
171.64 GB
Max Safe Context Limit on this Hardware
You can safely expand prompts up to 202,752 tokens before CUDA OOM.
Headroom Used
8,192 / 202,752

Context Window vs VRAM Scaling Curve

192G VRAM Limit2k20.03G4k20.14G8k20.36G16k20.95G32k22.47G64k25.52G128k31.63G198k38.3G0G192G
Blue line indicates total VRAM demand across context lengths; Red dashed line is physical VRAM ceiling.Max Safe: 202,752 tokens

Estimated Memory Fit

optimal

Entire model & KV cache fit fully into VRAM with pure GPU acceleration.

Throughput
~180 tok/s
5.6 ms / token
Headroom
171.64 GB
11% of capacity
Layers Fit
47 / 47
100% in VRAM
Max Safe Ctx
198k
Tokens before OOM
Static Permalink:/can-i-run/glm-4.7-flash-on-instinct-mi300x
Open Static Report

Native llama.cpp needs a compatible Metal, Vulkan or other device build. The portable container is CPU-only and does not reproduce GPU throughput. Reference templates require pinned images, matching checkpoints, sufficient memory and backend validation. This planner has not executed these GPU deployments.

Ready-to-Run CLI Commands

# Supply a compatible GLM-4.7-Flash Q4_K_M GGUF checkpoint; no filename or download URL is assumed.
: "${MODEL_GGUF:?Set the absolute path to the matching GGUF file}"
llama-cli -m "$MODEL_GGUF" -c 8192 -ngl 47 -t 8

# GLM-4.7-Flash | Q4_K_M | per-request context=8192 | concurrency=1
# Pin the image, supply matching checkpoints and validate backend/device support.
# KV cache: f16; CPU-only container; native Metal/Vulkan acceleration is separate.
# POSIX shell (Linux, macOS or WSL). Install a device-compatible llama.cpp build first.
: "${MODEL_GGUF:?Set the absolute path to the matching Q4_K_M GGUF}"
: "${LLAMA_API_KEY:?Set a strong API key}"
export LLAMA_API_KEY
llama-server -m "$MODEL_GGUF" --ctx-size 8192 --parallel 1 --n-gpu-layers 47 --cache-type-k f16 --cache-type-v f16 --host 127.0.0.1 --port 8000

Reference commands require a matching checkpoint, compatible runtime and workload-specific validation.

Hardware Specification Summary

GPU ArchitectureCDNA 3
Memory Bandwidth5300 GB/s
Model Parameters30B (MoE)
Attention ArchitectureMLA
Prompt Prefill Speed~4800 tok/s (TTFT ~1707ms)
Planning Context8,192 tokens
Customize in Full Matcher Simulator →
Data Sources & Verification
Engine / Catalog
2.5.0 / catalog-2026-11-17
Hardware specs and price
AMD Instinct MI300X (192GB) · Catalog reference; per-field sources and verification dates incomplete, not a live quote
Model reference
zai-org/GLM-4.7-Flash
Architecture source check
Official config checked · 7dd20894 · 2026-11-17
About these results
Planning estimates and reference data only. Results vary with model, backend and input length.

Global Compatibility Matrix for AMD Instinct MI300X (192GB)

Q4_K_M planning reference; token workloads use 8,192 context. Non-token pipeline peaks remain uncalibrated.

Compatibility Index
95% (61/64)
61 Pass0 Tight3 OOM
Model & ArchitectureCategoryParametersRequired VRAMFit StatusEst. SpeedSimulate
Qwen
LLM27B
19.08 GB
Estimated Memory Fit~180 tok/sSimulate
GPT-OSS
MoE21B(3.6B active)
14.64 GB
Estimated Memory Fit~180 tok/sSimulate
GLM
MoE30B(3B active)
20.36 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM4B
5.19 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM8.19B
7.98 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM14.77B
12.28 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM32.76B
24.03 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM4B
5.19 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
MoE671B(37B active)
411.5 GB
VRAM / Host RAM Shortfall~34.6 tok/sSimulate
DeepSeek
MoE671B(37B active)
411.5 GB
VRAM / Host RAM Shortfall~34.6 tok/sSimulate
DeepSeek
LLM70.6B
48.1 GB
Estimated Memory Fit~86.3 tok/sSimulate
DeepSeek
LLM32.8B
24.06 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
LLM14.7B
12.5 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
LLM8B
7.73 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
LLM8.19B
7.98 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
LLM7.6B
6.81 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
LLM1.8B
2.73 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
MoE15.7B(2.4B active)
11.29 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
MoE236B(21B active)
146.24 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM72.7B
49.37 GB
Estimated Memory Fit~83.8 tok/sSimulate
Qwen
LLM72.7B
49.37 GB
Estimated Memory Fit~83.8 tok/sSimulate
Qwen
LLM7.61B
6.82 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM32.8B
24.06 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM14.7B
12.5 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM7.6B
6.81 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM1.54B
2.57 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM32.8B
24.06 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM14.7B
12.5 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM7.6B
6.81 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM3.1B
3.67 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM0.49B
1.8 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM70.6B
48.1 GB
Estimated Memory Fit~86.3 tok/sSimulate
Llama
LLM70.6B
48.1 GB
Estimated Memory Fit~86.3 tok/sSimulate
Llama
LLM405B
254.57 GB
VRAM / Host RAM Shortfall~5.1 tok/sSimulate
Llama
LLM8B
7.73 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM3.2B
4.52 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM1.23B
2.49 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM10.6B
9.32 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM89B
59.96 GB
Estimated Memory Fit~68.4 tok/sSimulate
Phi
LLM14.7B
12.57 GB
Estimated Memory Fit~180 tok/sSimulate
Phi
LLM3.82B
7.15 GB
Estimated Memory Fit~180 tok/sSimulate
Gemma
LLM9.2B
10.11 GB
Estimated Memory Fit~180 tok/sSimulate
Mistral
LLM24B
17.9 GB
Estimated Memory Fit~180 tok/sSimulate
Mistral
LLM12.2B
10.71 GB
Estimated Memory Fit~180 tok/sSimulate
Mistral
LLM7.25B
7.28 GB
Estimated Memory Fit~180 tok/sSimulate
Mistral
LLM22.2B
17.5 GB
Estimated Memory Fit~180 tok/sSimulate
Mistral
LLM123B
80.92 GB
Estimated Memory Fit~49.5 tok/sSimulate
Mistral
MoE46.7B(12.9B active)
31.3 GB
Estimated Memory Fit~180 tok/sSimulate
Mistral
MoE141B(39B active)
89.85 GB
Estimated Memory Fit~156.2 tok/sSimulate
Mistral
LLM12.4B
10.84 GB
Estimated Memory Fit~180 tok/sSimulate
Gemma
LLM27.2B
21.49 GB
Estimated Memory Fit~180 tok/sSimulate
Gemma
LLM2.6B
3.92 GB
Estimated Memory Fit~180 tok/sSimulate
GLM
LLM9.4B
8.19 GB
Estimated Memory Fit~180 tok/sSimulate
FLUX
ImageGen12B
15.68 GB
Estimated Memory FitNot validatedSimulate
FLUX
ImageGen12B
15.68 GB
Estimated Memory FitNot validatedSimulate
SDXL
ImageGen3.5B
7.51 GB
Estimated Memory FitNot validatedSimulate
SD
ImageGen1B
5.78 GB
Estimated Memory FitNot validatedSimulate
Whisper
Audio1.5B
2.31 GB
Estimated Memory FitNot validatedSimulate
Kokoro
Audio0.082B
1.46 GB
Estimated Memory FitNot validatedSimulate
Wan
VideoGen14.2B
18.72 GB
Estimated Memory FitNot validatedSimulate
Wan
VideoGen1.3B
7.28 GB
Estimated Memory FitNot validatedSimulate
Hunyuan
VideoGen13B
19.69 GB
Estimated Memory FitNot validatedSimulate
SD
ImageGen8.1B
13.3 GB
Estimated Memory FitNot validatedSimulate
BAAI
Embedding0.56B
1.74 GB
Estimated Memory FitNot validatedSimulate

GLM-4.7-Flash Context Scaling Matrix on AMD Instinct MI300X (192GB)

Estimated KV cache and generation throughput across sequence lengths (Q4_K_M weights):

Context WindowKV Cache MemoryTotal VRAM DemandCompatibility StatusOffloaded LayersEst. Generation Speed
2,048 tokens (2k)0.11 GB20.03 GB / 192 GBEstimated Fit0 (All in VRAM)~180.0 tok/s
4,096 tokens (4k)0.22 GB20.14 GB / 192 GBEstimated Fit0 (All in VRAM)~180.0 tok/s
8,192 tokens (8k)Standard Baseline0.44 GB20.36 GB / 192 GBEstimated Fit0 (All in VRAM)~180.0 tok/s
16,384 tokens (16k)0.88 GB20.80 GB / 192 GBEstimated Fit0 (All in VRAM)~180.0 tok/s
32,768 tokens (32k)1.75 GB21.67 GB / 192 GBEstimated Fit0 (All in VRAM)~180.0 tok/s

Hardware Compatibility Q&A: GLM-4.7-Flash on AMD Instinct MI300X (192GB)

Memory budgets, runtime conditions and deployment considerations.

Can AMD Instinct MI300X (192GB) run GLM-4.7-Flash?
Estimated Memory Fit. Entire model & KV cache fit fully into VRAM with pure GPU acceleration.
How much memory does GLM-4.7-Flash require?
Q4_K_M planning reference: 20.36 GB runtime, 20.36 GB peak, 192 GB available. Baseline: 8,192 context, FP16 KV, Windows, one GPU.
Is the performance measured?
No. Generation of ~180 tok/s is an analytical estimate. Prefill and actual backend behaviour need separate validation.
What if memory is insufficient?
Distinguish weights, cache, activation peaks and host RAM shortfalls. Compare a smaller workload, quantization, offloading or multiple GPUs. Offload support and performance depend on the runtime; automatic success is not guaranteed.
How do I deploy?
No verified generic Ollama tag is supplied. Use a workload-specific backend and matching checkpoint. Backend references remain in the command and deployment sections. Check formats, secrets, pinned images, runtime settings and memory before startup validation.

Related Hardware Benchmarks & Model Alternatives

Compare GLM-4.7-Flash and AMD Instinct MI300X (192GB) against alternative configurations:

Recommended Alternative GPUs for GLM-4.7-Flash

Explore how GLM-4.7-Flash performs across other budget, midrange, and flagship architectures:

Dual GPU Showdown: AMD Instinct MI300X (192GB) vs NVIDIA GeForce RTX 4090

Compare memory bandwidth (5300 GB/s vs 1008 GB/s), VRAM headroom (192GB vs 24GB), and inference speed head-to-head.

Launch Showdown Arena

Frequently Asked Questions (FAQ)

Weights are only part of memory use. KV cache, activations, runtime buffers and desktop applications also consume memory. Prompt prefill can exceed the decoding footprint. Exact requirements depend on model architecture, context, concurrency and backend.