Performance Guide

July 11, 2025 ยท View on GitHub

Cosmos models come in different sizes and variants, each with different hardware requirements and performance characteristics. This guide will help you choose the right model for your needs.

Hardware Requirements

The following table shows the GPU memory requirements for different Cosmos models:

ModelRequired GPU VRAM
Cosmos-Predict2-2B-Text2Image26.02 GB
Cosmos-Predict2-14B-Text2Image48.93 GB
Cosmos-Predict2-2B-Video2World32.54 GB
Cosmos-Predict2-14B-Video2World56.38 GB

For optimal performance, we recommend:

  • NVIDIA GPUs with Ampere architecture (RTX 30 Series, A100) or newer
  • At least 32GB of GPU VRAM for 2B models
  • At least 64GB of GPU VRAM for 14B models

Performance Benchmarks

Inference performance

The following table shows generation times across different NVIDIA GPU hardware:

GPU Hardware2B-Text2Image14B-Text2Image2B-Video2World14B-Video2World
NVIDIA GB2003.39 sec8.5 sec25.61 sec85.26 sec
NVIDIA B2003.24 sec8.68 sec30.7 sec92.59 sec
NVIDIA RTX PRO 60005.59 sec24.16 sec82.43 sec321.9 sec
NVIDIA DGX Spark24.87 sec138.94 sec344.64 sec1902.26 sec
NVIDIA H200 SXM9.02 sec15.96 sec50.2 sec176.19 sec
NVIDIA H200 NVL6.34 sec16.95 sec54.01 sec203.56 sec
NVIDIA H100 PCIe11.12 sec23.83 sec79.87 sec286.46 sec
NVIDIA H100 NVL5.05 sec23.97 sec87.32 sec377.67 sec
NVIDIA H2011.47 sec59.59 sec179.69 sec852.64 sec
NVIDIA L40S8.9 sec(OOM)127.49 sec1036.24 sec
NVIDIA RTX 6000 Ada11.94 sec167.86 sec180.99 sec876.68 sec

Note: (OOM) indicates "Out of Memory" - the model is too large to run on that GPU.

Note: Video2World was run with 480p resolution and at 16 FPS.

Sparse Attention powered by NATTEN

Video2World offers variants trained with sparse attention, which can accelerate inference up to 2.5X on the Hopper and Blackwell architectures with comparable quality. This feature is only available for 720p inference, and only on NVIDIA GPUs with compute capability 9.0 or 10.0.

Since many concurrent works in sparse attention for video generation report performance numbers with Flash Attention V2 as baseline, we note that our baseline models run with SOTA attention kernels for the Hopper (Flash Attention V3) and Blackwell (cuDNN Attention) architectures.

NATTEN's Hopper and Blackwell FNA kernels can deliver speedups proportional to reduction in FLOPs over FAv3 and cuDNN's Blackwell FMHA.

The following table shows generation times (720p, 16fps) with and without sparsity across supported NVIDIA GPUs:

GPU Hardware2B-Video2World2B-Video2World + NATTEN14B-Video2World14B-Video2World + NATTEN
NVIDIA B200123.9 sec54.0 sec (2.3X)439.4 sec223.1 sec (2.0X)
NVIDIA H200 SXM221.7 sec89.4 sec (2.5X)836.9 sec412.9 sec (2.0X)
NVIDIA H200 NVL267.2 sec104.3 sec (2.6X)1006.7 sec489.5 sec (2.1X)
NVIDIA H100 PCIe378.5 sec149.6 sec (2.5X)1425.4 sec706.9 sec (2.0X)
NVIDIA H100 NVL355.7 sec138.7 sec (2.6X)1348.6 sec677.0 sec (2.0X)
NVIDIA H100 SXM228.8 sec94.2 sec (2.4X)856.9 sec426.0 sec (2.0X)

The following table shows generation times (720p, 10fps) with and without sparsity across supported NVIDIA GPUs:

GPU Hardware2B-Video2World2B-Video2World + NATTEN14B-Video2World14B-Video2World + NATTEN
NVIDIA B20062.4 sec32.6 sec (1.9X)230.0 sec136.5 sec (1.7X)
NVIDIA H200 SXM111.1 sec52.9 sec (2.1X)436.7 sec252.1 sec (1.7X)
NVIDIA H200 NVL133.1 sec60.7 sec (2.2X)519.3 sec296.6 sec (1.8X)
NVIDIA H100 PCIe187.9 sec87.4 sec (2.1X)749.2 sec439.3 sec (1.7X)
NVIDIA H100 NVL175.5 sec79.0 sec (2.2X)711.5 sec418.0 sec (1.7X)
NVIDIA H100 SXM115.1 sec56.0 sec (2.0X)447.9 sec260.0 sec (1.7X)

Post-training performance

Review the AgiBot-Fisheye post-training example, which contains performance numbers on different GPUs.

Model Selection Guide

It is recommended to use the 2B models for

  • faster inference times and lower latency
  • limited GPU memory (requires ~26-33GB VRAM)
  • simpler scenes and compositions
  • rapid prototyping or testing
  • processing large batches of images/videos efficiently

It is recommended to use the 14B models for

  • higher quality and more detailed outputs
  • sufficient GPU resources (requires ~49-57GB VRAM)
  • complex scenes with intricate details
  • quality is prioritized over generation speed
  • final production assets

The 14B models generally produce higher fidelity results with better coherence and detail, but come with increased computational costs. The 2B models offer a good balance of quality and performance for many practical applications while being more resource-efficient.

For most development and testing scenarios, starting with the 2B models is recommended. You can then scale up to 14B models when higher quality is needed and hardware resources permit.

If you have a Hopper (compute capability 9.0) or Blackwell datacenter-class (compute capability 10.0) GPU, you can also experiment with the Sparse Attention variants. Sparse variants are comparable in terms of visual quality with their base counterparts across various domains.