DEV Community

Cover image for Baba Is Solved by Fable 5 and GPT-5.6 Sol, but at what cost?
Team Quesma
Team Quesma

Posted on • Originally published at quesma.com

Baba Is Solved by Fable 5 and GPT-5.6 Sol, but at what cost?

This blog post was authored by Piotr Migdał and Piotr Grabowski.

We tested GPT-5.6 Sol and Claude Fable 5, among other models, on the first 2 stages of Baba Is You. While they are able to solve almost all levels, it took them significantly longer than humans.

While AI might overtake humans in tasks, it is not always cost-effective. That is the opposite of everyday software development, where agents tend to overestimate their own effort — see I am sorry Dave, it will take 3 days.

There were surprises — for example, Gemini 3.5 Flash was 2.4x more expensive than Fable 5 to solve The Intro stage. Or that a more “budget” GPT-5.6 Terra was actually 2.9x more costly than Sol.

Overall, we burned well over $2000 on experiments and runs (not including our subscriptions), so you don’t have to.

The game

Baba Is You is a lovely indie puzzle game where you rewrite the rules by pushing text blocks around. [WALL] [IS] [STOP] means walls block you — break the sentence, and you walk right through. It’s the childhood game the floor is lava, made literal.

You are a cute bunny. Like another game with a cute bunny, this cuteness is deceiving. A few levels into the game and your [BRAIN] [IS] [MELT]. We highly recommend it.

Prior art

This game has already attracted a lot of attention, e.g., with the Baba Is AI paper from 2024. A year ago, in Baba Is Eval, Sonnet 4 could only finish its first, introductory level. This May, in Baba Is Agent, some models were able to beat the first stage consisting of 8 levels, with Gemini 3.1 Pro and GPT-5.5 in the lead. Similar geometrical puzzles are at the center of the ARC-AGI-3 benchmark, aimed at measuring abstract reasoning and intelligence of LLMs.

Now there are a few more models, including the famed (and feared) Claude Fable 5, GPT-5.5 Pro solving open mathematical problems, as well as open-weight GLM-5.2 and fast-and-cheap Gemini 3.5 Flash.

Making it a benchmark

Previous projects either remade parts of the game, or had an AI again play it on Steam. We did it differently — in our open-source Baba Is Harbor repository, we extracted both levels and game logic into the Harbor agent evaluation framework. We did it with the help of Claude Code, and it was surprisingly easy — both to decode levels and to extract actual game logic from Lua scripts.

That way we can run it like any other benchmark, easily with various models and harnesses. We provided proper tools to allow the same actions a player could use, while giving a text interface:

You play the level interactively with the `baba` command. Your moves accumulate
into a running game (state persists between calls):

    baba rrd          apply moves r, r, d; show what CHANGED (object diff)
    baba undo 2       undo the last 2 moves (default 1); show what changed
    baba restart      reset to the start of the level; show the full board
    baba show         reprint the full current state without moving
Enter fullscreen mode Exit fullscreen mode

It took a few iterations to polish the tools and prompt, so that the focus is on the puzzles themselves, rather than deciphering data formats or other repetitive work. To run it, we just need to

harbor run -p tasks/ -i "stage-00-level-0[0-7]" -a terminus-2 \
  -m openrouter/openai/gpt-5.6-luna \
  -m openrouter/z-ai/glm-5.2 \
  -k 3 -n 18 -y
Enter fullscreen mode Exit fullscreen mode

We initially ran it with the Terminus-2 harness (to use the same one for all models), with 3 attempts per model per level.

Results for Stage 0: The Intro

Here is an example of how an AI agent solves a level (apologies to Hempuli, the game’s author, for such a simplified widget). Even the same model can arrive at different solutions across runs.

In the case of level 01 Where do I go?, Baba is encircled by a wall. But blocks [WALL] [IS] [STOP] can be dismantled, allowing us to pass through the wall. From there, 2 solutions exist: compose [FLAG] [IS] [WIN] and reach the flag, or think outside the box again and compose [WALL] [IS] [WIN]. Explore other levels if you’re fine with getting spoilers.

Solving The Intro

The first set of levels is an introduction. While the first level requires just a few moves in the same direction, subsequent ones require learning some of the game’s mechanics.

Top comments (0)