Tools/antirez/h3.c

h3.c

MiniMax H3 inference engine for Mac computers

1.6kemergingCMIT Licensenew this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Aug 2026

H3.c generates video with synchronized audio locally on a Mac. It's a from-scratch C inference engine for MiniMax's H3 model, written by the creator of Redis, with an interactive REPL that previews output right in your terminal. The code is MIT and a pleasure to read; local, private video generation with no cloud API is the pitch.

The hardware is the gate. You want Apple Silicon with serious unified memory: peak usage runs into the tens of gigabytes depending on canvas size, plus about 37 GB of disk for the checkpoint. An SSD-streaming mode drops memory use to around 2 GB, but at a steep speed penalty at small canvas sizes. Build is a simple make with FFmpeg on PATH.

This is for Mac owners with serious unified memory who want local generation, and for anyone who wants to read a modern diffusion pipeline in C. ComfyUI is the mainstream local workbench; Runway and Pika are the hosted alternatives.

The catch: the MIT badge covers only the code. The model weights ship under MiniMax's custom community license, non-OSI, with an application process for US, EU, UK, and South Korea users, and the engine is useless without them. The author also frames the repo as working vertical slices, not a finished product, and canvas sizes and frame counts have sharp constraints.

Free vs Self-Hosted vs Paid

fully free

Free (the code): MIT, no commercial offering, builds with make.

Not open (the weights): MiniMax-H3 ships under a custom community license, not OSI-approved, with a separate application process for users in the US, EU, UK, and South Korea. Commercial evaluation means reading that agreement.

The real cost: Hardware. Peak memory runs into the tens of gigabytes depending on canvas size (an SSD-streaming mode runs in ~2 GB at a steep speed cost), ~37 GB storage, and thermal headroom on laptops.

The trade: No per-generation API fees, in exchange for owning serious silicon and accepting a vendor model license.

Free MIT code, but the required model weights carry MiniMax's non-OSI community license, and the hardware bar is high.

Self-hosting ops:significant

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
71/100 · B+
Adoption12/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Notable author: 30,903 followersAuthor also built: antirez/ds4 (21,212 stars)

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
Salvatore Sanfilippo (User)
Stars
1,629
Forks
98

Also by Salvatore Sanfilippo

Explore Further

More tools in the directory