How to use from
MLX LM
Generate or start a chat session
# Install MLX LM
uv tool install mlx-lm
# Interactive chat REPL
mlx_lm.chat --model "inferencerlabs/GLM-5.2-MLX-Q4.8-INF"
Run an OpenAI-compatible server
# Install MLX LM
uv tool install mlx-lm
# Start the server
mlx_lm.server --model "inferencerlabs/GLM-5.2-MLX-Q4.8-INF"
# Calling the OpenAI-compatible server with curl
curl -X POST "http://localhost:8000/v1/chat/completions" \
   -H "Content-Type: application/json" \
   --data '{
     "model": "inferencerlabs/GLM-5.2-MLX-Q4.8-INF",
     "messages": [
       {"role": "user", "content": "Hello"}
     ]
   }'
Quick Links

GLM 5.2

See GLM 5.2 in action: demonstration videos

Tested with an M3 Ultra 512 GiB using Inferencer app v2.0.4

  • Text Inference: ~15.8 tokens/s @ 1000 tokens ~417 GiB

Screenshot 1 Screenshot 2 Screenshot 3

Q4.8-INF uses the data-agnostic INF method tuned to yield maximum general accuracy within a 512 GiB memory budget.

Due to system memory and time constraints, the figures shown below are from the conversion of GLM 5.1.

Quantization (bpw)PerplexityToken AccuracyMissed Divergence
Q4.51.3593789.75%28.98%
Q4.8-INF1.2109397.70%10.65%
Q5.51.2421894.60%17.55%
Q6.51.2187596.85%16.03%
Q8.51.2187597.65%9.92%
Base1.20312100.0%0.000%
  • Perplexity: Measures the confidence for predicting base tokens (lower is better).
  • Token Accuracy: The percentage of correctly generated base tokens.
  • Missed Divergence: Measures severity of misses; how much the token was missed by.
Quantized with a modified version of MLX.
For more details see our demonstration videos or visit zai-org/GLM-5.1.

Disclaimer

We are not the creator, originator, or owner of any model listed. Each model is created and provided by third parties. Models may not always be accurate or contextually appropriate. You are responsible for verifying the information before making important decisions. We are not liable for any damages, losses, or issues arising from its use, including data loss or inaccuracies in AI-generated content.

Downloads last month
6,722
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for inferencerlabs/GLM-5.2-MLX-Q4.8-INF

Base model

zai-org/GLM-5.2
Quantized
(74)
this model