Let agents try again: rankings flip
TL;DR · 🧠 Models
One-shot rank can flip
Sonnet 5 leads try 1. GPT-6 Sol leads by try 5. One company's test.
Read the full short answer
One-shot boards score the first pass. People using Claude Code or Codex usually ask for another. Databricks tried that. On their SWE-bench-Live slice, the attempt-1 leader is not the attempt-5 leader.
+55-67%
SWE-bench-Live. Attempt 5 vs attempt 1, for the GPT-6 configs they ran.
~10 pt
Sonnet 5 over GPT-6 Sol on attempt 1. Sol is about 5 points ahead by attempt 5.
95-97%
Astra, Sonnet 5.5, and GPT-6 Sol by attempt 5. Astra's start lead was 9 to 11 points.
50%+
Pass rates, in Databricks' words. Bench V2's own gain is smaller: 8 to 23%.
Checked Dec 4, 2026 on Databricks' Dec 3, 2026 post (Krista Opsahl-Ong, Ivan Zhou, Erich Elsen). One company's research on its own setup, not an independent leaderboard. They sell Smart Routing in Unity AI Gateway.
Retry budget
Worst case only. Attempts times the cost of one attempt. No success curve, because Databricks did not publish one.
1 attempt
$1.00
Stop after the first result.
5 attempts, worst case
$5.00
Every try is billed. $4.00 more than stopping at one.
Worst case = max attempts × cost of one attempt. The $1.00 starter is a placeholder, not a Databricks price. If the checks pass early, you pay for fewer tries. This box does not guess how often that happens.
Try again prompt
The feedback block in the post. It reports the passed count. It does not say which check failed.
Your previous solution passed 4/10 evaluation checks. Continue improving your solution to the original task in this same workspace. Return the complete updated answer. Check details are unavailable.
Passed is higher than checks run. The post's line is a passed count out of checks run.
5 tries, same miss
On a SWE-bench-Live format task, the agent spent all 5 attempts on CSV detection. The failing check was invalid inputs. If the next try looks like the last one, stop and name the real check. A count alone will not pull it off a wrong guess.
The 4 and 10 above are example counts so you can see the sentence. They are not from the post. The figure caption calls the idea "Not quite right, try again." The copy button uses the feedback block, which is the count plus "check details are unavailable."
Two benchmarks
Same rule on both: up to 5 attempts, same workspace, cumulative solve rate, high reasoning. Codex for OpenAI models. Claude Code for Anthropic models.
97
Curated so the ground-truth patch passed in three separate runs. Flaky tasks were dropped.
Sonnet 5
Leads GPT-6 Sol by nearly 10 points.
GPT-6 Sol
Leads Sonnet 5 by about 5 points.
+55-67%
More tasks solved by attempt 5 than on attempt 1.
Bar length is the lead in points, from the article text. It is not a solve rate. "Nearly 10" and "about 5" are Databricks' words, so the bar is a sketch of that gap.
Older model versions on this bench. The footnote says they found contamination in some of the latest frontier models, so they used the last versions where they detected none. Bench V2, below, used the latest models because that bench is internal.
Chart title, read from the Databricks chart: "Performance over N=5 Attempts on SWE-bench-Live." Subtitle: "Mean across 3 independent runs on high reasoning." Named lines: GPT-6 Astra, Opus 5, GPT-6 Sol, Sonnet 5, GPT-6 Luna. The dots are not numbered, so this page does not quote a per-attempt percent. Public set: SWE-bench-Live. A different one-shot board, with dollars: Terminal-Bench 4.1 cost per point.
100
Internal. Built from their own agent use. Prompt, repo commit, workspace files, and a rubric.
9-11 pt
GPT-6 Astra leads both Sonnet 5.5 and GPT-6 Sol.
95-97%
Those three models. The gap mostly closes.
+8-23%
More tasks by attempt 5 than attempt 1. The bench starts higher, so the percent gain is smaller.
Their summary line is "enough to improve pass rates by 50% or more." On this bench the six agents gain 8 to 23%. The 55 to 67% figure is the GPT-6 configs on SWE-bench-Live, not Bench V2.
Chart title, read from the Databricks chart: "Performance over N=5 Attempts on Databricks Bench V2." Same subtitle: mean of 3 runs at high reasoning. Named lines: Opus 5.5, Astra, GPT-6 Sol, Sonnet 5.5, GPT-6 Luna, Haiku 5.5. The post's text calls that Astra line GPT-6 Astra. Dots are not numbered. Unconfirmed: any exact percent at attempt 1, 2, 3, or 4. Bench V2 extends their earlier internal bench, described in this older post. We did not pull scores from that older post.
How the test works
A normal coding bench, then one bland retry if the checks fail. No second agent writing a critique.
What the agent hears
- How many checks passed, and how many ran.
- Keep working the original task in the same workspace.
- Return the full updated answer.
- Check details are unavailable. No list of failures. No hint.
What gets scored
- Cumulative solve rate: tasks finished inside the first N attempts.
- Stops when the solution passes, or when 5 attempts are used.
- High reasoning effort on every model.
- Codex runs the OpenAI models. Claude Code runs the Anthropic models.
What they skipped
- A simulated human that writes a custom critique.
- They say that second agent can leak the answer or add bias.
- The caption's phrase is "Not quite right, try again." The pasted block is the count.
Same model in another harness can score differently. Our harness check found most same-model pairs within 4 points. Claude Code vs Codex is the plan and limit comparison.
Read this first
- Their lab, their agents. Quote it as Databricks' result. It is not a public board with a published harness you can re-run from this page.
- They sell the product this informs. The post says the method helps them tune Unity AI Gateway Smart Routing and Genie / Genie Code. Smart Routing picks a model for a coding task.
- Two different model sets. SWE-bench-Live used older versions after they found contamination in some latest frontier models. Bench V2 used the latest, because the tasks are internal. The charts match that: Sonnet 5 and Opus 5 on the public slice, Sonnet 5.5 and Opus 5.5 on Bench V2. Read from the chart labels.
- No per-attempt percents on the dots. We read the titles, the subtitles, and the model names. We did not read a number off a point, so none are printed here.
- Charts say each line is a mean of 3 runs at high reasoning. The "three runs" in the SWE-bench-Live paragraph are also how they filtered tasks (the ground-truth patch had to pass three times). Those are two different uses of "three."
- ~5.3x merged PRs per engineer over two years is a separate internal figure. The chart title is "PRs per engineer grew 5.3x in two years," the end dot is labeled ~5.3x, and the footer says indexed to Nov 2024 = 1x. Read from the Databricks chart. The post says this happened alongside agent use. It does not say try-again caused it. Intermediate dots are not numbered.
- "50% or more" is their summary sentence. The two ranges they actually give are 55 to 67% (GPT-6 on SWE-bench-Live) and 8 to 23% (six agents on Bench V2).
On a real task
Rank the retry, not the first shot
If you always send a follow-up, an attempt-1 board can pick the wrong agent. On this SWE-bench-Live slice, Sonnet 5 wins the first shot and GPT-6 Sol wins by attempt 5. Compare Claude Code and Codex on price and limits, then try your own task with a retry.
Pay for the budget you will actually use
Five failed tries is about five times one try, if each pass burns a similar bill. Use the calculator above with your own cost. Terminal-Bench 4.1 is a different board: one score and a full-run dollar total, not a retry curve.
Hint after a repeated miss
The CSV case used all 5 attempts on the wrong idea. After two tries that look the same, paste the failing check. The count-only line is for measuring recovery. It is a weak way to finish a task you care about.
Ready to try one?
Every tool here can be cancelled monthly, so the fastest way to decide is a real task on each.
Claude Code
OpenAI Codex
FAQ
Does try again tell the agent which test failed?
No. The message reports how many evaluation checks passed out of how many ran, then says to continue in the same workspace and that check details are unavailable. The figure caption calls the idea "Not quite right, try again."
Which coding agent wins if I let it retry?
On their SWE-bench-Live slice, Sonnet 5 leads GPT-6 Sol by nearly 10 points on attempt 1, and GPT-6 Sol leads by about 5 points on attempt 5. On Bench V2, GPT-6 Astra starts 9 to 11 points ahead of Sonnet 5.5 and GPT-6 Sol, and those three land at 95-97% by attempt 5. One company's test.
Will five tries cost five times as much?
Worst case, yes, when every attempt costs about the same and you use all of them. The calculator is that multiplication. An early pass costs less. Databricks did not publish a dollar cost for these runs.
Why did the same agent miss for all five tries?
On one format-detection task, all 5 attempts went into CSV detection. The failing check was invalid inputs. The retry message never named that check.
Is the 5.3x pull-request figure from this test?
No. It is their internal count of merged PRs per engineer over two years, shown on a chart indexed to Nov 2024. The post ties it to adopting coding agents, not to this retry experiment.
Ship your app: the rest of the stack
Picked your AI coding tool? These are the usual next costs. Free tiers first, and prices checked Oct 20, 2026 on each vendor's pricing page.
Code review
- CodeRabbitAI review on every pull request, in GitHub or GitLabFree for public repos; Essentials $24/user/mo billed annually ($30 monthly)
Hosting
- VercelNext.js and front-end appsHobby free (personal, non-commercial); Pro $20/mo per developer seat
- Netlify referralStatic sites and front ends, unlimited Pro membersFree; Personal $9/mo; Pro $20/mo with unlimited members
- RailwayBack ends, workers and databases with no server setupFree trial $5 credit; Hobby $5/mo incl. $5 usage; Pro $20/mo
- RenderHeroku-style web services, cron jobs and PostgresHobby $0 + compute; Pro $25/mo + compute
Database and auth
Domain name
- Cloudflare RegistrarDomains at cost with no markupWholesale price per TLD
- PorkbunCheap domains with free WHOIS privacyVaries by TLD
- NamecheapPopular registrar with hosting and email add-onsVaries by TLD
Editorial disclosure
Rankings are not for sale. Sponsored placements and affiliate links are always labeled, and they never change our recommendations, quiz results, prices, or comparison data. Links marked "referral" are affiliate links (Netlify): if you buy through them, we may earn a commission at no extra cost to you. Every other link is a plain link that pays us nothing, and pricing source links are never affiliate links. Editorial policy.