Run this model with HF Jobs

Run RedHatAI/GLM-5.3-Flash-MXFP4xFP8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/RedHatAI/GLM-5.3-Flash-MXFP4xFP8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/RedHatAI/GLM-5.3-Flash-MXFP4xFP8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/RedHatAI/GLM-5.3-Flash-MXFP4xFP8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

GLM-5.3-Flash-MXFP4xFP8

Model Overview

  • Model Architecture: Glm5NextForConditionalGeneration
    • Input: Text / Image
    • Output: Text
  • Model Optimizations:
    • Weight quantization: Mixed (MXFP4/FP8)
    • Activation quantization: FP8
  • Release Date: 2026-11-23
  • Version: 1.0
  • Model Developers: RedHatAI

This model is a quantized version of zai-org/GLM-5.3-Flash, ready for inference with vLLM. It was evaluated on reasoning and agentic coding benchmarks to compare its quality with the original FP8 checkpoint (see Evaluation).

This is a mixed-precision quantization: the routed MoE experts use MXFP4 weights, and every other quantized layer keeps FP8 weights. All quantized layers use FP8 activations.

Model Optimizations

This model was obtained by quantizing the weights and activations of zai-org/GLM-5.3-Flash to mixed MXFP4 and FP8 precision, ready for inference with vLLM.

MXFP4 quantization usually pairs MXFP4 weights with MXFP4 activations, a combination that runs best on Blackwell GPUs. In this model, the routed experts, which hold most of the parameters, instead pair MXFP4 weights with FP8 activations that are quantized dynamically per group. This makes the checkpoint well suited to inference on Hopper GPUs. The attention projections of the sparse-attention layers, the dense MLPs, the shared experts and the multi-token prediction (MTP) layer stay in FP8, with block-wise weight scaling and FP8 dynamic activations, as in the original checkpoint.

The original checkpoint already stores these weights in FP8. This model cuts the routed expert weights from 8 bits to about 4.25 bits per parameter, which reduces the disk size and GPU memory requirements by approximately 45% (from ~328 GB to ~182 GB).

Only the weights and activations of the linear operators within transformer blocks are quantized using LLM Compressor.

Deployment

vLLM Serving

vllm serve RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --tensor-parallel-size 8 \
  --kv-cache-dtype bfloat16 \
  --no-enable-flashinfer-autotune \
  --reasoning-parser glm47 \
  --tool-call-parser glm47 \
  --enable-auto-tool-choice

This model requires vLLM 0.32.0 or newer, the first release that runs MXFP4 weights with FP8 activations on Hopper. On Hopper GPUs this model must run with a BF16 KV cache; FP8 KV cache is supported only on Blackwell. For more serving options, see the vLLM recipe for GLM-5.3-Flash.

Enable Speculative Decoding

The MTP layer is kept in FP8 and can be used for speculative decoding:

vllm serve RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --tensor-parallel-size 8 \
  --kv-cache-dtype bfloat16 \
  --no-enable-flashinfer-autotune \
  --reasoning-parser glm47 \
  --tool-call-parser glm47 \
  --enable-auto-tool-choice \
  --speculative-config '{"method":"mtp","num_speculative_tokens":5}'

Creation

This model was created by applying LLM Compressor with a mixed-precision recipe. The routed expert layers use MXFP4 weight quantization (group size 32) with per-group (group size 128) FP8 dynamic activation quantization. The sparse-attention projections, dense MLPs, shared experts and MTP layer use FP8 block-wise (128脳128) weight quantization with FP8 dynamic activations. The quantized model was exported in the compressed-tensors format.

Evaluation

This model was evaluated on AIME 2026, GPQA Diamond, MMLU-Pro, SWE-bench Verified, DeepSWE 1.1 and Terminal-Bench 2.1 using Inspect AI (inspect_evals and inspect_harbor), served with vLLM 0.32.0 (OpenAI-compatible API). The agentic benchmarks use Inspect's ReAct agent. Evaluations were run on 8x H200 GPUs.

Accuracy

Category Benchmark zai-org/GLM-5.3-Flash (FP8) RedHatAI/GLM-5.3-Flash-MXFP4xFP8 Recovery
Reasoning AIME 2026 (avg@8) 94.2 卤 3.1 92.9 卤 2.9 98.7%
GPQA Diamond (avg@3) 89.4 卤 2.0 90.6 卤 1.8 101.3%
MMLU-Pro (pass@1) 87.6 卤 0.3 87.3 卤 0.3 99.7%
Agentic Coding SWE-bench Verified (pass@1) 75.6 卤 1.9 (378/500) 76.2 卤 1.9 (381/500) 100.8%
DeepSWE 1.1 (pass@1) 68.1 卤 4.4 (77/113) 59.3 卤 4.6 (67/113) 87.0%
Terminal-Bench 2.1 (pass@1) 80.9 卤 4.2 (72/89) 79.8 卤 4.3 (71/89) 98.6%

Scores are percentages, and 卤 is the standard error. Both models were evaluated with the same protocol, vLLM release and serving setup (one TP=8 replica, BF16 KV cache, MTP speculative decoding), so only the checkpoint differs. These numbers come from an open-source evaluation stack (Inspect AI's ReAct agent) and are not directly comparable to the figures on the GLM-5.3-Flash model card, which uses different agent harnesses (mini-swe-agent for DeepSWE, Claude Code for Terminal-Bench), sampling settings and timeouts.

DeepSWE 1.1 shows the largest gap, 10 tasks out of 113. Each run is a single pass over a small set of long-horizon tasks, so the difference is about 1.4 standard errors. On Terminal-Bench 2.1, the tasks give the agent internet access by design. All trajectories were audited, and any sample that fetched its task's published solution or tests was counted as a failure. This affected 2 tasks for the FP8 model and 3 for this model. Before that correction, the verifier scored both models 74/89.

Reproduction

All benchmarks were run with Inspect AI against a vLLM 0.32.0 server, with thinking at maximum effort (--reasoning-effort max) and the sampling parameters from the model's generation_config.json (temperature 1.0, top_p 0.95, top_k unset). AIME 2026 was run for 8 epochs and GPQA Diamond for 3, and each is reported as the mean over epochs. All other benchmarks were run for a single epoch (pass@1). The single-turn benchmarks allow up to 163,840 output tokens. The agentic benchmarks allow 65,536 tokens per turn, with a per-sample time limit of 4 hours (2 hours for Terminal-Bench 2.1).

Serving

vllm serve RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --tensor-parallel-size 8 \
  --max-model-len 262144 \
  --kv-cache-dtype bfloat16 \
  --no-enable-flashinfer-autotune \
  --speculative-config '{"method":"mtp","num_speculative_tokens":5}' \
  --reasoning-parser glm47 \
  --tool-call-parser glm47 \
  --enable-auto-tool-choice \
  --default-chat-template-kwargs '{"reasoning_effort": "max"}' \
  --language-model-only
export VLLM_BASE_URL=http://localhost:8000/v1
export VLLM_API_KEY=local

AIME 2026, GPQA Diamond, MMLU-Pro (inspect_evals)

inspect eval inspect_evals/aime2026 --model vllm/RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --epochs 8 --epochs-reducer mean \
  --temperature 1.0 --top-p 0.95 --reasoning-effort max \
  --max-tokens 163840 -M client_timeout=7200

inspect eval inspect_evals/gpqa_diamond --model vllm/RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --epochs 3 --epochs-reducer mean \
  --temperature 1.0 --top-p 0.95 --reasoning-effort max \
  --max-tokens 163840 -M client_timeout=7200

inspect eval inspect_evals/mmlu_pro --model vllm/RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --temperature 1.0 --top-p 0.95 --reasoning-effort max \
  --max-tokens 163840 -M client_timeout=7200

SWE-bench Verified (inspect_evals)

The official SWE-bench images are used instead of the package's default images, which keep later release tags of each project and so expose the reference fix.

inspect eval inspect_evals/swe_bench \
  -T image_name_template='swebench/sweb.eval.{arch}.{org}_1776_{repo}-{issue}:latest' \
  --model vllm/RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --temperature 1.0 --top-p 0.95 --reasoning-effort max \
  --max-tokens 65536 --message-limit 200 --time-limit 14400 \
  --max-connections 48 --max-sandboxes 48 \
  -M client_timeout=7200

DeepSWE 1.1 (inspect_harbor)

DeepSWE tasks declare no network access for the agent, but stock inspect_harbor 1.0.0 does not enforce that. The run therefore used a fork that does (meridianlabs-ai/inspect_harbor#200). The tasks were loaded from a Harbor registry file pinned to a commit that carries a verifier fix (datacurve-ai/deep-swe#100).

inspect eval inspect_harbor/harbor \
  -T registry_path=harbor_registry.json -T dataset_name_version=deep-swe-1-1@1.1 \
  -T override_cpus=0 \
  --model vllm/RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --temperature 1.0 --top-p 0.95 --reasoning-effort max \
  --max-tokens 65536 --time-limit 14400 \
  --max-connections 48 --max-sandboxes 48 \
  -M client_timeout=7200

Terminal-Bench 2.1 (inspect_harbor)

inspect eval inspect_harbor/terminal_bench_2_1 \
  -T ref=sha256:7d7bdc1cbedad549fc1140404bd4dc45e5fd0ea7c4186773687d177ad3a0699a \
  -T override_cpus=0 \
  --model vllm/RedHatAI/GLM-5.3-Flash-MXFP4xFP8 \
  --temperature 1.0 --top-p 0.95 --reasoning-effort max \
  --max-tokens 65536 --time-limit 7200 \
  --max-connections 89 --max-sandboxes 89 \
  -M client_timeout=7200
Downloads last month
197
Safetensors
Model size
165B params
Tensor type
BF16
路
U8
路
F32
路
F8_E4M3
路
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support

Model tree for RedHatAI/GLM-5.3-Flash-MXFP4xFP8

Quantized
(279)
this model