A Polish programmer has claimed first place in a major international coding competition, narrowly beating an advanced artificial intelligence model developed by OpenAI. The event marked a significant moment in the evolving relationship between human coders and AI, with many noting the close finish as a sign of things to come.
First-of-its-kind showdown in Tokyo
The AtCoder World Tour Finals, held in Tokyo last week, featured a unique addition to its usual line-up — an artificial intelligence model. The contest, hosted by the Japanese competitive programming platform AtCoder, introduced a special “Humans vs AI” exhibition match, allowing an AI model to compete alongside 12 of the world’s top-ranked human programmers.
OpenAI’s entry, named OpenAIAHC, was included in the Heuristic division of the competition, a 10-hour challenge focused on optimisation tasks. Among the human participants was Polish coder Przemysław Dębiak, a former OpenAI employee who competed under the alias “Psyho”.
In a post on social media platform X, Dębiak described the intense competition as leaving him “completely exhausted” and “barely alive” by the end of the marathon session. Meanwhile, the AI model, unburdened by fatigue, showed no signs of slowing down — highlighting a major contrast between human and machine capabilities.
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Humanity has prevailed (for now!)<br><br>I'm completely exhausted. I figured, I had 10h of sleep in the last 3 days and I'm barely alive.<br><br>I'll post more about the contest when I get some rest. <br><br>(To be clear, those are provisional results, but my lead should be big enough) <a href="https://t.co/fIMo0ifNCd">pic.twitter.com/fIMo0ifNCd</a></p>— Psyho (@FakePsyho) <a href="https://twitter.com/FakePsyho/status/1945444118924272018?ref_src=twsrc%5Etfw">July 16, 2025</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Human beats machine — for now
Despite the pressure, Dębiak managed to clinch first place with a lead of just over 9%, edging out the AI, which secured second place — ahead of all other human competitors. The narrow victory was a point of pride for the Polish programmer, who commented that the AI’s presence played a key role in pushing him to perform at his best.
“Humanity has prevailed (for now!),” Dębiak wrote after the contest. Speaking to Business Insider, he admitted that knowing he was just ahead of the AI during the match was a major motivator. “Without the AI’s participation, my score would have been much, much lower,” he revealed.
This head-to-head result offers a striking example of how far AI programming has come. Just a few years ago, such a performance from an AI would have seemed implausible. Now, the prospect of an AI outcoding elite human developers is no longer a question of if, but when.
What this means for the future of coding
The event is believed to be the first time an AI has been allowed to participate in a competitive coding tournament alongside humans, signalling a shift in how the programming world views artificial intelligence. While AI has already proven its ability in structured tasks and code generation, this competition tested its performance in open-ended and creative problem-solving scenarios — a domain traditionally dominated by human intelligence.
The results suggest that AI models are now closing in on human expertise in this area as well. With the AI placing just behind the winner and outperforming 11 other world-class programmers, many observers are wondering whether it might win future contests — assuming it’s invited back.
The coding world is likely to see more events of this kind, as developers, researchers, and companies explore the potential of AI to work alongside — or perhaps even outperform — human talent in increasingly complex programming tasks.