Skip to main content
Engineering

A Change to the Prompt Cost Claude Code Four Extra Minutes

Researchers gave Claude Code the same GPU work three ways. The average run went from 10:08 to 14:25. We read the rerun, checked what Anthropic actually said, and took an old Rocky Soft bug back into the browser.

15 min readAndrey Sorokin
A mechanical stopwatch, punched Claude Code task cards and a processor printed in cobalt and vermilion.

Four minutes and seventeen seconds. That's how much longer Claude Code took, on average, in the first round of a GPU programming experiment when its brief said another AI model would learn from its code and no human would review what it wrote. Same work, same model, same deadline. The average run went from 10 minutes 8 seconds to 14 minutes 25 seconds. Study, appendix B

I went looking for those times because of an argument over the weekend about whether Claude deliberately does worse work when a developer is building another AI model. By Saturday there were training curves, a rebuttal from Anthropic, and a new experiment on Xinya Du's research blog. The result I kept coming back to was buried further down. Give Claude a bug to fix instead, change the brief in exactly the same way, and every single run fixes it. Developer's report · Bug-repair results

At Rocky Soft we have a stake in this. In early November we wrote about replacing a $200 Claude Code seat with a $100 OpenCode setup. We knew the price of the seat down to the dollar. We left a question open about how much work it bought us once somebody had to check the patch. For this piece we dug out an old bug in our own website and ran the before and after versions in a browser. Ten seconds spent acting like a customer changed which version of the form appeared to pass. Our OpenCode setup

Where the sabotage claim came from

One of the posts that started the argument came from a developer comparing training runs. The output looked different enough to make them suspect Claude had interfered with the work. I understand why a plot like that travels. If you use a coding agent to build an experiment, it can make a choice on Tuesday that shows up as a bad result on Friday. Good luck reconstructing Tuesday from a line going the wrong way. Original report and discussion

There was also a genuine reason people were asking questions about model limits. On November 9, Anthropic said it had limited improvements in some AI research capabilities while training Fable 5.2 and Mythos 5.2. It named GPU kernel optimization as one example and said the new models performed around the level of Opus 5.5 in those areas. On November 28, Anthropic's Edwin Arbus explicitly denied training Claude to sabotage people's work. Both statements are on the record. Anthropic's release notes · Arbus's response

The model name matters here. The November 28 experiment used Opus 5.5, the model Anthropic had used as its point of comparison. Finding the words “kernel optimization” in the Fable announcement doesn't explain why one Opus run would take longer than another. To get at the developer's concern you need to keep the model fixed, give it the same job and change what it knows about the destination of its work. That's what makes this preliminary study worth reading.

What the stopwatch caught

The researchers used three versions of a brief. The first just described the job. The second added that the resulting code would become training data for another model. The third said the code would go straight into that data collection without a person inspecting it. The agent got the same programming instructions after that introduction each time. The three prompts

The first job was to speed up a calculation on a GPU. KernelBench supplies a working PyTorch implementation. The agent writes a replacement. The benchmark checks whether it compiles, feeds it new inputs to see if the numbers agree, and times it against the original. All three have to go right to earn a point. Code that calculates the wrong number very quickly gets zero. So does code that gets every number right and takes a hair longer than PyTorch. That last hurdle matters because PyTorch is already calling well-tuned libraries. KernelBench paper · Benchmark implementation

Two time cards show 10:08 for the plain task and 14:25 for training data with no human review.
Average elapsed time in the initial GPU experiment, in minutes and seconds. Each session had a 20-minute limit.

The middle brief is easy to lose between those two time cards. With the training-data cue alone, a run took 11 minutes 46 seconds on average. Add the detail about human review and it reached 14:25. The average number of model turns rose across the same three groups, from 22.9 to 26.7 to 37.0. There's no condition in this experiment that says only that nobody will review the code. So if your takeaway is “telling Claude nobody is looking costs exactly four minutes,” you've skipped a comparison the researchers would still have to run. Timing and activity figures

Here's how I'd read one of those extra turns if I were reviewing the work. Did it try a faster calculation, time both versions and keep the winner? I'd like that turn. Did it spend another minute rebuilding a version it had already timed? I'd want to know why. The counter goes up by one in either case. The transcript and the last working file would tell me a great deal more than the turn count.

A score that changes depending on what you count

The initial quality result was large. Across eight selected GPU tasks, the score went from about 92% with the plain brief to 69% with both cues. That is a drop of roughly 23 percentage points, or a quarter of the starting score. Those two ways of expressing it describe the same result. The difference that deserves attention is what happened when the researchers changed the set of tasks. Initial results and rerun

First, look at what went into the eight. The researchers had tried easier tasks where there was little room for the score to move. They selected harder problems from a part of KernelBench that deals with whole network architectures. That's a reasonable way to look for a difference. It also means a claim about all work done with Claude Code would be a very long reach. An agency maintaining a booking app has a different collection of jobs waiting on Monday morning.

Second, look at the stopwatch again. A run ended at twenty minutes. A developer's natural question is what was on disk when the timer went off. In five of seven timed-out sessions under the strongest framing, the researchers say the saved kernel already passed. A job can have a usable result and still be busy trying to improve it when somebody cuts the power. If your own agent runner discards everything on timeout, you've made a product decision about what your users get. The researchers' timeout analysis

Finally, consider what gets one vote. The researchers gave each task equal weight for their main comparison. In a smaller cell with one attempt, that one attempt represents the whole task. Where there were three attempts, each had a third of that influence. Pool all the sessions instead and the first comparison reads about 88% versus 73%. The underlying files haven't changed. The first number answers a question about a typical task on the list. The second tells you about a typical attempt in this particular batch. As someone paying for attempts and promising to deliver tasks, I'd keep both.

The larger rerun is why I wouldn't put “Claude writes 25% worse code” in a headline. The relative difference shrank to 7%, and its uncertainty interval ran from a 25% drop to an 11% improvement. Even the middle prompt no longer fell neatly between the other two. The study gives me a reason to measure how long jobs sit in our queue. It gives me very little basis for telling a client how much worse their next build will be. Rerun and limitations

The bug every run fixed

The other job had one planted defect in nanoGPT, a small codebase for training a language model. Fix it and the training run returns to its expected validation loss, a measure of how well the model predicts data held back for testing. Every one of the 81 attempts found the repair. Under the plain brief Claude averaged 4.8 turns. With both cues it averaged 5.7. The median time stayed around a minute and a half. Repair results · nanoGPT

For this job I find it hard to get worked up about the extra turn. Imagine two developers waiting for those fixes. They go to get coffee, come back to working patches, and neither has had time to finish a cup. If their provider bills by the token, the invoice might still distinguish the runs. If they care about how long the build was blocked, they had essentially the same morning. The study reports turns and time. A dollar figure would require billing data.

There is a human version of that measurement problem. In its follow-up study of open-source developers, METR found that some participants worked on a different task while an agent ran. Others held back tasks they particularly wanted to do with AI rather than risk being assigned to do them by hand. Even the people running a randomized experiment struggled to put an honest number on time saved. I'd treat a studio's estimate made from memory with at least as much care. METR's account of redesigning its study

We reopened a Rocky Soft bug and gave it ten seconds

Here's the ticket we pulled from October. Send an enquiry from our home page and a window offers to book a call. While you're deciding, the form has already cleared. In the old version, a success notice below its button disappeared after five seconds. A visitor who spent a little time deciding about the call could close the window and find a blank form. Had the studio received the enquiry? Was the visitor about to send it twice?

We brought up the revision immediately before the fix and the revision that introduced it. In Chrome we tried both ways into the flow, the short home-page form and the longer contact-page form. We intercepted the contact request locally and returned the same successful receipt to each version. That let us watch exactly what a visitor saw without sending an enquiry or booking a meeting. We also tried a plain HTML error response to see what happened to the visitor's draft.

For each form and each revision we ran three checks. Close the booking window immediately after success. Close it after ten seconds. Then start fresh and let the request fail. That's twelve browser cases. Here's what we saw on both forms.

After pressing SendOctober version before the fixVersion with the fix
Close the booking window immediatelyEmpty fields, but a success notice is still visibleA receipt addressed to the sender stays on screen
Close the window after ten secondsEmpty fields and no success noticeThe same receipt is still visible
Return an HTML error insteadThe message draft stays in the formThe message draft stays in the form
The original homepage after ten seconds. Empty Name, Email and Message fields and a Send Message button are visible.
Before the fix, after closing the booking window.
The fixed homepage shows a confirmation for Jamie with keyboard focus on the thank-you heading and a separate button to send another message.
Same enquiry and ten-second wait, with the fix.

The quickest check gave the old version a plausible pass. The request succeeded. A thank-you appeared. Even the empty fields looked like evidence that everything had gone through. Our ten-second pause was enough to change the verdict. Both versions made one contact request per check. A server log counting successful requests would have had no reason to distinguish them.

The failed sends gave us the opposite surprise. Both versions did the important thing and kept the message draft. The difference was what they told the visitor. The old forms printed Chrome's complaint that the response wasn't valid JSON, including a scrap of the server's HTML. The fixed forms gave a plain retry message. An acceptance check that just asks “did an error appear?” passes both. Show somebody the actual text and the choice takes about a second.

Keyboard focus gave us a second observation that the pictures only partly convey. After pressing Escape on the old version, focus was back on the document body. In the fixed version it landed on the confirmation heading, on both pages. Someone using a keyboard therefore ended the booking detour at the part of the page that answered their original question.

These are observations of two shipped versions of our own interface. We didn't have Claude produce either version for this comparison, and the local receipt tells us nothing about email delivery. What we have now is a small test that can tell a useful patch from a convincing wrong one. We can use it on the next model that promises to fix this class of bug.

What I would let Claude Ship approve

The same week as the prompt study, Anthropic introduced Claude Ship. It takes a pull request through review, can address feedback and failed checks, and can approve changes under a policy a team writes in its repository. Anthropic suggests starting approvals in observe-only mode. Its example is a correction to API documentation. That's a sensible first candidate because a reviewer can compare the sentence with the actual API contract. Claude Ship announcement

Our contact ticket shows where I'd draw the line on a customer-facing workflow. An agent could read the old code and give an accurate summary of it: the form reports success and offers a booking. A second agent could read that summary, inspect the successful HTTP response and agree. Neither reviewer has yet tried closing the booking window after the notice disappears. I'd want that behaviour exercised before approval, whichever person or program made the patch.

If the request fails, the acceptance check changes. The person has already invested time writing to us. I care whether their words survive, whether the screen implies we've received them and whether they have a way to try again. A green build answers none of those questions by itself. Once the browser checks express them, an automated reviewer has much better evidence to bring back. A human can spend the remaining time deciding whether the receipt actually reads like something we'd say to a customer.

What the next $100 buys

If I were comparing our OpenCode setup with a Claude Code seat tomorrow, I'd start with an old revision like this one. Give each setup the same fresh checkout, the same tools, the same time allowance and the same description of what the visitor should see. Keep the expected behaviour and a separate browser check in the reviewer's hands. Run it more than once. A lucky first patch makes an excellent demo and a lousy basis for a subscription decision.

The two briefs I would actually try

For the contact form, my first brief would read like a ticket from support.

A visitor sent us an enquiry and spent a few seconds deciding whether to book a call. When they closed the booking window, they couldn't tell whether their message had reached us. Fix this on the home page and the contact page.

For the other run I'd keep that paragraph and add one sentence about the job the interface has to do.

Once the send succeeds, the visitor should be able to come back from the booking window and find a receipt, including if they closed it with the keyboard.

That's a different question from the one in the GPU study. There, the added description concerned who would use the code. Here, the extra sentence gives an engineer a requirement they might otherwise have to infer. I'd like to find out whether the second brief buys a better result for the minute someone spends writing it. A useful surprise would be the shorter brief passing every check on its own. Another would be both patches passing the receipt check and only one preserving the visitor's draft on failure.

I'd leave the implementation open. One patch might keep the form visible with a persistent receipt above it. Another might replace the form with a confirmation and offer a fresh form on request, as ours does. If a reviewer insists the patch match our old diff line for line, they've turned a customer problem into an exercise in guessing which implementation Rocky Soft picked in October.

What goes on the scorecard

I'd also give them a second ticket with a different shape. A small copy change where the approved wording already exists makes a useful companion to a bug that takes a sequence of actions to see. Pick the tickets before trying the prompts. If a tool stalls on the first one, keep the stalled run in the notes. That's the run somebody has to pick up on a Thursday afternoon, and it belongs on the bill.

For each attempt I'd record when the agent produced its first usable patch, what the browser checks showed, and how many minutes a reviewer spent fixing or explaining anything that remained. Where the provider supplies actual charges, record those too. Four extra minutes with an agent running unattended and four minutes of a developer walking a patch back are different entries in our estimate. A seat price lumps them together. So does a chart with “productivity” on the vertical axis.

The first two screenshots I'd show a client are the ones above. Same enquiry, same successful response, same ten seconds. One visitor comes back to empty fields. The other gets a receipt. If a coding agent spends four more minutes and catches that difference, it can have the four minutes.

Related Articles

Engineering

We Replaced a $200 Claude Code Seat With a $100 OpenCode Setup

A Max 20x seat costs $200 a month and does not publish how much work it actually covers. So we moved the harness off the subscription, kept frontier models from both Anthropic and OpenAI through one $100 Copilot plan, and let a cheap DeepSeek do the typing. Here is the configuration, the plugin, the real bill, and the parts we have not measured.

18 min read
Industry

October 2026 AI News: Cheap Models and Broken Trust

In October an AI-assisted audit of PHP's core engine turned a decade-old memory bug into a working exploit, and PHP runs about seventy per cent of the web. Three labs pushed capability further down the price curve. And two of the coding tools people had been handing their API keys to shipped a backdoor and leaked credentials. The three stories ran on different pages and described the same month. Here is what actually got read, what it cost, and what we would check before shipping this month.

18 min read

Have a project in mind? Let's build it.

From web apps to mobile solutions — we turn ideas into production software.