karpathy/nanochat
The best ChatGPT that $100 can buy.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
The project lists 50 contributors on GitHub.
Peaked at #10 in the weekly ranking the week of Feb 8, its best in the past year.
Use Cases & Benefits
- Implements a full-stack, minimal Large Language Model like ChatGPT that can be trained and run end-to-end on a single GPU node.
- Enables affordable, hackable, and fully customizable LLM training and inference with a simple codebase and low compute cost.
- Use for experimenting with training your own ChatGPT-style model on a budget under $100 using accessible scripts and minimal dependencies.
- Use for educational purposes to learn LLM internals by running a clean, readable, and modifiable transformer training pipeline.
- Use for deploying a personal chatbot with a web UI that you can customize and extend with your own data and training tweaks.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
Watch-outs
- No GitHub releases; pin a commit or tag instead of a release.
General guidance from repository metadata, not legal advice. How we score
From the README
The best ChatGPT that $100 can buy.
This repo is a full-stack implementation of an LLM like ChatGPT in a single, clean, minimal, hackable, dependency-lite codebase. nanochat is designed to run on a single 8XH100 node via scripts like speedrun.sh, that run the entire pipeline start to end. This includes tokenization, pretraining, finetuning, evaluation, inference, and web serving over a simple UI so that you can talk to your own LLM just like ChatGPT. nanochat will become the capstone project of the course LLM101n being developed by Eureka Labs.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+2,919 stars over 76 days across 8 snapshot days; best day +311 on Nov 4.
Forks
8.5K+472
Open issues
137+26
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 22, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 199.0K | +3.6K | 15 | — |
| tradermonty/claude-trading-skills | 7.8K | +2.2K | 35 | — |
| DuarteSantos8/openGym | 23.3K | +1.8K | 60 | 8 days ago |
| Jakeschincariol/instagram-agent-skill | 8.3K | +1.7K | 6 | — |
| we-promise/sure | 17.3K | +1.6K | 60 | 1 day ago |
| karpathy/nanochat | 60.5K | — | 35 | — |
| Category median | 17.3K | +1.8K | 35 | — |
Also by karpathy
Other repositories from this maintainer that GStars tracks
- Python100.4K stars
autoresearch
AI agents running research on single-GPU nanochat training automatically
- Python64.9K stars
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
- Jupyter Notebook25.9K stars
nn-zero-to-hero
Neural Networks: Zero to Hero
- Python25.0K stars
minGPT
A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training
- Jupyter Notebook18.8K stars
micrograd
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
Discover Repositories
Search across tracked repositories by name or description