स्तम्भ Stambh · Udyamnīti
Knowing the Recipe Is Not Owning the Kitchen
A post explaining how GPT and Claude are built has been read four million times. It gets the five stages right. It gets the gap wrong. The gap is not between people who understand the pipeline and people who use it. It is between people who own a stage of it and people who rent the result. And yes, you can train your own: here is what that really takes.
Nikhil Sharma · उद्यमनीति Udyamnīti · 28 November 2026 · 7 min read
Fabulous.Media sells AI-led content and visibility work, and I use ChatGPT and Claude every day. Every figure is sourced at the end.
Everyone can learn how the machine is made. Very few will own any part of it.
Rahul Kumar’s explainer on X has been read more than four million times. Its title promises to show how to build your own large language model, the five-step pipeline behind GPT and Claude.
It is good. Better than most of what passes for AI education on the feed. It deserves the views, and it deserves an answer.
What it gets right
The article says every frontier model is made the same way, in five stages, in this order.
Data. Collect an enormous amount of text. Remove duplicates, spam and junk. Cut it into tokens, the numbered word-pieces a model actually reads.
Pretraining. Show the model a run of tokens and ask it to guess the next one. Correct it. Repeat across trillions of tokens. Grammar, facts, code and argument all fall out of that one dull task. The result is a base model: it knows a great deal and has no idea it is meant to help you.
Supervised fine-tuning. Train it on thousands of carefully written examples of a question and a good answer. Now it behaves like an assistant.
Reward modelling. Have people rank several answers to the same question. Train a second model to predict which answer people will prefer.
Reinforcement learning. Let the assistant answer, let the reward model score it, nudge the assistant toward higher scores. Repeat for a long time.
That is accurate. The author is also honest that you will not build GPT on a laptop. Sam Altman has said GPT-4 cost more than $100 million to train. And he is right that once you see the pipeline the machine stops looking like magic. A model that was trained to predict likely text will sometimes produce likely text that is false. That one idea explains more about hallucination than a hundred threads about it.
The line that was left in
Three times in the article, between the stages, a sentence appears that was clearly never meant to be published: “Here’s a rewritten version with the same meaning, similar length, and a fresh writing style.”
I do not quote it to mock the author. Everyone who works with these tools has pasted a reply too fast. I quote it because it is the best picture of stage five I have seen.
Stage five trains a model to give the answer a rater would prefer. A rater prefers a reply that is fluent, helpful and quick. The model delivered exactly that. It did its job. The pipeline ends at the model. It does not end at the page. The last stage, the one no lab can train, is the person who reads the output before it goes out under their name.
So the first lesson of the pipeline is not technical. Everything the machine gives you is a draft until you have read it.
Everything the machine gives you is a draft until you have read it.
Every stage has an owner
The article’s big claim is that the gap between people who understand AI and people who use it is a mental model. Learn the five stages and you are ahead of most people.
I would put it differently. Understanding the pipeline is the entry ticket. It is not the advantage. Go through the five stages again and ask a different question of each. Not how does it work. Who owns it?
Data is owned by whoever holds the text. Publishers, platforms, code hosts and the labs that crawled the open web first. The open web is mostly English. Indian languages, spoken by more than a sixth of humanity, are a sliver of it. A model learns what it reads.
Pretraining is owned by whoever owns the compute. A few American companies and a handful of Chinese ones. DeepSeek showed in December 2024 that the final training run of a strong model could cost about $5.6 million in rented chips. Cheaper is not cheap. It is still a cheque few can write and a supply of chips fewer can get.
Fine-tuning and reward modelling are owned by whoever decides what a good answer is. This is the stage the article calls the least talked about, and it is the one that matters most. The demonstrations and the rankings are written by people. Those people are paid by the hour. Much of that work is done in Nairobi, Manila and Indian towns. The labs keep the taste. The raters sell their time.
Reinforcement learning is owned by whoever writes the rules the model is scored against. The article notes that some labs now score answers against a written set of principles, a constitution. Someone writes that constitution. It is a short document with very long consequences.
Read the pipeline this way and it stops being a lesson in engineering. It becomes a map of who keeps the value.
Where India stands on the map
India is excellent at the middle of this pipeline and thin at both ends.
We supply engineers and annotators to stages three and four, and we are paid once for the work. Then we buy the finished model back by the token. That is the position I called rung two in [The AI Wealth Ladder](/soch/vimarsh/the-ai-wealth-ladder): brains without ownership, skill sold by the hour.
It is changing, and credit is due. The IndiaAI Mission, approved in March 2024 with ₹10,372 crore, has put tens of thousands of GPUs on subsidised rent for Indian builders. Sarvam was selected in 2025 to build a sovereign foundation model. BharatGen, led out of IIT Bombay, is building models for Indian languages. AI4Bharat at IIT Madras has done the unglamorous stage-one work of collecting Indian-language data that no one else would. These are the right bets because they are bets on owning a stage, not on understanding it.
Training your own
The article ends by telling you to build one yourself. That is the right advice, so it is worth being precise about what “your own LLM” can mean. There are three versions, and they cost very different amounts.
Train a small one from scratch, to learn. Andrej Karpathy, who helped found OpenAI, has published free code that walks through every stage on a model small enough to rent the hardware for. His nanochat project trains a basic ChatGPT-style assistant end to end, data to chat window, in about four hours on one rented machine, for roughly $100. It will not be clever. It will teach you more about tokens, loss curves and why fine-tuning matters than any number of threads.
Take an open model and fine-tune it on your work. This is what most companies mean when they say they trained their own model, and it is the version that pays. Start from an open-weights model, Llama, Qwen, Gemma or an Indian one such as Sarvam’s, which has already been through stages one and two at someone else’s expense. Then run stage three on your own examples: a few thousand questions from your business and the answers your best people would give. With techniques like LoRA, which adjusts a small slice of the model instead of all of it, this fits on a single good GPU and takes hours, not months.
Teach it your taste. Then do stage four the cheap way. Collect pairs of answers and mark which one is better by your standard. Methods such as DPO turn those preferences straight into training without a separate reward model. This is where a model stops sounding like everyone’s assistant and starts sounding like your firm.
What almost no one should do is pretrain from scratch. That is the stage that costs tens or hundreds of millions, and the open models have already paid it for you.
What to own
For a reader, do the first version. You will understand the pipeline better than any thread can teach you.
For a business, do the second and third. Do not try to own pretraining. Own stage one and stage four for your own field. Stage one is the data only you have: your customer conversations, your case files, your twenty years of what worked. Stage four is your judgement of what a good answer looks like in your business, written down as examples and tests. A company that owns those two can rent any model and still be the one deciding what it produces. A company that owns neither is renting someone else’s taste.
For India, the prize is the reward model. Whoever writes the rankings decides what a helpful, fair and correct answer is for a billion people. That should not be outsourced to a rater in another country working from a rulebook written in a third.
Knowing the recipe is worth a great deal. Owning the kitchen is worth more.
Gurugram, 28 November 2026.
Sources, checked 28 November 2026. Rahul Kumar, How to Build Your Own LLM: The 5-Step Pipeline Behind GPT & Claude, X, 6 July 2026, 4.1 million views when read. Sam Altman on GPT-4’s training cost, Wired, April 2023. DeepSeek-V3 technical report, arXiv 2412.19437, December 2024: 2.788 million H800 GPU hours at an assumed $2 an hour, for the final run only. Kenyan data workers labelling for OpenAI through Sama, TIME, January 2023. IndiaAI Mission, ₹10,372 crore, Cabinet approval 7 March 2024, PIB. Andrej Karpathy, nanochat, October 2025. LoRA: Hu and others, arXiv 2106.09685, 2021. DPO: Rafailov and others, arXiv 2305.18290, 2023. Constitutional AI: Bai and others, arXiv 2212.08073, 2022.