GLM-4.7-Flash
Hugging Face (open weights) Open weights
The catch: Text-only, and the card does not state a context length (the 202,752 figure comes from config.json).
| Access | Open weights |
|---|---|
| Free limits | Free to download and self-host; you pay only for your own compute. 30B total / 3B active (MoE), small enough for a single large GPU. MIT licence, no caps. The card gives no context length; the config allows 202,752 tokens. |
| Modality | text, code |
| Credit card | Not required |
| Commercial use | Allowed |
| Trains on your data | – |
| Licence or terms | MIT |
| Context window | 202,752 tokens |
| Model id | zai-org/GLM-4.7-Flash |
| Base URL | – |
| Last checked | 8 Oct 2026 |
How to use GLM-4.7-Flash
Download the weights and serve them yourself; the quickstart below shows one way. Licence: MIT.
Quickstart
vllm serve zai-org/GLM-4.7-Flash # then: curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"zai-org/GLM-4.7-Flash","messages":[{"role":"user","content":"Hello"}]}'Paste into Claude Code
I want to run the open-weight model "GLM-4.7-Flash" (zai-org/GLM-4.7-Flash) for my project. Please: 1. Check the model card and tell me the hardware it needs and the simplest way to serve it (vLLM, SGLang, Ollama or a hosted endpoint). 2. Give me a minimal working setup and a test request. 3. Tell me the licence terms for commercial use. 4. If a cheaper or smaller variant would do the job, mention it.
Before you ship on it
- Text-only, and the card does not state a context length (the 202,752 figure comes from config.json).
- MIT (licence tag on the HF repo): use, modify and sell freely; keep the copyright notice.
- Free to run means you pay for the GPUs, the serving stack and the on-call.
Questions
Is GLM-4.7-Flash free?
Yes. Open weights offers it as open weights, with these limits: Self-host free · MIT. No credit card is needed.
Can I use GLM-4.7-Flash commercially?
Yes, under MIT. Check the current terms before you ship.
How do I start with GLM-4.7-Flash?
Download the weights and serve them yourself; the quickstart below shows one way. Licence: MIT.
Source: huggingface.co/zai-org/GLM-4.7-Flash, checked 8 Oct 2026.