# Matrix-Game 4.0

Matrix-Game 4.0 is a neural renderer for three specific games: a medieval castle, ancient Egypt and a racing track, with one checkpoint per scene. You play with keyboard and mouse while the model draws every frame.

Organization: Skywork AI. Released: October 2026. Kind: Games.

## What you control

- Keyboard and mouse
- Scene choice: castle, Egypt or racing

## License

Weights: Available (https://huggingface.co/Skywork/Matrix-Game-4.0). Declared license: Apache-2.0.
The weights' model card declares Apache-2.0, a permissive license that allows commercial use. Each released checkpoint covers one game scene.

## Real-time

Real-time, per authors. Up to 67 fps at 864×480 in steady state, excluding video I/O.

## How to run it

1. Clone SkyworkAI/Matrix-Game and, in the Matrix-Game-4 folder, install PyTorch and the package with its inference, server and download extras.
2. Build the sample game with bash scripts/build_game.sh, then play and record it with bash scripts/play.sh --scene ancient-egypt.
3. For a browser demo, start bash scripts/serve.sh. The racing game has its own build script.

## Where to try

- [Windflow](https://windflow.online/models/matrix-game-4)

## Sources

- [Project source](https://github.com/SkyworkAI/Matrix-Game)
- [Weights and model card](https://huggingface.co/Skywork/Matrix-Game-4.0)

## Questions

### Is Matrix-Game 4.0 open source?

Matrix-Game 4.0 publishes downloadable weights under Apache-2.0. The declared license is permissive.

### Can I use Matrix-Game 4.0 commercially?

The weights' model card declares Apache-2.0, a permissive license that allows commercial use. Each released checkpoint covers one game scene.

### Does Matrix-Game 4.0 run in real time?

Yes, according to its authors. Up to 67 fps at 864×480 in steady state, excluding video I/O. This directory has not measured it independently.

### Where can I try Matrix-Game 4.0?

You can try it on Windflow.

### What does Matrix-Game 4.0 take as input?

You give it keyboard and mouse; and scene choice: castle, Egypt or racing.

### How do I run Matrix-Game 4.0?

Following the official instructions: Clone SkyworkAI/Matrix-Game and, in the Matrix-Game-4 folder, install PyTorch and the package with its inference, server and download extras. Build the sample game with bash scripts/build_game.sh, then play and record it with bash scripts/play.sh --scene ancient-egypt. For a browser demo, start bash scripts/serve.sh. The racing game has its own build script.

### What are alternatives to Matrix-Game 4.0?

Similar models in this directory include Agora (Odyssey) (no public weights, service terms), Hunyuan-GameCraft (open weights, custom terms) and Matrix-Game 2.0 (open weights, permissive license).

Checked 2026-10-23. Corrections: https://github.com/windflow-labs/world-model-directory
