Stactora - AI Hardware IndexMy Stack0+ Submit Tool
CogVideoX-5B
CogVideoX-5B
VIDEO · THUDM / Zhipu AI

CogVideoX-5B

Open-source 3D video diffusion transformer with 3D VAE and expert transformer blocks, generating 720p 6-second cinematic video clips under Apache 2.0.

SELF-HOSTPermissive licenseOpen Weights✓ Fits 24GB GPU (+12GB spare)
ENTRY COSTFree weights; compute cost applies
EXECUTIONLOCAL GPU INFERENCE
LICENSEApache 2.0
CONTEXT / TASKText-to-video / Image-to-video
Original Author (HF) ↗Verified Badge← Back

The brutal truth

EDITORIAL VERDICT · SELF-HOST

A landmark in open video generation. Wan 2.2 is easier on low VRAM, but CogVideoX-5B has exceptional motion fluidity on 24GB rigs.

HUGGING FACE REPOSITORY · /tree/main

Files and Versions

Direct inspected tree artifacts from Hugging Face. Verified filenames, exact byte sizes, model weight shards, and configuration definitions.

Browse /tree/main↗
Discovered FilesVerified Repository
Source RepoTHUDM/CogVideoX-5b

Files and versions are hosted on Hugging Face. You can view all branches, commits, model weights, and tokenizer artifacts directly.

Inspect THUDM/CogVideoX-5b /tree/main↗

Decision matrix

✓ RUN / USE THIS IF…

  • •You have a 16GB or 24GB GPU
  • •You want 6-second cinematic motion clips
  • •Your 24GB GPU comfortably fits the model weights (~12GB VRAM) with dedicated headroom for inference.
  • •You require 100% offline data privacy with zero third-party API logging, subscriptions, or prompt retention.

True cost of ownership

Upfront$0Weights free
Hardware12GB VRAMat INT8 GGUF
API MarkupNoneYou own the stack
Est. Net/Mo$0–$40Electricity + storage

About

Open-source 3D video diffusion transformer with 3D VAE and expert transformer blocks, generating 720p 6-second cinematic video clips under Apache 2.0.

What it does

Download the weights from Hugging Face, pick a quantisation that matches your GPU, and run it locally with Ollama, llama.cpp, vLLM, or a compatible runtime. Temporal motion consistency & Apache 2.0 video runs on your own hardware — no per-token bill, no third-party data handling.

Key features

01
Coherent fluid motion over 6-second video duration

Coherent fluid motion over 6-second video duration

02
3D causal VAE preserves temporal motion consistency

3D causal VAE preserves temporal motion consistency

03
Apache 2

Apache 2.0 license

Use cases

01Short-form ads

Turn a script into a polished 15–30 second clip.

02Storyboarding

Visualise shot lists before a full production run.

03B-roll generation

Fill timeline gaps with convincing atmospheric footage.

04Music videos

Create stylised clips from a lyric sheet or mood board.

Quantization & Hardware Fit

✓ HARDWARE COMPATIBLESelected Profile: GeForce Rig (24 GB VRAM)

VRAM Hardware Compatibility & Memory Allocation

Test GPU:
Active Quant: INT8 GGUF · Required: 12 GB+12 GB Headroom Available
Execution Speed~59 tokens/sec
Memory Bandwidth1008 GB/s
Hardware StatusRuns well
GRADE A · 81/100Runs well (~59 tok/s on 24GB · 1008 GB/s)
QuantVRAMQuality / Fit on 24GBInstall / Run Command (COMFYUI)
INT8 GGUF● ACTIVE12 GBStandard · ✓ Fits (12GB spare)comfy model download --url https://huggingface.co/THUDM/CogVideoX-5b --relative-path models/diffusion_models
BF1622 GBStandard · ✓ Fits (2GB spare)comfy model download --url https://huggingface.co/THUDM/CogVideoX-5b --relative-path models/diffusion_models
FP1626 GBStandard · ✕ Needs 26GBcomfy model download --url https://huggingface.co/THUDM/CogVideoX-5b --relative-path models/diffusion_models
LIVE INFERENCE SPEED SIMULATOR (BANDWIDTH: 1008 GB/S)
Feel how fast CogVideoX-5B (INT8 GGUF) runs on your 24GB rig (~59 tok/s)
Click "▶ Simulate Live Speed" above to watch tokens stream at your GPU's real memory-bandwidth speed (59 tokens/sec ≈ 44 words/sec) before you download 12 GB of weights.

Buyer doubts, cleared

Can I actually run CogVideoX-5B on my 24GB GPU?
Yes. At INT8 GGUF the model needs ~12GB, and your 24GB fits it. Expect roughly 25-45 tok/s at Q4 on a modern card. Add 1-2GB headroom for KV cache at 8K context.
What's the fine print on the license?
License: Apache 2.0. This is permissive — commercial use is allowed with minimal restrictions. Ship it.
Does the Text-to-video / Image-to-video actually hold up in practice?
Benchmark claims for long context often degrade past 64K tokens. Test your specific retrieval workload before committing. For anything above 32K, run a needle-in-a-haystack test first.

User reviews

4.3
★★★★☆
Based on 4 verified benchmark telemetry reports
Verified Architecture Review
OB
Owen BlakeML engineer
★★★★☆

Reasoning quality is close to the bigger models for structured tasks. Open-ended planning still needs a frontier model.

NF
Nadia FaroukFreelance designer
★★★★☆

Clean interface, consistent results once you land on a prompt you like. Wish there were more export presets for client handoffs.

JT
Jon TanakaIndependent developer
★★★★☆

Used CogVideoX-5B for a client project. Documentation was solid, though the fine-tuning path is less polished than base inference.

HK
Hana KimOps engineer
★★★★★

CogVideoX-5B handled our batch jobs without surprises. The API is well documented and the rate limits are reasonable.

Similar tools to check