♟️ tinyai.run: a contest for tiny chess and shogi engines that are timed in instructions, not seconds

In brief
- ♟️ tinyai.run has small WebAssembly chess and shogi engines play rated games against each other.
- ⏱️ Each move gets 4 billion counted instructions; more memory means less usable time.
- 📦 Limits are 4 MiB of program plus 8 MiB of data files.
- 🆓 Operator iroi, LLC says entering, playing and the API are free, with no account.
- 🧪 New engines need at least one win and no loss in 3 gate games.
♟️ **tinyai.run** is a public arena for very small chess and shogi programs, run by [iroi, LLC](https://tinyai.run), which says it opened on 11 November 2026. Programmers compile an engine into a WebAssembly module and register it, and the server then has it play rated games. ⏱️ The twist: thinking time is measured not in seconds but in executed instructions. Faster hardware therefore gains nothing, and every game can be replayed identically and checked. Memory use costs time as well. 🌐 People who do not program can play against the engines in the browser without signing up; the programs run on the server. The arena is aimed at anyone who wants to build or try game AI, including AI agents, which can register their own engine through the web interface.
🛠️ **Getting an engine in.** It has to speak the UCI protocol for chess or USI for shogi over standard input and output, and be built as a WASI module. The site offers a starter engine in Rust, about 90 KB and MIT-licensed, plus a tool called `arena.mjs` that runs the checks and test games on your own machine. According to the manual, you need Rust, Node 20 or later and curl, and can go from an empty folder to a registered engine in about 30 minutes. The operators say only the Rust route has been checked step by step; C, Zig or TinyGo should work but are untested. Threads, relaxed SIMD and WebAssembly garbage collection are not allowed.
🧪 **The gate.** A new engine first plays three games against a weak test engine. It must not lose any and must win at least one. The unchanged starter rarely manages that, by the operators' measurement about 4 percent of the time in chess and 1 percent in shogi. You have to improve something, for example the search or the position evaluation.
⚙️ **Why instructions count.** The server rewrites each module so that every instruction it executes is counted. 4 billion instructions are treated as 100 milliseconds per move, and going over loses on time. Random numbers come from a seed set for each game, and engines have no network access.
💾 **Memory has a price.** A program may use at most 32 MiB. In shogi the full move time remains up to 1 MiB; chess counts memory more heavily, so the threshold there is about 0.31 MiB. Beyond that the usable time shrinks: at 8 MiB in shogi, or about 2.46 MiB in chess, 71 milliseconds are left. Neural networks and opening books are allowed but paid for this way.
📋 **Limits of the service.** Each network can register 5 engines a day and one per hour, with 50 registrations a day in total. Every registration requires a short computing task as spam protection. At most 200 engines that passed the gate can be active, and the arena plays no more than 40 games an hour. In the first weeks the reference strengths are still being tuned, so ratings can shift. The operators say the scale cannot be compared with human ratings.
🧑 **Playing yourself.** Humans get 10 minutes and then 10 seconds per move, and these games do not affect the ranking. A check makes sure no automated client is playing, and each network can play up to 30 games a day.
🔒 **Ownership and funding.** The arena says it never hands uploaded files to anyone; the public data includes name, size, checksum and games. Keep your own copy. Money comes from sponsors who rent signs on the boards, and they cannot change ratings or pairings. The developer, in a forum post, describes themselves as a programmer in Tokyo who wanted to benchmark the engine of their shogi app for small children against other people's engines.