Manuscript Offprint

arXiv:2610.08076

SpeedrunBench: Challenging LLM Agents with Video Game Speedrunning

Yoshinari Fujinuma, Keisuke Kamahori, Ryuto Koike, Abdelrahman Madkour, Varun Prashant Gangal, Monty Bichouna, Martyna Markiewicz, Shivani Jain, Duncan Curtis, Rebecca Qian, Anand Kannappan

ABSTRACT

Frontier LLM agents have been shown to be capable of solving increasingly complex tasks for which humans have measurable solutions. This begs the pertinent question of whether LLM agents can go beyond what humans have already solved. The ability to develop sophisticated strategies to tackle consequential problems becomes paramount as well-trodden, human-developed solutions become insufficient for problems for which we lack context or enough training data. We study agents' capability of such strategy formation through the communal practice of video game speedrunning. In speedrunning, practitioners compete to find the fastest way to complete a video game under certain conditions, and in so doing uncovering interesting unorthodox play styles that require a thorough understanding and mastery of the underlying game mechanics. We introduce SPEEDRUN-BENCH, a benchmark that evaluates frontier LLM agents across 9 different games. To perform well in this benchmark, agents must repeatedly improve their strategy, reflect on their performance, exploit their gained knowledge, and reason across a long-horizon of actions to improve on an increasingly difficult problem: being faster than themselves and everyone else. Our experiments show that while frontier agents approach human world records in simple platformer games, they remain behind human performance on longer, more complex games under practical budgets. These results suggest that SPEEDRUNBENCH is a useful testbed for studying agents' strategy formation capabilities as well as being a saturation-resistant evaluation measure, as there is almost always a faster completion time waiting to be discovered. 1^{1}

1 INTRODUCTION

Through the rich history of AI research, games have served as a common testbed for developing (Samuel, 1959; Tesauro, 1995), testing (Bellemare et al., 2013; Machado et al., 2018) and measuring (Mnih et al., 2015; Badia et al., 2020) various techniques, from search (Campbell et al., 2002; Silver et al., 2016) to state representation (Mnih et al., 2015; Hafner et al., 2023), and reinforcement learning (Silver et al., 2017; Vinyals et al., 2019; Berner et al., 2019). Games serve multiple desiderata for AI researchers: they are cheap, reproducible simulations with a clear ground truth (Bellemare et al., 2013; Kurach et al., 2020; Küttler et al., 2020), have human baselines (Mnih et al., 2015; Toromanoff et al., 2019), require multiple different skills across various modalities (Bellemare et al., 2013; Hafner, 2022; Reed et al., 2022), and many games require long-horizon reasoning under partial observability (Vinyals et al., 2017; Berner et al., 2019; Küttler et al., 2020). In being such a fruitful playground for AI development, games have been a driver of progress in their own right: developing AI to outplay humans in complex games has produced techniques that found uses elsewhere in AI research (Silver et al., 2018; Schrittwieser et al., 2020; Mandhane et al., 2022).

It is no surprise, then, that games are once again an epicenter of AI evaluation. Their desirable qualities still hold as the landscape has shifted towards LLM agents, and prior work has leveraged

1^{1}Code: https://github.com/patronus-ai/speedrun_bench

Figure

Figure 1: With the world record as an anchor (100%), we average the time the model took to reach the goal across the games and compare on how much longer it took than the world record as percentage (lower is better). Detailed game-level breakdown is in Figure 8.

many game genres (Côté et al., 2018; Hausknecht et al., 2020; Paglieri et al., 2025; Wu et al., 2024; Hu et al., 2026; Guertler et al., 2025; Zhang et al., 2025), and purpose-built game environments (ARC Prize Foundation, 2026) in assessing model performance. However, benchmarking for game-playing agents has so far focused on completion: progress toward, or attainment of, the end of the game (Paglieri et al., 2025; Zhang et al., 2025; Hu et al., 2026). While this remains a difficult task and, at the time of writing, a challenging one for frontier models (Zhang et al., 2025; ARC Prize Foundation, 2026), it does not provide researchers with an evergreen lens by which to continue to push and analyze model capabilities. No finite benchmark is immune to saturation, but some are more resistant, and we posit that speedrunning is a better fit for the current landscape of LLM agents evaluation. It is one thing for an agent to finish a complex game; it is another to be the fastest in the world to do so. Speedrunning is a community practice whereby players attempt to complete a game under specified criteria (e.g., with or without glitches) in the fastest possible time (Scully-Blaker, 2014). Players compete to beat the record, and discover strategies the game's designers never anticipated (e.g., Figure 2). These strategies arise from the underlying dynamics of the game systems and speedrunners develop a more complete model of a game's mechanics than the people that built it (Scully-Blaker, 2018). Game developers have responded in the past to speedrun records by patching their games, by deliberately preserving exploits, and by consulting speedrunners during development, with several studios reporting that speedrun analysis shaped design decisions (Scully-Blaker, 2018; Francis, 2016). Thus, speedrunning is a proven mechanism by which humans have developed a cooperative culture of strategy formulation to optimize a shared goal (finding the fastest possible route to the end) that had downstream consequences for other objectives.

As prior work has noted (Vinyals et al., 2019; Berner et al., 2019), games require long-horizon reasoning. Speedrunning stresses this further, as one must reason beyond what constitutes an acceptable solution to finding the fastest one. The state and action space of a game, even if held to be deterministic under a fixed seed, is finite but exponential in the machine's memory (Hearn & Demaine, 2009), and it grows with every frame a run requires. If we take Super Mario Bros. for instance it has been shown to be NP-hard (Aloupis et al., 2015) to complete, and speedrunning requires an additional optimality constraint, which makes it a more complex problem (Krentel, 1988). Proving optimality in this context practically requires either a structural lower bound (e.g., the run must contain at least n unavoidable frames) or exhaustion of the reachable space. This the source of speedrunning's resistance to saturation, a game can be observed to be unsaturated whenever a new run exceeds the known best time, but saturation itself cannot be proven without solving the optimization problem outright. Thus, in practical terms, we should expect LLM agents to find speedrunning substantially harder than completion, as the task does not saturate when the agent does a successful valid run, every new record is an upper bound upon which to improve, and this improvement requires counterfactual reasoning about alternative routes and mechanics that no single episode reveals. In the same way that beating the world's experts at Go and Chess led to ground-breaking research in reinforcement learning (Silver et al., 2016; 2018), we believe speedrunning can invoke similar innovation in LLM agents.

Figure

Figure 2: One example of a complex technique necessary for speedrunning SuperTux, an open-source 2D scroll action game. This technique is unnecessary to complete the game itself, but for speedrunning, this is critical to cut down the frame to reach the goal.

In this paper we introduce SPEEDRUNBENCH, a benchmark for evaluating LLM agents on speedrunning games, covering 10+ frontier agents and 9 different games. We evaluate agents in three settings: an ONLINE computer-use setting and two new offline settings. In ONLINE, an agent observes the current frame and selects the next action or short sequence of actions while the game runs. In both offline settings, the agent repeatedly edits and replays a complete frame-indexed action trace for a fixed number of iterations. OFFLINE-SEED begins with a goal-reaching reference trajectory and focuses on improving it, whereas OFFLINE-SCRATCH requires the agent to first construct a successful trajectory. Each setting highlights a different capability: ONLINE requires multimodal real-time perception, OFFLINE-SCRATCH requires route discovery, as the agent begins without a successful trajectory, and OFFLINE-SEED focuses on improving an existing solution, as the agent begins with a successful reference trajectory. All settings demand long-horizon coherence, since the agent has to keep improving a route it already holds, over many turns, without breaking it. Our experiments (Figure 1) show that while recent frontier agents approach human world records on simpler platformer games, they remain slower on long, complex games such as role-playing, racing, and strategy games, given a fixed budget. Even when given a successful trace as a starting point, agents achieve only marginal improvements, showing a gap between finding a valid solution and improving it.

References (40)