CogVideoX-5B

Video generationAvailable
by CommunityModel ID: cogvideox-5b

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.

Price
β‰ˆ $0.60/run
Input β†’ output
Text β†’ Video
Developer
Community
Updated
September 23, 2026
01

Playground

Try CogVideoX-5B

Input & output

β‰ˆ $0.60/run
Try CogVideoX-5B

0 / 2,000

What video to generate

Advanced settings (1)

Optional seed for reproducibility

Output
Your video appears here.

This run

about $0.60 Β· 60 credits

$1.80 (180 credits) are reserved at the start; the actual GPU time is billed.

For accounts without a purchase: runs above 2 credits need a top-up.

New here?

10 free credits ($0.10) when you sign up with Google

Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
  • Prompt

    A pink tiger running through the snow under the northern lights

    Length: 0:06

  • Prompt

    An anime where a cat is drinking ramen

    Length: 0:06

  • Prompt

    A french porcupine sneezing twice

    Length: 0:06

03

About CogVideoX-5B

TL;DRAs of September 23, 2026

CogVideoX-5B is a model by Community in the Video generation category. On Railwail, CogVideoX-5B costs β‰ˆ $0.60 per run.

04

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
Typical run (β‰ˆ 357 s on A100 (80GB))$0.60 per run
GPU time (A100 (80GB))$0.00168 per GPU second
  • Billed by the GPU time the run actually takes. When the run starts, 3Γ— the typical price is reserved from your balance and settled afterwards.
  • 1 credit = $0.01

Cost calculator

Price calculator

s

Typical according to the provider: about 357.1 s

Total

$60.00

6,000 credits

Per run

$0.60 Β· 60 credits

Billed by the actual GPU time; this is an estimate.

05

API

Call CogVideoX-5B with your Railwail API key. Use this model ID in the request:
curl https://railwail.com/api/v1/videos/generations \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "cogvideox-5b",
    "prompt": "A slow drone shot over a misty pine forest at sunrise"
  }'

# Response: {"job_id": "...", "status": "queued", ...}
# Poll until status is completed, failed or cancelled:
curl https://railwail.com/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAILWAIL_API_KEY"
Set your key as RAILWAIL_API_KEYCreate API key

Videos run asynchronously: the first call returns a job_id; query /api/v1/jobs/JOB_ID until the status is completed.

06

Specifications

Model ID
cogvideox-5b
Developer
Community
Input
Text
Output
Video
Billing
By usage (tokens or GPU time)
Catalog entry updated
September 23, 2026

Input parameters

Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.

  • promptrequired

    What video to generate

    Type: Text
    Default: –
    Allowed values: up to 2,000 characters
  • seed

    Optional seed for reproducibility

    Type: Integer
    Default: –
    Allowed values: –

Tags

  • replicate
  • cogvideox
  • zhipu
  • video
  • text-to-video
  • open-weights
07

Use cases

08

Frequently asked questions

What is CogVideoX-5B?

CogVideoX-5B is a model by Community in the Video generation category. On Railwail you can call it with an API key through the Railwail API.

How much does CogVideoX-5B cost on Railwail?

On Railwail, CogVideoX-5B costs β‰ˆ $0.60 per run. You are charged for what each request actually uses. Usage is paid from prepaid credits; 1 credit equals $0.01.

Which settings does CogVideoX-5B support?

According to its input schema, CogVideoX-5B knows these parameters: prompt (up to 2,000 characters) and seed.

How fast is CogVideoX-5B?

There are not enough measured runs of CogVideoX-5B on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is CogVideoX-5B better than Google Veo 3.1?

That depends on the task. CogVideoX-5B (Community) and Google Veo 3.1 (Google DeepMind) are both models in the Video generation category. The comparison page shows their prices and specifications side by side.

Compare CogVideoX-5B and Google Veo 3.1

How do I use CogVideoX-5B through the API?

Create a Railwail API key and send your request with the model ID cogvideox-5b. Code examples for curl, Python and JavaScript are in the API section of this page.

09

Comparable models

All in this category

Use CogVideoX-5B via the API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.