karpathy/nanochat

★60,433PythonMIT⑂ 8,475Issue 28Updated Sep 8, 2026

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.

LLMs & ML

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)
DateDaily
Nov 4, 2026
python #6 +479
Nov 3, 2026
#14 +321
python #5

Created Oct 13, 2025 · First on trending Nov 3, 2026

Other notable repositories in the same category (LLMs & ML)

See all LLMs & ML repositories →

Get the weekly digest by email

Every Monday: the repositories that grew most last week, and how the buzz spread between the global and Japanese-language web. Unsubscribe any time. See the privacy and ad policy for how we handle your address.