Image models · Zhipu AI
CogView4 6B
- Backbone
- 6.4B
- Native output
- 1024×1024
- Default steps
- 50
- License
- apache-2.0
- Released
- 2025-03
How to run it
Original weights · Hugging Face
Full-precision files from Zhipu AI, for fine-tuning, vLLM, Transformers, Diffusers or ComfyUI.
Official repo · GitHub
Reference code, inference scripts and docs from Zhipu AI. The weights themselves download from Hugging Face.
github.com/zai-org/CogView4 (opens in a new tab)
git clone https://github.com/zai-org/CogView4Memory needed
Peak GPU memory at the native output size. Offloading moves the text encoder, or the whole pipeline, to system RAM between steps.
| Precision | Everything on GPU | Text encoder offloaded | Sequential offload | Download |
|---|---|---|---|---|
FP16 | 33.9 GB | 15.1 GB | 6.7 GB | Original weights (opens in a new tab) |
FP8 | 18.2 GB | 8.8 GB | 4.4 GB | Original weights (opens in a new tab) |
Components
- Backbone: 6.37B
- VAE: 0.084B
- GLM-4 9B: 9.4B
Best hardware for CogView4 6B
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at FP8.
| Grade · points | Hardware | Precision | Memory | Time per output | Fit |
|---|---|---|---|---|---|
| 82 ptsGreat (A) · 82 of 100 points: Model quality 30.9/45, Memory fit 25.0/25, Speed 11.8/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4090 | FP8 | 18.2 GB / 24.0 GB | 16 s | Runs well |
| 82 ptsGreat (A) · 82 of 100 points: Model quality 30.9/45, Memory fit 25.0/25, Speed 11.2/15, Memory use 15.0/15 | AMD Radeon RX 7900 XTX | FP8 | 18.2 GB / 24.0 GB | 18 s | Runs well |
| 81 ptsGreat (A) · 81 of 100 points: Model quality 30.9/45, Memory fit 25.0/25, Speed 12.9/15, Memory use 13.1/15 | NVIDIA GeForce RTX 5090 | FP8 | 18.2 GB / 32.0 GB | 14 s | Runs well |
| 79 ptsGreat (A) · 79 of 100 points: Model quality 30.9/45, Memory fit 25.0/25, Speed 8.6/15, Memory use 15.0/15 | NVIDIA GeForce RTX 3090 | FP8 | 18.2 GB / 24.0 GB | 30 s | Runs well |
| 76 ptsGreat (A) · 76 of 100 points: Model quality 31.5/45, Memory fit 25.0/25, Speed 4.6/15, Memory use 15.0/15 | Apple M4 Max (64 GB) | FP16 | 33.9 GB / 48.0 GB | 1.8 min | Runs well |
| 75 ptsGreat (A) · 75 of 100 points: Model quality 31.5/45, Memory fit 25.0/25, Speed 3.7/15, Memory use 15.0/15 | Apple M1 Max (64 GB) | FP16 | 33.9 GB / 48.0 GB | 2.7 min | Runs well |
| 74 ptsGreat (A) · 74 of 100 points: Model quality 30.9/45, Memory fit 20.0/25, Speed 8.4/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4070 SUPER | FP8 | 8.8 GB / 12.0 GB | 32 s | Runs well |
| 74 ptsGreat (A) · 74 of 100 points: Model quality 30.9/45, Memory fit 25.0/25, Speed 13.8/15, Memory use 4.4/15 | NVIDIA RTX PRO 6000 Blackwell | FP8 | 18.2 GB / 96.0 GB | 12 s | Runs well |
| 73 ptsGreat (A) · 73 of 100 points: Model quality 30.9/45, Memory fit 20.0/25, Speed 10.0/15, Memory use 12.6/15 | AMD Radeon RX 9070 XT | FP8 | 8.8 GB / 16.0 GB | 23 s | Runs well |
| 73 ptsGreat (A) · 73 of 100 points: Model quality 30.9/45, Memory fit 20.0/25, Speed 10.0/15, Memory use 12.6/15 | NVIDIA GeForce RTX 5080 | FP8 | 8.8 GB / 16.0 GB | 23 s | Runs well |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.