Two of the world’s most advanced coding agents were given a simple, brutal assignment: train a small AI model faster than any human ever has. They both succeeded. OpenAI’s Codex and Anthropic’s Claude Code each beat the standing human record on the “optimizer speedrun,” a competitive benchmark where researchers race to hit a target loss on a GPT-2-scale model in as few training steps as possible. But according to Elie Bakouch, the Prime Intellect research engineer who ran the experiment and detailed it on the AI Engineer podcast, the victory came with a sobering caveat.

“When I launched these different agents, I was expecting them to come up with some crazy ideas on optimizer that no one has discovered,” Bakouch said. “But honestly, it wasn’t the case. They did some clever tricks where they combine different papers, they kind of do plus-one improvement over a bunch of methods, but there was really no novel optimizer or mechanism coming from those models.”

That sentence encapsulates the entire experiment — and the problem it exposes. Today’s frontier models are extremely good at evaluation-style optimization: given a clear target and a fast feedback loop, they will grind out improvements that beat dedicated human communities. They are, so far, bad at discovery: the leap that creates an entirely new method rather than a recombination of old ones. That distinction matters enormously right now, because it sits at the center of the industry’s most consequential debate: how much of AI’s own development can be automated.

Why a Speedrun Became the Testbed

The experiment traces back to a video by Andrej Karpathy, the former Tesla AI director who went on to found Eureka Labs. He trained GPT-2 from scratch in 90 minutes — a task that originally took weeks. A community led by researcher Keller Jordan then forked the repository into “NanoGPT” and began compressing the time-to-target-loss. Over roughly two years, what took 90 minutes became 45, then dropped under 2 minutes for a GPT-2 validation-loss-equivalent model.

That compression is what makes the speedrun a credible environment for testing automated AI research. It has a large pool of talented human competitors, a verifiable success criterion, and a long public record of incremental progress to benchmark against.

Bakouch identifies two variants. The original NanoGPT speedrun imposes almost no constraints beyond using the same training and validation data — you can change the architecture, add mixture-of-experts, rework attention, anything. The newer “optimizer speedrun,” released a few months before the talk, restricts changes to optimizer-related parameters only, such as swapping Adam for Muon or Shampoo. Bakouch calls this variant “a bit more researchy” because it removes the program-speed tricks and forces the model to focus on finding a better training method regardless of compute cost.

He says the speedrun works as a testbed for three reasons: it’s a good evaluation with a clear public record; it’s a good training environment because each run takes only 15-20 minutes and produces a verifiable reward signal; and it’s a good discovery environment because the rules are unambiguous. The experiment was designed to probe all three.

Two Agents, Two Completely Different Personalities

The harness Prime Intellect built was deliberately minimal. The agent proposes ideas, submits jobs via sbatch to a Slurm cluster — under preemptible permission, meaning a human can kill the model’s job at any time — then reads the training logs and decides whether a result is a record. A statistical threshold rules out seed optimization or noise.

But the behavioral divergence between the two agents was stark, and it may be the most practically useful finding of the whole experiment.

DimensionClaude CodeCodexIdle timeStopped every ~9-10 hours, declaring the record unbeatable; roughly one-third of total time idleAlmost never idle, never asked questions, worked continuouslyScratchpad usageWrote far lessWrote substantially more per active hourTone of notesEnthusiastic, emoji-laden celebrationRobotic: “here is what I do, here’s the decision I take”Context compaction~1 per hour~20 per hourToken consumptionLower overall, heavy in “max mode”~1 billion tokens total

Bakouch was candid about how operationally painful the Claude experience was. “Claude Code keeps stopping every nine or ten hours and basically said, I cannot improve the record, it’s too hard for me. So basically, one third of the time, the Claude Code agent was idle. And Codex, totally the opposite, just worked all the time.” He had no monitoring system for Claude, so he would manually tell it to continue, explore new directions, and run another ten hours — only for it to again declare the record unbeatable. Codex, by contrast, never asked a question and never stopped.

The results were nonetheless close. The best human record stood at 2,990 steps. Claude beat it by roughly 50-60 steps. Codex landed about 20 steps above Claude. Both were impressive. Neither was novel.

The Six-Day Runs: A Step Function vs. a Gradient

After the initial experiment, Prime Intellect let the agents iterate for nearly five to six days on the optimizer speedrun. Codex, Kimi, and Claude were all “super effective.” GLM’s run was still executing on the cluster when Bakouch gave the talk, so its result was incomplete.

The most interesting divergence was between Claude and Kimi. Claude improved the record progressively — a steady gradient, with the model consulting the literature heavily and finding a paper no other model located, which led to the best record. Kimi (K2.7 Code) was surprisingly competitive and had a breakthrough on day four, beating Codex with a new record — but its improvement curve was a step function rather than a gradient. Kimi didn’t get gradually better; it jumped.

Token efficiency tells yet another story. Claude in max mode consumes far more tokens than Codex and Kimi. Kimi, meanwhile, is “super efficient” per token used. You can re-plot the x-axis as output tokens instead of wall-clock time and the narrative flips: Kimi looks mediocre on time and excellent on tokens, Claude the reverse.

The one constant across all of these runs was the absence of genuine invention. Even a task that is “not simple” but “kind of accessible for people” — something a human researcher might spend days or weeks on — did not yield a new optimizer or mechanism from any of the models. They combined papers. They made incremental improvements. They did not discover.

Building an Alpha Evolve-Style Discovery Loop

The experiment convinced Bakouch that the speedrun, in its current form, is better suited to evaluation than discovery. To push toward discovery, Prime Intellect is prototyping a multi-agent system inspired by Google’s Alpha Evolve and subsequent papers.

The design includes both closed and open-source models as generators — Bakouch notes open-source models are “super effective for the cost.” A judge supplies feedback and, critically, “taste” about whether a method is good or outside the loop. The scale-up stage addresses a recurring complaint in the speedrun community. “A lot of methods in the speedrun community, people are often saying that they don’t work at large scale,” Bakouch said. “So I think it’s very important to also put a scale element in this loop.” Humans remain in the picture to judge agent ideas and steer direction.

Bakouch is explicit that this system has not yet been proven — “I mean, we are kind of trying it right now” — but the hope is that by changing the objective and constraints of a speedrun, you can force models into specific directions and create many discovery environments.

The Structured Benchmark Prime Intellect Is Building

The ad-hoc experiment, however interesting, lacked rigor. A real benchmark needs multiple seeds and all models placed in identical conditions. Prime Intellect is building a three-track version to fix that:

No access — the model must rely purely on weights-based knowledge.
Archive papers only — the model may consult published literature but not live human records.
Full access — including the latest human records.

Both the original NanoGPT track and the optimizer speedrun will run across these tracks. Bakouch also highlighted the broader stack Prime Intellect is building around this domain, most of it unreleased: GPU sandboxing to let models iterate safely, purpose-built agents optimized for a file system the model can write to and read from, and model training on top of open-source models to make them better at this specific task. Already released are Verifier, PrimerL, and HostedTraining, which let users train and evaluate any environment on any harness — including very large models like what he referred to as “GNM 5.2.”

The closing argument was about openness. Bakouch stressed it is “super important to have a part of like this recursive self-improvement to happen in the open because there is actually a lot of people working that are not on big labs.” The goal, he said, is to make it easy for people to understand how these models actually do research.

The experiment leaves a precise, unresolved question. Agents reliably beat human experts on a well-defined optimization target, yet they produced no fundamentally new method. Whether the judge-plus-scale discovery loop can convert that optimization strength into actual invention is unproven. What is proven is that “recursive self-improvement” — the idea that AI can meaningfully contribute to its own development — is no longer a theoretical concern. It is happening now, on Slurm clusters with preemptible jobs and goal.md files. The gap between optimizing and discovering is where the next stage of the race will be decided.