
Andrej Karpathy's minimal, open-source (MIT) framework to train your own ChatGPT-style LLM from scratch on a single GPU node — from tokenizer to inference.
✓ Active✓ Public access⚖ Open sourceLLM
Context window
1024 tokenów
tokens
Parameters
≈561M (d20)
parameters
Release date
13 October 2025
Access:DownloadDeployment:💻 Local☁ Cloud📱 On-device
Overview
Classification
LLM
Access & deployment
Download
LocalCloudOn-device
Weights: Open source
Key parameters
📏 Context: 1024 tokenów
🧩 Parameters: ≈561M (d20)
✓ Tools · ✓ Fine-tuning
📥 Input: text
Technical specification
Context window
1024 tokenów
tokens
Parameters
≈561M (d20)
parameters
License
MIT
Hardware requirements
Reference training: an 8×H100 node (≈80 GB VRAM per GPU). Also runs on 8×A100 (slower), on a single GPU (≈8× longer), and on CPU / Apple Silicon (MPS) at a heavily reduced scale. Default precision is bfloat16 on GPU SM 80+.
Features:✓ Tool use✓ Fine-tuning
Modalities
⬇ Input
text
⬆ Output
textcode
Capabilities and applications
Native model capabilities
Language modeling
Ability to predict subsequent tokens and generate coherent natural-language text based on the preceding context.
Category: language
Natural conversation
Conducting a conversation with a tone close to human: a warmer voice, empathy in emotional responses, humour, and avoiding the stiff 'AI assistant jargon'. Introduced as a deliberate improvement in GPT-5.1 Instant.
Category: language
Coding
Generating, analysing and modifying code in many programming languages. Covers writing functions, debugging, refactoring, code review, and creating tests. Measured by benchmarks such as HumanEval and SWE-bench.
Category: coding
Tool use
The model's ability to call external functions, APIs and tools during a conversation: calculator, search engine, code editor, database. The model decides when and how to use a tool and interprets its result.
Category: planning
Instruction following
Precisely following instructions contained in the prompt: response format, length, style, constraints (e.g. 'reply in six words'). GPT-5.1 significantly improved this capability compared to GPT-5.
Category: language
Benchmark results
7 benchmarks
DCLM CORE
CORE · d20 base model
0.2219
📄 Oficjalny post „original nanochat post” (GitHub Discussions #1)
Report card of the original d20 release (2025-10-13). For reference, the GPT-2 checkpoint scores 0.2565.
ARC-Easy
accuracy · d20 model after SFT
0.3876
📄 GitHub Discussions #1
ARC-Challenge
accuracy · d20 model after SFT
0.2807
📄 GitHub Discussions #1
MMLU
accuracy · d20 model after SFT
0.3151
📄 GitHub Discussions #1
GSM8K
accuracy · d20 model after SFT
0.0455
📄 GitHub Discussions #1
HumanEval
pass@1 · d20 model after SFT
0.0854
📄 GitHub Discussions #1
ChatCORE
ChatCORE · d20 model after SFT
0.0884
📄 GitHub Discussions #1
Technical architecture
Core Architecture
Model Form
Training Techniques