karpathy/nanochat
The best ChatGPT that $100 can buy.
Karpathy's minimal harness trains a usable ChatGPT clone for $100 — Built by Andrej Karpathy, nanochat is a compact, hackable codebase covering tokenization through inference for training your own LLM on a single GPU node. A GPT-2-grade model that cost $43,000 in 2019 now trains for about $48, with a single --depth flag auto-tuning all other hyperparameters. It also runs a public speedrun leaderboard tracking the fastest time to GPT-2 capability.
Metrics
Relative growth (7d)+0%Growth over the last 7 days relative to size
Acceleration-80%Change in growth pace from the week before
Attention15The three metrics scaled to 0–100 and combined
Retention can be computed 30 days after a repository first trends (it isn't shown until then). See About for how each metric is defined.
Star growth and Trending appearances (last 30 days)
First listed+424★/dayDaily
Oct 13, 2026Nov 11, 2026
Bands mark days on the trending list (darker = higher rank)
Daily trending ranks as a table (2 days)
| Date | Daily |
|---|---|
| Nov 4, 2026 | python #6 +479 |
| Nov 3, 2026 | #14 +321 python #5 |
Created Oct 13, 2025 · First on trending Nov 3, 2026