// GLM / CogVideoX (Z.ai) · Image generation
CogView4-6B: VRAM & local deployment
6.37B parameters. About 4.7 GB at 4-bit and 14.5 GB at BF16.
released 2025-03-03licence: Commercial OKmemory figures are estimates
01Specs
| Publisher | Z.ai (Zhipu) · zai-org |
|---|---|
| Family / series | GLM / CogVideoX (Z.ai) · CogView4 |
| Type | Image generation (text-to-image) |
| Parameters | 6.37B Source: counted from official safetensors weights |
| Released weights | BF16 · 31.1 GBdownload |
| Licence | Apache-2.0 · Commercial OKPermissive licence (Apache-2.0 / MIT / CC-BY / OpenMDW): commercial use allowed. |
| Released | 2025-03-03 (Hugging Face repo created) |
02How much VRAM it needs (estimate)
Image models: memory depends on resolution, batch and which text encoders are kept on the GPU; Diffusers / ComfyUI can offload parts to CPU. The weight size below is the main transformer only.
| Precision | Weights | Weights + overhead | Smallest GPU | Mac |
|---|---|---|---|---|
| BF16 / FP16 (original) | 12.7 GB | 14.5 GB | RTX 4090 24GB | Mac 36GB |
| FP8 / INT8 / Q8_0 | 6.8 GB | 7.9 GB | 12GB GPU | Mac 16GB |
| 4-bit (Q4_K_M / AWQ / GPTQ-Int4) | 3.9 GB | 4.7 GB | 8GB GPU | Mac 16GB |
Bits per weight: BF16 16, FP8 8.5, 4-bit 4.85. “Fits” = total ≤ 90% of memory; Mac GPU can use ~2/3 of unified memory (≤36GB) or ~3/4 (larger). For MoE, all experts must be in memory, so size by total parameters. Method →
03How to run it
Only runtimes the publisher or the runtime’s official library names for this model.
- Diffusers — mentioned in the official model card
04Official repositories & quantised builds
1 official repo(s) from zai-org.
- CogView4-6B main
05Other GLM / CogVideoX (Z.ai) models
All 42 →| Model | Params | 4-bit total | Released |
|---|---|---|---|
| GLM-5.3 | 753.3B | 504 GB | 2026-08-25 |
| GLM-5.3-Flash | 320B / 18B | 214 GB | 2026-08-25 |
| GLM-5.2 | 753.3B | 504 GB | 2026-06-16 |
| SCAIL-2 | — | — | 2026-06-09 |
| GLM-5.1 | 753.9B | 504 GB | 2026-04-03 |
| GLM-5 | 744B / 40B | 497 GB | 2026-02-11 |
| GLM-OCR | 1.32B | 1.9 GB | 2026-01-30 |
| GLM-4.7-Flash | 31.2B / 3B | 21.8 GB | 2026-01-19 |
06Similar-size Image generation models from other families
Within ±35% of 6.37B parameters; same estimate method, so the memory columns are directly comparable.
| Model | Family | Params | 4-bit total | Licence | Released |
|---|---|---|---|---|---|
| CogView4-6B | GLM / CogVideoX (Z.ai) | 6.37B | 4.7 GB | Commercial OK | 2025-03-03 |
| Qwen-Image-2.1-Turbo | Qwen | 7.12B | 5.2 GB | Non-commercial | 2026-10-09 |
| Qwen-Image-2.1 | Qwen | 7.12B | 5.2 GB | Non-commercial | 2026-09-14 |
| flux-3-image-klein | FLUX | 5.55B | 4.2 GB | Custom licence – read it | 2026-10-13 |
| stable-diffusion-3.5-large | Stable Diffusion / Stable Audio | 8.15B | 5.9 GB | Commercial with conditions | 2024-10-22 |
| stable-diffusion-3.5-large-turbo | Stable Diffusion / Stable Audio | 8.15B | 5.9 GB | Commercial with conditions | 2024-10-22 |
07Sources
Data checked 2025-03-11. Parameters, context and licence are copied from the official repository; memory figures are our estimates.