---
title: GLM-4.7-Flash-4bit-mxfp4
canonical_url: "https://www.modelscope.cn/models/mlx-community/GLM-4.7-Flash-4bit-mxfp4"
md_url: "https://www.modelscope.cn/models/mlx-community/GLM-4.7-Flash-4bit-mxfp4.md"
repository: mlx-community/GLM-4.7-Flash-4bit-mxfp4
last_updated: 2026-02-11
license: mit
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - glm4_moe_lite
architectures:
  - Glm4MoeLiteForCausalLM
base_model:
  - zai-org/GLM-4.7-Flash
base_model_relation: quantized
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
  - zh
downloads: 66
stars: 0
tags:
  - mlx
---

# GLM-4.7-Flash-4bit-mxfp4

> GLM-4.7-Flash-4bit-mxfp4 - mlx-community 在 ModelScope 开源的模型。mlx-community/GLM-4.7-Flash-4bit-mxfp4

mlx-community/GLM-4.7-Flash-4bit-mxfp4 是 ModelScope 魔搭社区上的text-generation模型，采用 mit 许可，基于 zai-org/GLM-4.7-Flash 构建。

- **Repository**: mlx-community/GLM-4.7-Flash-4bit-mxfp4
- **License**: mit
- **Tasks**: text-generation
- **Base model**: zai-org/GLM-4.7-Flash
- **Tags**: mlx
- **Downloads**: 66
- **Stars**: 0
- **Last updated**: 2026-02-11

Source: https://www.modelscope.cn/models/mlx-community/GLM-4.7-Flash-4bit-mxfp4

---

# mlx-community/GLM-4.7-Flash-4bit-mxfp4

This model [mlx-community/GLM-4.7-Flash-4bit-mxfp4](https://huggingface.co/mlx-community/GLM-4.7-Flash-4bit-mxfp4) was
converted to MLX format from [zai-org/GLM-4.7-Flash](https://huggingface.co/zai-org/GLM-4.7-Flash)
using mlx-lm version **0.30.6**.

## Use with mlx

```bash
pip install mlx-lm
```

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/GLM-4.7-Flash-4bit-mxfp4")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True, return_dict=False,
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)
```
