# nanochat: The best ChatGPT that $100 can buy.

<https://github.com/karpathy/nanochat>

- Host: [github.com](https://links.thingelstad.xyz/hosts/github.com/)
- Saved: October 16, 2025 (2025-10-16T16:13:14Z)
- Record: https://links.thingelstad.xyz/links/971dc80d2487/
- JSON: https://links.thingelstad.xyz/links/971dc80d2487.json

## What Jamie wrote

Maybe I found my use case for that new [NVIDIA DGX Spark](https://nvidianews.nvidia.com/news/nvidia-dgx-spark-arrives-for-worlds-ai-developers). 😁

> 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](https://github.com/karpathy/nanochat/blob/master/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.

I totally dig this project and love the idea that I could train my own "good enough" model that would run on my infrastructure maybe even in my home. Reminder, I run a Gnosis Chain Validator at home and think that is incredible. Democratizing LLM capability? I like it.

Now give it a couple of weeks and I bet this is a one-line installer for that new Spark.

## Facts

- Kind: [Repository](https://links.thingelstad.xyz/kinds/repository/)
- Repository: karpathy/nanochat: The best ChatGPT that $100 can buy.
- About the repository: Python, 58,879 stars, MIT, last push September 7, 2026

## Appears in

- [WT330: Weekly Thing 330 / Music, Intervals, Nanochat](https://weekly.thingelstad.com/archive/330/), Notable

## Mentions

- [NVIDIA DGX Spark Arrives for World’s AI Developers | NVIDIA Newsroom](https://links.thingelstad.xyz/links/ba2e2fd1ba96/) (nvidianews.nvidia.com, October 16, 2025)

## Same host

- [container: A tool for creating and running Linux containers using lightweight virtual machines on a Mac](https://links.thingelstad.xyz/links/f6b90900bc49/) (github.com, October 1, 2025)
- [ai-agents-for-beginners: 12 Lessons to Get Started Building AI Agents](https://links.thingelstad.xyz/links/94985b3bfb1f/) (github.com, October 1, 2025)
- [Beads - A memory upgrade for your coding agent](https://links.thingelstad.xyz/links/36b99d6c1b0c/) (github.com, October 16, 2025)
- [srssly: Minimalistic RSS server and ui](https://links.thingelstad.xyz/links/52b9f2dc6816/) (github.com, October 28, 2025)
- [toon: 🎒 Token-Oriented Object Notation – JSON for LLMs at half the token cost](https://links.thingelstad.xyz/links/d7d36c1f4421/) (github.com, October 29, 2025)

## Saved the same week

- [The Great De-Leveraging: Friday Flash Crash - Tanay Ved](https://links.thingelstad.xyz/links/6e650bd543fe/) (coinmetrics.substack.com, October 16, 2025)
- [LLMs As Conduits for Data Portability Between Apps - MacStories](https://links.thingelstad.xyz/links/597d9e963728/) (macstories.net, October 16, 2025)
- [Why Signal’s post-quantum makeover is an amazing engineering achievement - Ars Technica](https://links.thingelstad.xyz/links/b16ea636b3dc/) (arstechnica.com, October 16, 2025)
- [Beads - A memory upgrade for your coding agent](https://links.thingelstad.xyz/links/36b99d6c1b0c/) (github.com, October 16, 2025)
- [Switch to Jujutsu already: a tutorial - Stavros' Stuff](https://links.thingelstad.xyz/links/8304f6d03d74/) (stavros.io, October 16, 2025)

## Elsewhere

- Wayback Machine: https://web.archive.org/web/*/https://github.com/karpathy/nanochat
