nanochat is an open-source, full-stack implementation of a ChatGPT-like language model that can be trained for just $100 in 4 hours on an 8XH100 GPU node, providing a clean, minimal, and hackable codebase with complete pipeline from tokenization to deployment.