CogVideoX-5B

Replicate
Video Generation

CogVideoX-5B from Tsinghua/Zhipu AI, an open 5B-parameter text-to-video diffusion transformer. Generates 6-second 720p clips with coherent motion and is widely used in research for its open weights and reproducibility.

Queue video with CogVideoX-5B
Video generation runs asynchronously — we'll queue a job and you can track it in your history.
Sign in to try this model with €5 free credits.
Sign in
Generates as an async job — typically 30 s to 2 min.
TL;DR·Last updated June 24, 2026

CogVideoX-5B is video generation AI model from Replicate, priced at €0.000 per 1M input tokens with a unknown context window.

Try CogVideoX-5B
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€3.00

API Integration

Use our OpenAI-compatible API to integrate CogVideoX-5B into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("cogvideox-5b", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("cogvideox-5b", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("cogvideox-5b", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Price
€3.00
Developer
Replicate
Category
Video Generation
Supported Formats
text
Tags
replicate
cogvideox
zhipu
video
text-to-video
open-weights

Frequently asked questions

Start using CogVideoX-5B today

Get started with free credits. No credit card required. Access CogVideoX-5B and 100+ other models through a single API.