Video models ·

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.

huggingface.co/zai-org/CogVideoX-5b (opens in a new tab)

No sign-in needed.

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

Apps 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.

Mac (Apple silicon)

ComfyUI

Runs this model with built-in or popular custom nodes; GGUF files load with ComfyUI-GGUF.

Also good:

Windows PC, NVIDIA GPU

ComfyUI

Runs this model with built-in or popular custom nodes; GGUF files load with ComfyUI-GGUF.

Also good:

Linux, NVIDIA or AMD GPU

ComfyUI

Runs this model with built-in or popular custom nodes; GGUF files load with ComfyUI-GGUF.

Also good:

App Type Opens it as Systems Engine Start
ComfyUI Desktop app Built-in support macOSWindowsLinux PyTorch, GGUF via ComfyUI-GGUF Get ComfyUI
SwarmUI Desktop app Built-in support macOSWindowsLinux ComfyUI Get SwarmUI
SD.Next Desktop app Built-in support macOSWindowsLinux PyTorch Get SD.Next
Stability Matrix Desktop app Built-in support macOSWindowsLinux installs ComfyUI, Forge, InvokeAI, SwarmUI, SD.Next or Fooocus Get Stability Matrix

Which apps can open a model depends on the files published for it: GGUF for llama.cpp-based apps, MLX for Apple’s engine, the original weights for vLLM and SGLang. Compare every app.

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

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 Founders EditionNVIDIA 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 Founders EditionNVIDIA 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. Sapphire NITRO+ AMD Radeon RX 7900 XTX Vapor-X 24GBAMD 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. Sapphire NITRO+ AMD Radeon RX 9070 XT OCAMD 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 Founders EditionNVIDIA 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 SUPERNVIDIA 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 SUPERNVIDIA 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. ASUS TUF Gaming GeForce RTX 5070 Ti 16GB GDDR7 OC EditionNVIDIA 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. ASUS ROG Strix GeForce RTX 3090 OC Edition 24GB GDDR6XNVIDIA 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. ASUS Dual GeForce RTX 5060 Ti 16GB GDDR7 OC EditionNVIDIA GeForce RTX 5060 Ti 16GB FP8 14.3 GB / 16.0 GB 6.9 min Runs welltight fit

Check it on your own hardware

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.

Was this page helpful?