The Code Race
The pace of AI · Software

How good is AI at building software?

“AI is going to take all software jobs.” Claims like this are everywhere these days, but how true are they really? Is it just hype, or is AI as good as humans at writing software?

Firstly, why should you care whether AI is as good as (or better than) humans? The simple answer, apart from the potential impact on tech jobs, is that if AI is good at writing software, it can improve itself. This is sometimes called RSI, short for recursive self-improvement. AI that can improve itself could develop in strange and potentially dangerous directions. In fact, it could become so powerful and intelligent that it could evade human attempts to control it and potentially wreak havoc on society.

How then can the average person tell how good AI is at writing software? We all use software every day: it’s an essential part of modern society. But, for most people, it is somewhat akin to magic. What happens inside our phones, laptops, gaming consoles, smart TVs and even our cars is mysterious. We know it works, but we have little idea of how hard or easy it is to make it work. Most of us don’t care, as long as our videos play, online orders arrive and emails and messages get sent.

One way to get an intuitive feel for how good AI is at writing software is to ask it to write a video game. Games require understanding and responding to user input, displaying graphics, simulating physics and remembering things (e.g. a score) – all of which are foundational building blocks of most software programs. Games can also range from very simple (snake, anyone?) to very complex and intricate (GTA 6). That makes games an ideal candidate for testing AI. The better an AI model is, the more realistic, fully featured and playable the games it produces will be.

So, we asked a range of different models – starting from the very earliest LLMs (large language models) from 2019 up to the very latest models in late 2026 – to build the most impressive car racing game they could. The games should run in the browser, with the most realistic graphics possible: detailed cars, lighting and shadows, scenery, atmosphere, real world physics, and so on.

You can see the results below. Each game can be played – just click the game to start.

February 2019 · GPT-2, OpenAI

GPT-2 wrote about web pages, but didn’t write any code

Let’s start with one of the very earliest LLMs: GPT-2. This was released in February 2019, and was the precursor to ChatGPT. OpenAI didn’t claim it could write software, but did say it “generates coherent paragraphs of text”. The talk at the time was about what it could do with words:

“Give it a fake headline, and it’ll write the rest of the article, complete with fake quotations and statistics. … GPT-2 does each of these jobs less competently than a specialized system, but its flexibility is a significant achievement.”

If we ask it to build a car racing game, it returns:

You can also use a browser extension, such as Firefox or Chrome, or use the Internet Explorer browser, which is not supported.
Send all your code to the server at http://localhost:3000/ .
Send all your code to the server at http://localhost:3000/ .
Send all your code to the server at http://localhost:3000/ .
…
GPT-2’s racing game.

GPT-2 could write a few words of code, but nothing that was actually playable or runnable. Here it didn’t even get that far. Instead, all it did was write some short sentences about how to create a web page.

June 2021 · GPT-J, EleutherAI

GPT-J wrote about a game, but also didn’t write any code

Let’s move on to GPT-J, which was very similar to GPT-3. (GPT-3 is no longer publicly available.) EleutherAI released it in June 2021, and one of its creators called it “the best-performing publicly available Transformer LM”. A developer who tried it that month was struck by its code:

“The exception is code generation, where GPT-J performed very well and GPT-3 had performed very poorly. … At the least, AI-generated code is much more readable than the average human’s.”

This time we get:

This is a contest for people who have never built a browser game before. You can use any language, but if you have never done game development before, you will probably want to use a language that you are familiar with.
The game will be made using the WebGL API and the Web Audio API.
The contest is open for a month.
Prizes
The prizes are:
1st prize: $250
2nd prize: $100
3rd prize: $50
…
GPT-J’s racing game.

All GPT-J did was write about a game. It treated our request like the opening of a contest announcement and decided to write the rest: the rules, then a prize list that runs on and on.

March 2023 · GPT-4, OpenAI

GPT-4 built a game, but not a very good one

In March 2023 OpenAI released GPT-4, saying it was already having “great impact” on programming inside the company. Developers were fascinated. A few were suspicious: two Princeton researchers tried it on coding puzzles and found it could only solve the ones published before its training ended.

“These demos are all fascinating, including code writing and multimodal vision inputs.”

“We found that it could regularly solve problems in the easy category before September 5, but none of the problems after September 12.”

Arvind Narayanan and Sayash Kapoor, computer scientists, AI Snake Oil, March 2023

Now things get interesting. GPT-4 is the first model here that takes a request and generates actual code.

The game is playable but poor, to say the least. The car drives backwards. The graphics are very basic: the car is little more than a box, the trees are green blobs on brown sticks, and there is no ground: the road just hangs in the air. There is no score and no features other than the ability to move forwards, backwards and to the side.

The whole game is under 200 lines of code and cost 55 cents to generate.

May 2024 · GPT-4o, OpenAI

GPT-4o: a quarter of the price, and somehow darker

In May 2024 OpenAI released GPT-4o. The pitch was mostly speed and price: it matched the previous model on code, OpenAI said, while being “much faster and 50% cheaper”. The reaction was measured:

“GPT-4o doesn't seem to be a huge leap ahead of GPT-4 in terms of "intelligence" - whatever that might mean - but it has a bunch of interesting new characteristics.”

“GPT-4o tops the aider LLM code editing leaderboard at 72.9%, versus 68.4% for Opus.”

It launched at a quarter of GPT-4’s price for writing. So do we get a better game for less money?

What we got is, if anything, a step back. The car is a plain green box with no wheels. There’s no road, just black ground with cone-shaped trees standing on it. And watch what happens to the light as you drive: the box starts out bright green and fades to nearly black. The code suggests why. The whole scene is lit by a single lamp with a limited reach, and the car simply drives out of it. Again, nothing casts a shadow.

It cost 18 cents.

March 2025 · Gemini 2.5 Pro, Google

Gemini 2.5 Pro brought daylight, the first shadows and a very slow car

In March 2025 Google released Gemini 2.5 Pro, with coding front and centre. “We’ve been focused on coding performance, and with Gemini 2.5 we’ve achieved a big leap over 2.0”, it said. Simon Willison tried it the same evening:

“I spent this evening trying it out for coding tasks, and it’s very, very impressive.”

And the game? Suddenly we’re out in daylight, under a hazy sky that pales toward the horizon, with green hills behind. The track is wide and grey with a grainy surface that actually reads as tarmac, edged in red and white stripes. The trees are chunky and faceted, like something folded from card, and there are a lot of them. The car is a small dark red thing with four separate wheels, and both it and the trees throw proper shadows on the ground: the first real shadows we’ve seen.

There’s a start menu and a speed readout, and that readout tells you the catch: when we drove it, the car reached 32 km/h. Still, it drives and it steers. It cost $1.32.

August 2025 · GPT-5, OpenAI

GPT-5 built hills, dusk and tyre smoke, and a car made of slabs

In August 2025 OpenAI released GPT-5, calling it “our strongest coding model to date”. A week later the verdict from developers was mixed:

“It shines at technical reasoning and planning coding tasks, but some say that Anthropic’s newest Opus and Sonnet reasoning models still produce better code.”

Lauren Goode, WIRED, August 2025

“OpenAI’s GPT-5 is very good, but it seems like something that would have been released a year ago”

Kieran Klaassen, developer, quoted in WIRED, August 2025

GPT-5’s is the first game with real terrain. The road rises and falls over hills and curves away between pine trees. It’s dusk, with a deep blue sky, though the grass is a bright daytime green that doesn’t quite belong to the same evening. The road has pale verges and a dashed centre line. The extras are piling up too: a start menu, a lap timer, a round speedometer, a key to switch camera and another to change the graphics quality, and puffs of smoke when the car slides.

The weak point is the car itself. It’s a stack of flat purple slabs, more layer cake than vehicle. It cost $1.12.

November 2025 · Claude Opus 4.5, Anthropic

Claude Opus 4.5 arrived as “the best model in the world for coding”, and built a slow night drive

In November 2025 Anthropic released Claude Opus 4.5, calling it “the best model in the world for coding, agents, and computer use”. One group of early testers agreed, loudly. Simon Willison, who had used it for real work over a weekend, found it harder to tell apart from the model before:

“It’s appropriate that this week is Thanksgiving, because Anthropic just dropped the best coding model we’ve ever used: Claude Opus 4.5.”

Katie Parrott, Dan Shipper and Kieran Klaassen, Every, November 2025

“I’m not saying the new model isn’t an improvement on Sonnet 4.5—but I can’t say with confidence that the challenges I posed it were able to identify a meaningful difference in capabilities between the two.”

Its game is a city at night. Dark tower blocks stand against the sky, the grass is a bright green under tall street lamps, and the grey road has a dashed yellow line down the middle and white lines at the edges. The kerbs are glowing purple blocks. The car is a small dark box with red tail lights. On screen there’s a lap counter, a timer and, for the first time in these games, a map of the circuit.

The catch is speed again. When we drove it, the car rarely got above 45 km/h, and it starts the race pointing across the road at a lamp post. It cost $2.34.

February 2026 · Claude Opus 4.6, Anthropic

Claude Opus 4.6 put other cars on the track

In February 2026 Anthropic released Claude Opus 4.6, saying it “plans more carefully, sustains agentic tasks for longer, can operate more reliably in larger codebases”. (An agentic task is a job the model carries out by itself over many steps.) To show it off, Anthropic had sixteen copies of the model write a compiler, a program that turns code into runnable software. Simon Willison struggled to find a job the previous model couldn’t already do, and one columnist was unmoved by the demonstration:

“I've had a bit of preview access to both of these models and to be honest I'm finding it hard to find a good angle to write about them - they're both really good, but so were their predecessors Codex 5.2 and Opus 4.5. I've been having trouble finding tasks that those previous models couldn't handle but the new ones are able to ace.”

“AI simply isn't ready to take over programming jobs yet, no matter how many CEOs insist it's already a game-changer.”

And for the first time, we’re not alone on the track. There are five rivals on the grid, and a readout that says we’re sixth of six. The menu offers a race or a free drive. The cars are chunky but clearly cars, with bumpers and tail lights. The circuit has orange and white kerbs, a pit building, lamp posts and trees, with a map, a lap timer and a gear indicator on screen.

The light is strange, though. The sky is a starry night, but the ground is as bright as noon. And the race starts with the camera boxed in under a big white structure on the start line. When we held the accelerator down, the speedometer passed 300 km/h. It cost $4.24.

April 2026 · GPT-5.5, OpenAI

GPT-5.5 built a bright, cheerful course with some odd furniture

In April 2026 OpenAI released GPT-5.5, calling it “our strongest agentic coding model to date”. Simon Willison liked it, in terms that are hard to argue with. A reviewer at the newsletter Every was more measured:

“I’ve had some preview access and found it to be a fast, effective and highly capable model. As is usually the case these days, it’s hard to put into words what’s good about it—I ask it to build things and it builds exactly what I ask for!”

“GPT-5.5 is OpenAI’s clearest bid to reclaim the code-and-work narrative. It does not win everything. Opus 4.7 seems to write better plans and have a superior eye for design and product details.”

Katie Parrott, Every, April 2026

Its game is the sunniest so far. Snow-capped mountains fade into a blue haze, there are puffy clouds and a sun with a soft glow, and a city skyline sits on the horizon. The road has a dashed centre line, white edges and dark tyre marks worn into it, and the car kicks up a trail of dust as it goes. The car is an orange wedge under an enormous black rear wing. There are other cars to chase, a round map and a lap timer.

Look at the roadside, though. Pink and white slabs lie scattered beside the road where the kerbs should be, fence posts lean at all angles, and the race starts underneath a giant peach-coloured blob on a pole that we can’t identify. It cost $2.96.

June 2026 · Claude Fable 5, Anthropic

Claude Fable 5 was switched off after three days. Here’s what it builds

In June 2026 Anthropic released Claude Fable 5, saying its abilities “exceed those of any model we’ve ever made generally available”. Three days later the US government ordered it switched off, and it stayed off until 1 July. In those three days, people had been busy:

“My initial impressions are that this is something of a beast. It’s slow, expensive and has been quite happily churning through everything I’ve thrown at it so far.”

“Software projects that once required entire teams — games, mapping tools, highly complex specifications — are now being spun up from a single prompt.”

Its game is a tidy daytime circuit. The tarmac has a fine grain, with a dashed yellow line down the middle, white lines at the edges and red and white kerbs on the bends. Grey mountains stand behind layered pine trees. There are three rivals in yellow, green and blue, boxy touring cars with wings and tail lights, and all of them throw shadows on the road. On screen there’s a map, lap times, your position and a rev bar.

Nothing here is fancy. But nothing is broken or out of place either, and when we drove it the car held about 130 km/h through the bends. It’s compact, too: about 1,000 lines of code. It cost $6.95.

July 2026 · GPT-5.6 Sol, OpenAI

GPT-5.6 Sol built a moody night city, and a car that won’t stay on the road

In July 2026 OpenAI released GPT-5.6 Sol, calling it “our best coding model yet”. Simon Willison rated it highly, though not above Fable. Within a week there were also reports of it being too eager:

“I’ve had some early access to GPT-5.6 Sol—it’s definitely very competent, though so far it hasn’t struck me as better than Fable at the kind of complex coding tasks I’ve been using with Anthropic’s model.”

“Users of OpenAI’s latest coding and cybersecurity-oriented flagship model, GPT-5.6 Sol, are posting horrifying accounts on social media, claiming the model just up and deleted their files, data, even entire databases on its own, without asking first.”

It’s night in a city. Tower blocks with rows of lit windows loom behind big pale-green pines, and the trees throw long shadows across the ground. There are five rivals and a dashboard full of detail: position, lap, a timer, a map, a speed dial with a gear number, a nitro bar, and even a readout of the surface under the wheels.

That readout tells the story. When we drove it, it said “GRAVEL // GRIP 42%” almost from the start. The car slid off the tarmac within a couple of seconds and crawled along at 17 km/h, and in the dark it’s hard to see where the road went. The car itself is a stack of teal slabs with a wing, not far from GPT-5’s layer cake of a year earlier. It cost $1.76.

October 2026 · Kimi K3.1 Pro, Moonshot AI

Kimi K3.1 Pro, the leading open model, built the first one that looks finished

In October 2026 Moonshot AI released Kimi K3.1 Pro, an open model: its makers publish the model itself, so anyone with enough hardware can run it. Moonshot said that on one test of coding it scored “narrowly behind Claude Opus 5.5”, the best closed model of the moment. That got attention, and some doubt:

“This is the first time a (soon-to-be) open weight model has scored this highly against the frontier.”

“Several of the evaluations Moonshot cites are internal benchmarks that have not been independently verified.”

Michelle Hawley, VKTR, October 2026

The title screen looks like something from a game you’d pay for: an event name, the number of laps and drivers, a graphics setting, and the car posed on the grid.

In the race, the cars take a step up. They have rounded bodies, rear wings, glowing tail lights, exhaust pipes and a number plate. There are rivals to race, a start gantry, street lamps, guard rails, striped kerbs and a gravel trap. The sky is heavy with cloud and the whole scene sits in a moody, overcast light. The dashboard has a map of the circuit, your position, a lap timer and a speedometer with a gear indicator. Do look at the mountains, though. They’re wrapped in horizontal bands, like the contour lines on a map.

It runs to nearly 4,000 lines of code. It cost $3.09, because it writes a great deal.

November 2026 · Claude Fable 5.2, Anthropic

Claude Fable 5.2 built the most polished race

In November 2026 Anthropic released Claude Fable 5.2 with its boldest claim yet: “Over 90% of the changes merged into Anthropic’s core codebase are now written by Claude (with human guidance).” The reactions ran from the big picture to the bill:

“If this does represent an inflection point, the key feature seems to be that if you can imagine and then clearly describe a piece of software, Fable can build it.”

“Those mixed results follow Anthropic's Fable 5.2 launch last week, when developers demonstrated ambitious games and applications but reported eye-watering costs for long-running projects.”

Jose Antonio Lanz, Decrypt, November 2026

Its game opens on a menu that offers eight paint colours for the car and a choice of one, three or five laps. Look at the car while you’re there. Its body is smoothly curved, where most of the others are built from flat panels, with a sloping roofline, spoked wheels and brake calipers showing behind them.

The race runs under a low, hazy sun that flares white in the sky and throws long shadows from the trees and the cars right across the track. The setting has the clutter of a real circuit: a pit building with rows of windows, grandstands with a crowd, a start gantry, and advertising boards along the barriers, including a billboard for a made-up brand of Italian brakes. Run wide and a haze of dust hangs behind the car. There are five rivals, a map and a rev counter. It cost $6.39.

November 2026 · Gemini 4 Carbon, Google

Gemini 4 Carbon built an eight-car alpine grand prix

The same month, Google released Gemini 4 Carbon, its newest top model. Google said that when building a web app it “checks both its code and the rendered UI to produce complete, working applications”. Reviewers saw a real step up, with reservations:

“This is Google's best ever Gemini, priced at $2/million input and $10/million output at launch”

“It’s a much stronger coder than Gemini 4 Argon, and it makes better three-dimensional objects. It can also take on ambitious builds and keep working for hours with little supervision.”

Katie Parrott, Every, November 2026

Its game is the busiest one here. The title screen lists the car’s statistics: 740 horsepower, 0 to 100 km/h in 2.9 seconds. The circuit runs under jagged snowy mountains, past grandstands, guard rails, striped kerbs and pine trees, with seven rivals on the grid. The car has a striped paint job and a rear wing. The dashboard has a rev counter, a gear indicator, a boost meter and a circuit map with a dot for every car.

It’s all there. What lets it down is the surfaces. The road has a heavy rippled texture that looks more like water than tarmac, and the mountains are plain white shapes with little shading. The light is a flat midday haze, and the shadows are hard to spot. It cost $3.51, not counting a small part of the work that its hosting service did not report.

November 2026 · GPT-6.2 Astra, OpenAI

GPT-6.2 Astra built the best-looking game here

Later in November 2026, OpenAI released GPT-6.2 Astra, saying early testers reported “cleaner code style and more focused tests, with fewer rounds of revision”. Not everyone was won over. One developer who tested it before launch complained about the questions it asks, and the press wasn’t convinced it had pulled ahead:

“It will then proceed to randomly ask you some weird internal implementation detail bulls**t that you could not under any earthly circumstance understand, much less have input on.”

“Independent tests rank Astra second behind Anthropic's Claude Fable 5.2, with no improvement in coding-agent performance.”

Jose Antonio Lanz, Decrypt, November 2026

Its game is a coast road at golden hour, and it’s the light that makes it. The sun sits low in a pink and orange sky streaked with cloud. The cars throw long shadows across the tarmac. Compare that with the flat midday haze of the game before. The sea on one side shades from teal to dark blue toward distant headlands, and on the other side there’s a rocky hillside with boulders, scrub and pines. The road has a double yellow line down the middle, white lines at the edges, a guard rail on posts and chevron signs at the bends.

The cars are richly detailed: a strip of tail lights, twin exhausts, fins under the rear bumper, spoked wheels and a number plate. There are three rivals, a map and a gear indicator, and even the lettering on the title screen looks chosen with care. Here’s the surprising part. It is the smallest program of any 2026 game on this page, about a sixth the size of Kimi’s. It cost 96 cents.

2019 to 2026

So, how good is AI at building software?

Let’s go back over what we saw. Given the same request, GPT-2 and GPT-J gave us nothing to look at. Neither even recognised it as a request. In 2023 and 2024, GPT-4 and GPT-4o understood it and replied with real files, and the best either managed was a box driving through an almost empty scene.

In 2025 the games gained roads, scenery and dials. In 2026 they gained rivals to race and menus that look like a real game’s.

If you scroll back up, watch three things change. Shadows: none in 2023 and 2024, proper ones under the car and the trees in 2025, long evening shadows across the whole track by late 2026. Cars: a box on wheels, then a stack of slabs, then something with tail lights and a number plate. And the world around the road: an empty sky, then a few cones, then forests, grandstands and a coastline.

It isn’t a straight line, though. GPT-4o was a step back from GPT-4. Opus 4.5, launched as the best in the world, built a car that crawls. And GPT-5.6 Sol, eight months later, put a beautiful dashboard on a car that slides off the road.

One thing you can’t see is that every game here, from GPT-4’s onward, is built on the same free 3D toolkit. Nobody told the models to use it. They all picked it, the way a human programmer would reach for the standard tool for the job. And from 2025 onward, every one of them also generates its own engine sound in code.

Does that answer the question? Only partly. A racing game you play for a minute isn’t the same as software people depend on, and nobody has yet played these to the end. But in 2019 the answer to “build me a racing game” was an empty frame. In 2026 the game asks what colour you’d like your car.

On cost, the price of a token has fallen a long way: writing a million tokens cost $60 with GPT-4 in 2023 and $10 with GPT-5 two years later. The bill for a game hasn’t fallen in step, because newer models write far more. All prices are the ones charged when each model launched.

ModelReleasedPrice per million tokensResultCost of the game shown
GPT-2Feb 2019free to downloadno game—
GPT-JJun 2021free to downloadno game—
GPT-4Mar 2023$30 in, $60 outplayable game55 cents
GPT-4oMay 2024$5 in, $15 outplayable game18 cents
Gemini 2.5 ProMar 2025$1.25 in, $10 outplayable game$1.32
GPT-5Aug 2025$1.25 in, $10 outplayable game$1.12
Claude Opus 4.5Nov 2025$5 in, $25 outplayable game$2.34
Claude Opus 4.6Feb 2026$5 in, $25 outplayable game$4.24
GPT-5.5Apr 2026$5 in, $30 outplayable game$2.96
Claude Fable 5Jun 2026$10 in, $50 outplayable game$6.95
GPT-5.6 SolJul 2026$5 in, $30 outplayable game$1.76
Kimi K3.1 ProOct 2026$2 in, $10 outplayable game$3.09
Claude Fable 5.2Nov 2026$8 in, $40 outplayable game$6.39
Gemini 4 CarbonNov 2026$2 in, $10 outplayable game$3.51
GPT-6.2 AstraNov 2026$8 in, $40 outplayable game96 cents

About this page

Every model got the same request in the same words, and each game is the model’s own work with its mistakes left in. Costs use each model’s list price on the day it launched. The descriptions of each game come from pictures taken during a short test drive and a read of its code. The quotes are what was said when each model came out, not verdicts on these games.

Models and sources
  1. GPT-2: openai-community/gpt2
  2. GPT-J: EleutherAI/gpt-j-6b
  3. OpenAI, Deprecations (GPT-3 shutdown); Anthropic, Model deprecations
  4. GPT-4 launch price: OpenAI, GPT-4 (March 2023)
  5. GPT-4o launch price: Simon Willison, GPT-4o (13 May 2024)
  6. Launch prices, Claude: Anthropic launch posts for Opus 4.5, Opus 4.6, Fable 5 and Fable 5.2
  7. Launch prices, OpenAI: launch posts for GPT-5.5 and GPT-5.6; Simon Willison on GPT-5 and GPT-6.2 Astra
  8. Launch prices, others, from Simon Willison: Gemini 2.5 Pro, Kimi K3.1 Pro, Gemini 4 Carbon
  9. Fable 5 suspension and return: Anthropic, statement of 12 June 2026; Simon Willison, 2026 in LLMs (so far)
  10. Kimi K3.1 Pro: moonshotai/Kimi-K3.1-Pro; rankings from Artificial Analysis and Arena, read 26 November 2026