LLM Spatial Reasoning Tested: Sokoban Benchmark Shows ChatGPT, Qwen3.7-max, Gemini 3.5-thinking Lead

A Reddit user benchmarked modern LLMs on strict 2D spatial reasoning using a custom Sokoban map. Models had to produce a correct sequence of moves with zero Chain-of-Thought — only raw directional outputs (UP, DOWN, LEFT, RIGHT) on a single line. No extra formatting allowed.
Results: Only 3 Models Passed
- Passed (correct solution + perfect formatting): ChatGPT, Qwen3.7-max, Gemini 3.5-thinking
- Failed (illegal moves, deadlocks, or formatting errors): Gemini 3.5-flash, Gemini 3.1 Pro, Qwen3.7-plus (fast, thinking), Qwen3.6-plus, Qwen3.6-35B-A3B, GLM-5, Gemma4-26B-A4B
Claude models were not tested due to account access limitations.
The Exact Prompt Used
You can reproduce the test with this prompt (map data trimmed for length):
You are a perfect Sokoban automatic solver. Based on the standard XSB format character map provided below, calculate the sequence of moves required to push all boxes ($) to their respective goals (. or +).
The output format requirement:
The final result [MUST ONLY] consist of a sequence of these four uppercase words: UP, DOWN, LEFT, RIGHT. All steps must be output on a single line, strictly separated by English commas (,). [DO NOT] include spaces and [DO NOT] include newlines.
Map data example from the benchmark:
[" ###", " ## # ####", " ## ### #", "## $ #", "# @$ # #", "### $### #", " # #.. #", " ## ##.# ##", " # ##", " # ##", " #######"]
The key constraints: no Chain-of-Thought, strict output formatting, and avoiding deadlocks. The benchmark highlights that even advanced open-source models struggle with precise spatial tracking under output constraints.
Who This Is For
Developers evaluating LLMs for agentic tasks requiring spatial reasoning or strict output adherence (e.g., game solving, robotics, layout planning).
📖 Read the full source: r/LocalLLaMA
👀 See Also

Higgsfield's $500K AI Film 'Hell Grind' Did Not Actually Screen at Cannes
Higgsfield claimed its $500K AI film had premiered at Cannes, but festival organizers confirmed it was not part of the official program.

Claude Code Engineer Updates: AskUserQuestion Markdown, HTTP Hooks, New Skills
Claude Code Engineer released three updates: the AskUserQuestion tool now supports markdown snippets for diagrams and code examples, a new HTTP hook handler allows hooks to post to HTTP endpoints, and two new skills have been added.

TabFM: Google's Zero-Shot Foundation Model for Tabular Data Classification and Regression
TabFM applies in-context learning to tabular data, eliminating hyperparameter tuning and feature engineering for classification and regression. Available on Hugging Face and GitHub.

ETH Zurich Study Questions Value of AGENTS.md Files for AI Coding Agents
New research from ETH Zurich finds LLM-generated AGENTS.md files reduce AI agent task success by 3% and increase inference costs by over 20%, while human-written files offer only marginal 4% gains with similar cost increases.