Skip to content
English

Switch theme

// 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

PublisherZ.ai (Zhipu) · zai-org
Family / seriesGLM / CogVideoX (Z.ai) · CogView4
TypeImage generation (text-to-image)
Parameters6.37B Source: counted from official safetensors weights
Released weightsBF16 · 31.1 GBdownload
LicenceApache-2.0 · Commercial OKPermissive licence (Apache-2.0 / MIT / CC-BY / OpenMDW): commercial use allowed.
Released2025-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.

PrecisionWeightsWeights + overheadSmallest GPUMac
BF16 / FP16 (original)12.7 GB 14.5 GB RTX 4090 24GBMac 36GB
FP8 / INT8 / Q8_06.8 GB 7.9 GB 12GB GPUMac 16GB
4-bit (Q4_K_M / AWQ / GPTQ-Int4)3.9 GB 4.7 GB 8GB GPUMac 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.

Which inference engine to choose →

04Official repositories & quantised builds

1 official repo(s) from zai-org.

05Other GLM / CogVideoX (Z.ai) models

All 42 →
ModelParams4-bit totalReleased
GLM-5.3753.3B504 GB2026-08-25
GLM-5.3-Flash320B / 18B214 GB2026-08-25
GLM-5.2753.3B504 GB2026-06-16
SCAIL-2——2026-06-09
GLM-5.1753.9B504 GB2026-04-03
GLM-5744B / 40B497 GB2026-02-11
GLM-OCR1.32B1.9 GB2026-01-30
GLM-4.7-Flash31.2B / 3B21.8 GB2026-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.

ModelFamilyParams4-bit totalLicenceReleased
CogView4-6BGLM / CogVideoX (Z.ai)6.37B4.7 GBCommercial OK2025-03-03
Qwen-Image-2.1-TurboQwen7.12B5.2 GBNon-commercial2026-10-09
Qwen-Image-2.1Qwen7.12B5.2 GBNon-commercial2026-09-14
flux-3-image-kleinFLUX5.55B4.2 GBCustom licence – read it2026-10-13
stable-diffusion-3.5-largeStable Diffusion / Stable Audio8.15B5.9 GBCommercial with conditions2024-10-22
stable-diffusion-3.5-large-turboStable Diffusion / Stable Audio8.15B5.9 GBCommercial with conditions2024-10-22

07Sources

Data checked 2025-03-11. Parameters, context and licence are copied from the official repository; memory figures are our estimates.

Data updated: Self-host open models(UTC+8)