Skip to content
Updated minutes ago
ReleasedJanuary 19, 2026source not yet verified
Zhipu

GLM-4.7-Flash

zai-org · moe · 31.2B parameters · 202,752 context

Quality
50.0

Parameters

31.2B

Context Window

198K tokens

Architecture

MoE

Best GPU

H200 SXM

Intelligence Brief

GLM-4.7-Flash is a 31.2B parameter Mixture-of-Experts (64 experts, 4 active) model from zai-org, featuring Multi-Head Attention (MHA) with 47 layers and 2,048 hidden dimensions. With a 202,752 token context window, it supports tools, structured output, code, math, multilingual, reasoning. For self-hosted inference, H200 SXM delivers optimal throughput at $2553/month.

Recent changes

Loading…

Related models

4 suggestions

Picks: same family first, then same vendor within ±2× params, then top tag-overlap matches. Price shown is the cheapest Output $/M across providers — the row's page shows the canonical anchor.

Architecture Details

TypeMOE
Total Parameters31.2B
Active Parameters3B
Layers47
Hidden Dimension2,048
Attention Heads20
KV Heads20
Head Dimension192
Vocab Size154,880
Total Experts64
Active Experts4

Memory Requirements

BF16 Weights

62.4 GB

FP8 Weights

31.2 GB

INT4 Weights

15.6 GB

KV-Cache per Token721920 bytes
Activation Estimate0.00 GB

GPU Compatibility Matrix

GLM-4.7-Flash is compatible with 62% of GPU configurations across 41 GPUs at 3 precision levels.

BF16 (Full)
FP8 (Half)
INT4 (Quarter)
Blackwell(7 GPUs)
B200 NVL (pair)360GB
B300288GB
B100 SXM192GB
GB200 NVL72 (per GPU)192GB
Hopper(7 GPUs)
H100 NVL 94GB (per GPU pair)188GB
H200 SXM141GB
H2096GB
GH20096GB
Ada Lovelace(11 GPUs)
L40S48GB
L4048GB
RTX 6000 Ada48GB
L2048GB
Ampere(16 GPUs)
A100 80GB SXM80GB
A100 80GB PCIe80GB
A1664GB
RTX A600048GB
Legend:No fitVery tightTightModerateGoodExcellent

GPU Recommendations

H200 SXMoptimal

FP8 · 1 GPU · tensorrt-llm

100/100

score

Throughput

1.1K tok/s

Latency (ITL)

1.0ms

Est. TTFT

0ms

Cost/Month

$2553

Cost/M Tokens

$0.93

Use this config →
H100 SXMoptimal

FP8 · 1 GPU · tensorrt-llm

100/100

score

Throughput

1.1K tok/s

Latency (ITL)

1.0ms

Est. TTFT

0ms

Cost/Month

$1794

Cost/M Tokens

$0.65

Use this config →
H100 PCIeoptimal

FP8 · 1 GPU · tensorrt-llm

100/100

score

Throughput

1.1K tok/s

Latency (ITL)

1.0ms

Est. TTFT

0ms

Cost/Month

$1794

Cost/M Tokens

$0.65

Use this config →

Deployment Options

API

API Deployment

No API pricing available

Self-Hosted

Single GPU

H200 SXM

$2553/mo

Min VRAM: 31 GB

Scale

Multi-GPU

RTX A6000 x2

857.4 tok/s

TP· $930/mo

API Pricing Comparison

No API pricing data available for this model.

Performance Estimates

Throughput by GPU

H200 SXM
1.1K tok/s
H100 SXM
1.1K tok/s
H100 PCIe
1.1K tok/s

VRAM Breakdown (H200 SXM, FP8)

Weights
KV
Weights 31.2 GBKV-Cache 5.9 GBActivations 0.0 GBOverhead 1.6 GB

Precision Impact

bf16

62.4 GB

weights/GPU

fp8

31.2 GB

weights/GPU

~1.1K tok/s

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmsglang

Supported Precisions

BF16 (default)FP8

Where to Deploy GLM-4.7-Flash

Similar Models

GLM-4 9B

9.4B params · dense

Quality: 50

from $0.15/M

Smaller modelCompare →

Gemma 4 31B-IT

31B params · dense

Quality: 77

from $0.00/M

Smaller context, Higher qualityCompare →

Qwen 3 30B-A3B

30.5B params · moe

Quality: 70

from $0.45/M

Higher qualityCompare →

Claude Haiku 4.5

30B params · moe

Quality: 50

from $5.00/M

Similar specsCompare →
Smaller contextCompare →

Frequently Asked Questions

How much VRAM does GLM-4.7-Flash need for inference?

GLM-4.7-Flash requires approximately 62.4 GB of VRAM at BF16 precision, 31.2 GB at FP8, or 15.6 GB at INT4 quantization. Additional VRAM is needed for KV-cache (721920 bytes per token) and activations (~0.00 GB).

What is the best GPU for GLM-4.7-Flash?

The top recommended GPU for GLM-4.7-Flash is the H200 SXM using FP8 precision. It achieves approximately 1.1K tokens/sec at an estimated cost of $2553/month ($0.93/M tokens). Score: 100/100.

How much does GLM-4.7-Flash inference cost?

GLM-4.7-Flash inference costs vary by provider and GPU setup. Use our calculator for detailed cost estimates across all providers.