Video models · Zhipu AI
CogVideoX 5B
- Backbone
- 5.0B
- Native output
- 720×480, 49 frames
- Default steps
- 50
- License
- cogvideox
- Released
- 2024-08
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/CogVideo (opens in a new tab)
git clone https://github.com/zai-org/CogVideoApps that run CogVideoX 5B
Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or device in the Model Finder for an exact answer.
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| ComfyUI | Desktop app | Built-in support | macOSWindowsLinux | Get ComfyUI | |
| SwarmUI | Desktop app | Built-in support | macOSWindowsLinux | Get SwarmUI | |
| SD.Next | Desktop app | Built-in support | macOSWindowsLinux | Get SD.Next | |
| Stability Matrix | Desktop app | Built-in support | macOSWindowsLinux | Get Stability Matrix |
Memory 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 | 24.1 GB | 14.6 GB | 7.7 GB | Original weights (opens in a new tab) |
FP8 | 14.3 GB | 9.6 GB | 5.9 GB | Original weights (opens in a new tab) |
Components
- Backbone: 5B
- VAE: 0.2B
- T5-XXL: 4.76B
Best hardware for CogVideoX 5B
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A580 (launch price $179) at FP8.
| Quality | Hardware | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 55Good quality (B) · 55 of 100: how capable the model is at FP16, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5090 |
FP16 | 24.1 GB / 32.0 GB | 2.5 min | Runs great |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4090 |
FP8 | 14.3 GB / 24.0 GB | 2.7 min | Runs great |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 7900 XTX |
FP8 | 14.3 GB / 24.0 GB | 3.0 min | Runs great |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 9070 XT |
FP8 | 14.3 GB / 16.0 GB | 3.6 min | Runs welltight fit |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5080 |
FP8 | 14.3 GB / 16.0 GB | 3.6 min | Runs welltight fit |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4080 SUPER |
FP8 | 14.3 GB / 16.0 GB | 3.8 min | Runs welltight fit |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4070 Ti SUPER |
FP8 | 14.3 GB / 16.0 GB | 4.3 min | Runs welltight fit |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5070 Ti |
FP8 | 14.3 GB / 16.0 GB | 4.3 min | Runs welltight fit |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 3090 |
FP8 | 14.3 GB / 24.0 GB | 5.1 min | Runs well |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5060 Ti 16GB |
FP8 | 14.3 GB / 16.0 GB | 6.9 min | Runs welltight fit |
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.









