# GLM-4.7-Flash GPU requirements

GLM-4.7-Flash has 31B parameters. To serve it, plan for about 75 GB of GPU memory in 16-bit, 37 GB in 8-bit or 19 GB in 4-bit, including about 20% for the KV cache and activations.

It is a mixture of experts: 64 experts, 4 of them active for each token. All of them stay in GPU memory, so plan memory for all 31B parameters.

[Deploy it on Arrakis](/console/#/models?model=zai-org/GLM-4.7-Flash).

## What it takes to serve it

| Precision | Memory and the smallest setup |
|---|---|
| 16-bit | 75 GB: one [H100](/gpus/h100.html.md) or [A100](/gpus/a100.html.md), H100 from $1.65 per GPU-hour |
| 8-bit | 37 GB: one [L40S](/gpus/l40s.html.md), [RTX 6000 Ada](/gpus/rtx-6000-ada.html.md) or [RTX A6000](/gpus/rtx-a6000.html.md), L40S from $0.44 per GPU-hour |
| 4-bit | 19 GB: one [RTX 4090](/gpus/rtx-4090.html.md) or [RTX 3090](/gpus/rtx-3090.html.md), RTX 3090 from $0.19 per GPU-hour |

## What it takes to fine-tune it

| Method | Memory and the smallest setup |
|---|---|
| QLoRA | 22 GB: one [RTX 4090](/gpus/rtx-4090.html.md) or [RTX 3090](/gpus/rtx-3090.html.md), RTX 3090 from $0.19 per GPU-hour |
| LoRA | 75 GB: one [H100](/gpus/h100.html.md) or [A100](/gpus/a100.html.md), H100 from $1.65 per GPU-hour |
| Full fine-tuning | 500 GB: 2 × [B300](/gpus/b300.html.md), from $9.20 per hour for all 2 |

## About the model

| | |
|---|---|
| Parameters | `31B` |
| Experts | `64` |
| Experts for each token | `4` |
| Context window (tokens) | `202,752` |
| Published in | `BF16` |
| License | `mit` |
| Released | `2026-01-19` |
| Weights | [zai-org/GLM-4.7-Flash](https://huggingface.co/zai-org/GLM-4.7-Flash) |

## Serve it yourself

```
vllm serve zai-org/GLM-4.7-Flash --tensor-parallel-size 1
```

## Questions

**How much GPU memory does GLM-4.7-Flash need?** To serve it, about 75 GB in 16-bit, 37 GB in 8-bit, 19 GB in 4-bit, including about 20% for the KV cache and activations. To fine-tune it, about 22 GB with QLoRA, 75 GB with LoRA and 500 GB for full fine-tuning with Adam, before activations.

**Can I run GLM-4.7-Flash on one GPU?** Yes. In 16-bit it needs about 75 GB, which fits on one H100 or A100.

**What does it cost to run GLM-4.7-Flash?** In 16-bit it needs one H100 or A100; in 4-bit, one RTX 4090 or RTX 3090. Each setup on this page shows the lowest price per GPU-hour on Arrakis right now, and you pay by the hour from a prepaid balance.

**How do I deploy GLM-4.7-Flash on Arrakis?** Open Models in the Arrakis console, paste zai-org/GLM-4.7-Flash, choose vLLM, SGLang or llama.cpp, and rent a GPU it fits on. You get an OpenAI-compatible endpoint with its own API key, and root SSH to the machine.


More models: [/models](/models.html.md).
