It's easy to assume the idea behind ChatGPT came from OpenAI. It's OpenAI's product, after all. But look at the last letter of the name. GPT stands for generative pre-trained transformer, and while the first two words describe how the model is trained, the transformer is the design of the model itself, and it came out of Google. It was described in a 2017 paper by eight researchers whose names, according to the paper's own first footnote, are printed in random order. OpenAI never pretended otherwise, to be fair. When it announced its first GPT in June 2018, it called its approach "a combination of two existing ideas: transformers and unsupervised pre-training."
The eighth name on Google's paper comes with a Gmail address, because by the time it was published, he had already left Google. The company he went off to start ended up building a blockchain.
Eight people taught computers to read a sentence all at once#
Before 2017, the programs that translated or wrote text mostly read the way you'd read through a keyhole: one word at a time, left to right, carrying a summary of everything so far. Jakob Uszkoreit of Google explained the problem with an example. In "I arrived at the bank after crossing the river", is it a bank with money or a river bank? A program reading in order "could only determine that 'bank' is likely to refer to the bank of a river after reading each word between 'bank' and 'river' step by step." The paper put the deeper problem in drier words, saying this "inherently sequential nature precludes parallelization". In plain English, each step has to wait for the one before it, so the work can't be split up and done all at once. Their fix was a model "based solely on attention mechanisms, dispensing with recurrence and convolutions entirely", which is a polite way of saying they threw out the reading-in-order machinery and built everything around one trick.
That trick, attention, is simpler than its name. To work out what "bank" means, the transformer "compares it to every other word in the sentence", gives each one a score for how much it matters, and builds its new understanding of "bank" mostly from the high scorers. In Google's example, "river" gets a high score, and the question is settled in a single step instead of four. Then it does the same for every word in the sentence at the same moment, and repeats the whole thing, six layers deep in the paper's models.

Doing everything at once is exactly what graphics chips are good at. They were built to work out the colors of millions of pixels on a screen, many at the same time, and Google's announcement made the connection itself, saying chips like these "excel at parallel and not sequential processing." The paper's models were trained "on one machine with 8 NVIDIA P100 GPUs": eight Nvidia graphics processors, or GPUs, made for data centers. The smaller version trained for 12 hours, and the big one for 3.5 days. Even the smaller one beat every published English-to-German translation system, teams of models included, "at a fraction of the training cost." The big model had 213 million parameters, the numbers a model adjusts as it learns, like dials it keeps turning until its answers come out right.
My favorite part of the paper is that first footnote: "Equal contribution. Listing order is random." It then says who did what, all eight of them. Jakob Uszkoreit proposed replacing the reading-in-order networks with attention and started testing the idea, Ashish Vaswani and Illia Polosukhin built the first transformer models, Noam Shazeer proposed the exact form of attention the paper uses, and the others designed variants, wrote the code and sped up the experiments. An early draft had Shazeer's name first, which surprised him, according to Steven Levy's 2024 history of the paper in Wired. Google's patent on the transformer, granted in October 2019, puts him first again, and Vaswani last.
Levy fills in the rest. Polosukhin got the idea over lunch with Uszkoreit in a Google café in 2016 ("He suggested, why not use self-attention?"). Aidan Gomez was an undergraduate intern who found out months later that the internships were meant for doctoral students. The name was there from "day zero", Uszkoreit says, partly because the model would transform the information it took in, and partly because he'd loved the toys: "I had two little Transformer toys as a very young kid." The title was Llion Jones's idea, after the Beatles' "All You Need Is Love": "I'm British," says Jones. "It literally took five seconds of thought. I didn't think they would use it." So the T in ChatGPT is named, at least partly, after toy robots that turn into cars and trucks.
The paper went out for anyone to read, and at the conference that December, its poster session was so crowded that "Security had to tell us to leave," as Uszkoreit remembers it. Five seconds of thought turned out to be well spent. When I looked the paper up on Semantic Scholar, a research index, 207,555 other papers cited it. Alan Turing's 1950 imitation game paper, the one part one started with, had 12,622 on the same index. That's about sixteen Turings. Indexes disagree, though: OpenAlex, another one, had 130,383 for the transformer paper.
Miners wanted the same graphics cards#
Illia Polosukhin, the name with the Gmail address, left Google in early 2017 to start his own company. By the company's own account, Near began with a goal that sounds very 2026: to "build AI models that could write code from natural language descriptions." It hired students around the world to help train its models, and then, in its words, "the models didn't scale, and there wasn't enough GPU capacity. It was too early." Paying those students raised a second problem: "Many didn't have bank accounts, and sending crypto in 2018 was prohibitively expensive." So the two founders started looking at blockchains, the shared record books that cryptocurrencies run on, and decided to build their own. "They thought it would take six months." They never really left, the company says. One of the transformer's inventors, in other words, went into crypto partly for want of graphics chips, in the very years miners were buying them up.
Mining sounds like hard work. It's mostly guessing. A cryptocurrency such as Ethereum keeps one shared record of who paid whom, and to add the next page of that record, "miners" had to win a race to solve "computationally difficult puzzles", with new coins as the prize. Ethereum's own documentation calls it "an intense race of trial and error". I wrote a toy version to see what that's like: a short program that tries number after number until the scrambled fingerprint of a short text plus the number starts with six zeros. It took 40,827,414 guesses. The average is about 16.8 million, so I was unlucky, which is also very true to mining. What matters is that no guess depends on any other, so thousands can be tried at the same time, which is the kind of work a graphics card is built for. Ethereum's real puzzle was designed to need a lot of memory, to keep out machines built only for mining, and according to the same documentation, mining with graphics cards "was still a viable option until proof-of-work was switched off."

When cryptocurrency prices soared in 2017, miners bought up gaming cards by the rackful. By April 2018, Computerworld was reporting mid-range and high-end cards "selling for twice as much as suggested retail", and scientists couldn't get them either. "We've got the money, we've contacted the vendors, and they say, 'We just don't have them,'" Dan Werthimer, chief scientist of a Berkeley center that listens for signals from alien civilizations, told the BBC. Even the people searching for aliens were waiting in line behind the miners.
In 2022, the US Securities and Exchange Commission fined Nvidia $5.5 million over what it hadn't told investors. During "consecutive quarters" of Nvidia's fiscal 2018, a year that ended in January 2018, the commission said, Nvidia "failed to disclose that cryptomining was a significant element of its material revenue growth from the sale of its graphics processing units (GPUs) designed and marketed for gaming." Nvidia settled "without admitting or denying" the findings. Then prices fell, and the miners stopped buying. In November 2018, Nvidia's founder and chief executive, Jensen Huang, put it this way: "Our near-term results reflect excess channel inventory post the crypto-currency boom, which will be corrected." In plain words, shops were sitting on unsold graphics cards. The same statement opened with a different kind of news: "AI is advancing at an incredible pace across the world, driving record revenues for our datacenter platforms." The hangover and the next boom, in one press release.
Crypto came back in 2021, and this time Nvidia took sides. "We are gamers, through and through," its blog announced in February, before explaining that the drivers of its new RTX 3060 gaming card would detect Ethereum mining and "limit the hash rate, or cryptocurrency mining efficiency, by around 50 percent." For the miners it launched a separate line, the Cryptocurrency Mining Processor, chips "which don't do graphics." A graphics company, selling graphics chips that don't do graphics, to customers who weren't gaming. The tug of war ended on 15 September 2022, when Ethereum switched to proof-of-stake, where people who lock up coins take turns adding pages instead of racing to guess, "reducing energy consumption by ~99.95%."
One mining business had already moved on. CoreWeave was formed in September 2017 as The Atlantic Crypto Corporation, took the name CoreWeave in December 2019 and launched a cloud of graphics computing for rent in 2020. Its revenue before 2022 came mostly from "crypto mining offerings, which we have discontinued," its 2025 stock market filing says, and in 2024 its biggest customer, Microsoft, accounted for 62% of its revenue. How much did the mining booms help AI overall? I looked for anyone who has measured it and found nobody, so I won't guess. The record shows something narrower: the same cards, the same company, scientists short of chips, and at least one miner that became an AI cloud.
OpenAI began as a nonprofit with a billion dollars promised#
OpenAI was announced on 11 December 2015, and its first sentence is worth reading slowly: "OpenAI is a non-profit artificial intelligence research company. Our goal is to advance digital intelligence in the way that is most likely to benefit humanity as a whole, unconstrained by a need to generate financial return." Its research director was Ilya Sutskever, its chief technology officer Greg Brockman, formerly of Stripe, and seven more researchers and engineers made up the founding team, among them Andrej Karpathy, John Schulman and Wojciech Zaremba. Sam Altman and Elon Musk were co-chairs. The donors, from Altman, Brockman and Musk to Reid Hoffman, Peter Thiel and Amazon Web Services, had "committed $1 billion, although we expect to only spend a tiny fraction of this in the next few years." The post even sums up part two in a line: "In the early days, people thought that solving certain tasks (such as chess) would lead us to discover human-level intelligence algorithms."
How much of that billion arrived became a question for lawyers, and the lawyers belong to part six. But both sides have published numbers. In 2024, OpenAI wrote that the nonprofit raised "less than $45M from Elon and more than $90M from other donors", and published an email in which Musk argued for announcing a bigger number than the $100 million Altman and Brockman had planned: "We need to go with a much bigger number than $100M to avoid sounding hopeless." Musk's own lawsuit put his donations at over $44 million between 2016 and September 2020. So by either side's count, Musk gave about 4.5% of the headline billion, a number picked, by his own email, partly so as not to sound hopeless.
The new lab had reason to worry about that, because Google had a head start. It had bought DeepMind, a London lab, in January 2014, for £400 million according to the Guardian. Seven weeks after OpenAI's announcement, on 27 January 2016, DeepMind published AlphaGo in Nature: a program that had beaten the European Go champion, Fan Hui, five games to nil. One of the paper's authors, listed at Google's Mountain View address, was Ilya Sutskever, OpenAI's brand-new research director. Go was the hard case. The paper puts it at about 250 possible moves per turn over about 150 turns, against about 35 moves over 80 turns for chess, the game a computer had already won against the world champion in 1997, as part three tells. I worked those out: roughly 10 to the power of 360 possible games of Go, against about 10 to the power of 123 for chess. Nobody searches all of that, so AlphaGo learned which moves looked promising, and its biggest version ran on 1,202 ordinary processors and 176 graphics chips.

In March 2016, in Seoul, AlphaGo beat Lee Sedol, the winner of 18 world titles, four games to one, in front of what DeepMind says were over 200 million viewers. In the second game it played Move 37, a move DeepMind says had a 1 in 10,000 chance of being used, and in the fourth Lee won with his own Move 78, just as unlikely. By then, Google said, AlphaGo ran on chips Google had designed itself for this kind of work. Lee's reaction to Move 37, as DeepMind quotes it: "I thought AlphaGo was based on probability calculation and that it was merely a machine. But when I saw this move, I changed my mind. Surely, AlphaGo is creative." He retired in 2019 and told Yonhap News Agency why: "Even if I become the number one, there is an entity that cannot be defeated." His win in game four, Yonhap noted, was still the only time a human had beaten AlphaGo.
Computing was the lesson OpenAI took from all this. In May 2018 it published an analysis showing that since 2012, the computing used in the biggest AI training runs had doubled every 3.4 months, growing "by more than 300,000x." The two numbers agree, I checked: 300,000 times is just over 18 doublings, which at 3.4 months each take about five years and two months, the gap between AlexNet in 2012, the two gaming cards of part four, and AlphaGo Zero in 2017, at the far end of OpenAI's chart. Musk left the board in February 2018. The official reason: "As Tesla continues to become more focused on AI, this will eliminate a potential future conflict for Elon." He would, the same post said, "continue to donate and advise the organization."
Four months later came the first GPT. According to Levy, soon after the transformer paper came out, Sutskever "suggested that one of its scientists, Alec Radford, work on the idea." GPT-1 read "over 7,000 unique unpublished books from a variety of genres including Adventure, Fantasy, and Romance", learning by guessing each next word, which is the pre-training in its name, before short lessons for specific tasks. Its training took "1 month on 8 GPUs", and at about 117 million parameters it was smaller than Google's big transformer.

GPT-2, announced on 14 February 2019, had 1.5 billion parameters and had read 8 million web pages. Its reading list came from links posted on Reddit that had earned at least 3 karma, Reddit's points for approval, which the paper calls a sign that users "found the link interesting, educational, or just funny." I live on the internet, and even I find that a bold syllabus. OpenAI wrote that "Due to our concerns about malicious applications of the technology, we are not releasing the trained model", and released a small version instead. The Guardian's headline that day was "New AI fake text generator may be too dangerous to release, say creators". "Too dangerous" is the headline's phrase, though. OpenAI's post never uses the word, and it was modest about the model, which wrote reasonable samples "about 50% of the time" on well-covered topics, such as "Brexit, Miley Cyrus, Lord of the Rings." The full model came out in stages, the last on 5 November 2019, with the note "We've seen no strong evidence of misuse so far."
The GPT-2 paper gives its smallest model 117 million parameters and calls it "equivalent to the original GPT." A model's size isn't a secret, though. From a handful of settings in the papers and in the files OpenAI still publishes (how many layers, how wide each one is, how many word pieces it knows, how much text it sees at once), the dials can be counted with a short program, so I counted them. GPT-1 came out at 116.5 million, as advertised. The smallest GPT-2 came out at 124.4 million. OpenAI's own code page has a note about it: "Note that our original parameter counts were wrong due to an error (in our previous blog posts and paper)." The repeating blocks inside the two models are the same size. The extra 7.9 million sit almost entirely in GPT-2's bigger list of word pieces, 50,257 instead of 40,478, and in its longer view of the text, 1,024 pieces instead of 512. I can't tell from outside what the error was. But 117 million is what GPT-1 had.
The money changed next. In March 2019, OpenAI created a "capped-profit" company under the nonprofit, saying "We'll need to invest billions of dollars in upcoming years into large-scale cloud compute, attracting and retaining talented people, and building AI supercomputers." Its first investors could earn up to 100 times what they put in, so $10 million could come back as at most $1 billion, and anything above that belonged to the nonprofit. On 22 July 2019, Microsoft announced a $1 billion investment and became OpenAI's "exclusive cloud provider". Three and a half years after the nonprofit's billion was promised, another billion was promised, this time to the company with the capped profits.
In January 2020, a team at OpenAI published the evidence behind the bet: a model's mistakes shrink in a smooth, predictable way as its size, its data and its computing grow, "with some trends spanning more than seven orders of magnitude", a range of ten million times. Microsoft built OpenAI a supercomputer with "10,000 GPUs", 1,250 times the eight of the 2017 paper. In May 2020 came GPT-3, with 175 billion parameters, about ten times more than any earlier model of its kind, trained "on V100 GPU's on part of a high-bandwidth cluster provided by Microsoft." I counted GPT-3's dials from its settings too and got 174.6 billion, which rounds nicely to the paper's figure.
Its training took 3.14 × 10²³ calculations by the paper's own table, a 314 followed by 21 zeros. The paper's rule of thumb (six calculations per dial for every word piece read) gives 6 × 175 billion × 300 billion = 3.15 × 10²³, so the table holds up, and it comes to about 13,700 times what the big transformer of 2017 used. When people were asked to tell GPT-3's news articles from real ones, they were right about 52% of the time, barely better than a coin. And in June 2020, the lab that had started out "unconstrained by a need to generate financial return" began selling access to its new models, because "commercializing the technology helps us pay for our ongoing AI research, safety, and policy efforts."
Google's own inventors asked why Google didn't build it#
Sam Altman told Levy, "When the transformer paper came out, I don't think anyone at Google realized what it meant." Uszkoreit told him it had been "pretty evident" to the team, and then asked himself a harder question: "Realistically, we could have had GPT-3 or even 3.5 probably in 2019, maybe 2020. The big question isn't, did they see it? The question is, why didn't we do anything with the fact that we had seen it? The answer is tricky." I think OpenAI's real contribution in these years was a bet: that Google's idea would keep getting better the bigger it got, long after that stopped being cheap. Counting the dials showed me how much of the story is size. GPT-3's design is recognizably the 2018 one, with about 1,500 times the parameters, trained with about 13,700 times the computing of Google's big 2017 model. The bet cost more than a nonprofit could raise, so OpenAI became a company with a cap on its profits and Microsoft's computers behind it.
On 30 November 2022, OpenAI introduced ChatGPT. The announcement says it was "fine-tuned from a model in the GPT‑3.5 series, which finished training in early 2022", and that "ChatGPT and GPT‑3.5 were trained on an Azure AI supercomputing infrastructure", Azure being Microsoft's cloud. Google's T, Nvidia's graphics chips and Microsoft's money, folded into two sentences of a product launch. The idea was free for anyone to read. Making it big took a supercomputer, and the supercomputer took Microsoft.
See you in part six, where everyone starts talking to it.
References
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser and Illia Polosukhin, "Attention Is All You Need", Advances in Neural Information Processing Systems 30, 2017, arXiv:1706.03762. https://arxiv.org/abs/1706.03762
OpenAI, "Improving language understanding with unsupervised learning", June 11, 2018. https://openai.com/index/language-unsupervised/
Steven Levy, "8 Google Employees Invented Modern AI. Here's the Inside Story", Wired, March 20, 2024. https://www.wired.com/story/eight-google-employees-invented-modern-ai-transformers-paper/
Jakob Uszkoreit, "Transformer: A Novel Neural Network Architecture for Language Understanding", Google Research blog, August 31, 2017. https://research.google/blog/transformer-a-novel-neural-network-architecture-for-language-understanding/
Google LLC, "Attention-based sequence transduction neural networks", US Patent 10,452,978 B2, granted October 22, 2019. https://patents.google.com/patent/US10452978B2/en
Semantic Scholar, record for "Attention Is All You Need", citation count read on December 7, 2026. https://www.semanticscholar.org/paper/204e3073870fae3d05bcbc2f6a8e263d9b72e776
Semantic Scholar, record for A. M. Turing, "Computing Machinery and Intelligence", citation count read on December 7, 2026. https://www.semanticscholar.org/paper/2d5673caa9e6af3a7b82a43f19ee920992db07ad
OpenAlex, record for "Attention Is All You Need", citation count read on December 7, 2026. https://openalex.org/W2626778328
NEAR, "NEAR Protocol History: Ten Years Building for the Agent Economy", near.org. https://near.org/roadmap-history
ethereum.org, "Mining". https://ethereum.org/developers/docs/consensus-mechanisms/pow/mining/
ethereum.org, "Proof-of-work (PoW)". https://ethereum.org/developers/docs/consensus-mechanisms/pow/
ethereum.org, "Ethash". https://ethereum.org/developers/docs/consensus-mechanisms/pow/mining/mining-algorithms/ethash/
Lucas Mearian, "Bitcoin mining leads to an unexpected GPU gold rush", Computerworld, April 2, 2018. https://www.computerworld.com/article/3267744/computer-hardware/bitcoin-mining-leads-to-an-unexpected-gpu-gold-rush.html
US Securities and Exchange Commission, "SEC Charges NVIDIA Corporation with Inadequate Disclosures about Impact of Cryptomining", press release 2022-79, May 6, 2022. https://www.sec.gov/news/press-release/2022-79
Nvidia, "NVIDIA Announces Financial Results for Fourth Quarter and Fiscal 2018", February 8, 2018. https://nvidianews.nvidia.com/news/nvidia-announces-financial-results-for-fourth-quarter-and-fiscal-2018
Nvidia, "NVIDIA Announces Financial Results for Third Quarter Fiscal 2019", November 15, 2018. https://nvidianews.nvidia.com/news/nvidia-announces-financial-results-for-third-quarter-fiscal-2019
Matt Wuebbling, "GeForce Is Made for Gaming, CMP Is Made to Mine", NVIDIA Blog, February 18, 2021, archived copy. https://web.archive.org/web/20210220213747/https://blogs.nvidia.com/blog/2021/02/18/geforce-cmp/
ethereum.org, "The Merge". https://ethereum.org/roadmap/merge/
CoreWeave, Inc., Form S-1/A registration statement, US Securities and Exchange Commission, March 2025. https://www.sec.gov/Archives/edgar/data/1769628/000119312525052207/d899798ds1a.htm
Greg Brockman and Ilya Sutskever, "Introducing OpenAI", OpenAI, December 11, 2015. https://openai.com/index/introducing-openai/
OpenAI, "OpenAI and Elon Musk", March 5, 2024. https://openai.com/index/openai-elon-musk/
Manish Singh, "Elon Musk sues OpenAI and Sam Altman over 'betrayal' of nonprofit AI mission", TechCrunch, March 1, 2024. https://techcrunch.com/2024/03/01/elon-musk-openai-sam-altman-court/
Samuel Gibbs, "Google buys UK artificial intelligence startup Deepmind for £400m", The Guardian, January 27, 2014. https://www.theguardian.com/technology/2014/jan/27/google-acquires-uk-artificial-intelligence-startup-deepmind
David Silver, Aja Huang and others, "Mastering the game of Go with deep neural networks and tree search", Nature 529, pp. 484–489, January 2016. https://www.nature.com/articles/nature16961
Google DeepMind, "AlphaGo". https://deepmind.google/research/breakthroughs/alphago/
Norm Jouppi, "Google supercharges machine learning tasks with TPU custom chip", Google Cloud blog, May 19, 2016. https://cloud.google.com/blog/products/ai-machine-learning/google-supercharges-machine-learning-tasks-with-custom-chip
Yonhap News Agency, "(Yonhap Interview) Go master Lee says he quits unable to win over AI Go players", November 27, 2019. https://en.yna.co.kr/view/AEN20191127004800315
OpenAI, "AI and compute", May 16, 2018. https://openai.com/index/ai-and-compute/
OpenAI, "OpenAI supporters", February 20, 2018. https://openai.com/index/openai-supporters/
Alec Radford, Karthik Narasimhan, Tim Salimans and Ilya Sutskever, "Improving Language Understanding by Generative Pre-Training", OpenAI, 2018. https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf
OpenAI, "Better language models and their implications", February 14, 2019. https://openai.com/index/better-language-models/
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei and Ilya Sutskever, "Language Models are Unsupervised Multitask Learners", OpenAI, 2019. https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf
Alex Hern, "New AI fake text generator may be too dangerous to release, say creators", The Guardian, February 14, 2019. https://www.theguardian.com/technology/2019/feb/14/elon-musk-backed-ai-writes-convincing-news-fiction
OpenAI, "GPT-2: 1.5B release", November 5, 2019. https://openai.com/index/gpt-2-1-5b-release/
OpenAI, gpt-2 code repository, README and model settings files. https://github.com/openai/gpt-2
OpenAI, "OpenAI LP", March 11, 2019. https://openai.com/index/openai-lp/
OpenAI, "Microsoft invests in and partners with OpenAI to support us building beneficial AGI", July 22, 2019. https://openai.com/index/microsoft-invests-in-and-partners-with-openai/
Jared Kaplan, Sam McCandlish, Tom Henighan and others, "Scaling Laws for Neural Language Models", arXiv:2001.08361, January 2020. https://arxiv.org/abs/2001.08361
Jennifer Langston, "Microsoft announces new supercomputer, lays out vision for future AI work", Microsoft, May 19, 2020. https://news.microsoft.com/source/features/ai/openai-azure-supercomputer/
Tom B. Brown, Benjamin Mann, Nick Ryder and others, "Language Models are Few-Shot Learners", arXiv:2005.14165, May 2020. https://arxiv.org/abs/2005.14165
OpenAI, "OpenAI API", June 11, 2020. https://openai.com/index/openai-api/
OpenAI, "Introducing ChatGPT", November 30, 2022. https://openai.com/index/chatgpt/



