minimind: train a small LLM from scratch on one GPU

minimind: train a small LLM from scratch on one GPU

minimind is a free, open-source project that shows you how to train a small language model from scratch on one graphics card. It’s licensed Apache-2.0 and has 67.7k stars on GitHub. Its smaller model, minimind-3, has 64 million parameters. Last checked: 21 Nov 2026.

This isn’t a chatbot to download and use. It’s a learning project for people who want to see every step of building a model: what goes in, what comes out and how long each stage takes. Most of the page is written in Chinese.

What do the “2 hours” and “3 yuan” actually mean?

This is the part most likely to be misread. Per the page’s own footnote, “2 hours” means one epoch of the SFT (fine-tuning) stage on a single NVIDIA 3090, and “3 yuan” is the GPU rental cost for that time. It doesn’t mean the whole pipeline takes two hours.

The page also gives estimates for minimind-3 on a single 3090: about 1.21 hours for pretraining and about 1.10 hours for SFT, roughly 2.31 hours and about 3.0 yuan for one epoch of each. It describes these as estimates, with GPU rental at about 1.3 yuan an hour. Treat them as ballpark figures, not guarantees. Your own time and bill will depend on the card, the data and the rental rate where you live.

Which models does it include?

Two. minimind-3 is a 64M dense model. minimind-3-moe is a mixture-of-experts model listed as 198M-A64M, with 4 experts and top-1 routing. In plain terms, it’s larger on disk but uses about 64M parameters for each token.

What hardware do you need?

The author’s own setup is eight RTX 3090 cards with 24 GB each. The cost estimates above are for a single 3090, so a one-card run is possible, but a card with much less memory is a risk we can’t vouch for. The page doesn’t say what happens on smaller GPUs.

Who should bother?

A computer science student or working engineer who wants to understand training end to end, without a cloud budget, will get the most out of it. If you only want to use a model, this isn’t the tool. A small 64M model won’t match the big assistants you already know.

If you’d like to see the big end of the same field, we’ve covered Mistral Large 4 open weights: licence, API price, catch and NVIDIA SkillSpector, a free scanner for AI agent skills.

Source and verification

Checked against GitHub (minimind) on 21 Nov 2026.

Get one useful update every day

Verified, short, free. Join our Telegram channel: t.me/asn_daily · Instagram: @asn_daily