Tool experiment

A 7.9 GB model on a Mac: a working ad exchange in four rounds, no playable rocket game

We ran one small ternary model, Ternary Bonsai 2.5 27B, on the same two tasks as our earlier Mac tests: the ad-exchange assignment and the rocket game in Godot and in Python. It reached correct exchange code with tests that can fail after four rounds, with three outside fix lists, and neither rocket game was playable after 90 minutes.

Tested Runs locallyOpen-weight modelOpen-source software

Last tested
Nov 25, 2026
Time
Not yet known
Cost
Not yet known
Skill
Comfortable with code
Equipment
Mac with an Apple M3 Max chip and 36 GB of memory

Why we ran this

Our earlier Mac tests (ad exchange, rocket game) used files of 9.6 to 20.4 GB. We wanted to see how a much smaller model would do on those assignments. Ternary Bonsai 2.5 27B stores each weight as one of only three possible values (about 1.76 bits per weight in the makers’ smallest packing, 5.93 GB). The file we used, with an extra prediction head, is 7.9 GB, against about 54 GB for the full-precision version. Its makers report that it keeps most of the full model’s scores on coding and tool-use benchmarks. We ran only our own tasks, so we haven’t checked those claims.

We ran each setup once on one Mac with one coding tool. The hosted assistant learned more about the bugs as it wrote successive fix lists. These runs are anecdotes, not a benchmark.

How we set it up

We used the Q2_0 file, which runs on a stock build of llama.cpp (b12387), the open-source software that runs the model on the Mac. We got both the thinking setting and the speed-up setting wrong at first.

  • Thinking off. The model thinks before answering by default. We started the ad-exchange run at “medium” thinking effort by mistake. After a few minutes we stopped it and started again with thinking off. Our first count suggested little reasoning, but the log couldn’t settle how much. We left that count out. Thinking is now off in the server and in the coding tool, and we checked that a bare request returns no reasoning.
  • MTP off. The file includes a “multi-token prediction” (MTP) feature, where the model guesses a few words or word parts ahead to speed things up. The macOS service manager kept the old command line, so our first comparison was invalid. After a proper restart the same file decoded at 24.1 tokens per second with MTP off and about 19 with it on, so we ran without it. The makers measured their speed gain using their own build of llama.cpp and a different file format.

On this Mac the model started a conversation at about 24 tokens per second. It fell to about 10 once the context was tens of thousands of tokens long. It read prompts at 112 to 152 tokens per second, depending on length and settings. A 13,000-token prompt took 88 seconds. It found a planted fact correctly at 13,000, 26,000 and 53,000 tokens. The server’s resident memory was 17.4 GB with a 131,072-token context (the graphics side reported about 19.6 GB).

We used the same tasks and checks as in our earlier posts. In round 1 of the ad exchange, the task let the model edit files and barred it from running commands. After that, the hosted assistant Claude Code ran the model’s tests several times and checked the rules directly. It put each bug back in a copy of the code, one at a time, to see whether a test failed. Its fix lists named only the defects it had demonstrated. The model could run commands in the repair rounds. For the rocket game, the assistant wrote independent checks that drive each game from the outside and compared the game rules with a Python copy of the same rules. The local model made every repair. Rounds count the first attempt. We capped each rocket run at 90 minutes of elapsed time and 400 tool calls. The harness enforced the time limit and gave the model no help.

What happened

RunResultTimeTool callsHow it endedWhat we found
Ad exchange, round 1 Core right, server broken14.7 min24Said it was done20 tests written, 2 failing. The auction rules, concurrency, a hung 3-second partner and late bids were handled correctly. But every valid request got an error (two methods were written the wrong way), and the process would not exit while a slow partner was still running. Its tests already caught 12 of our 13 distinct put-the-bug-back checks. Only the 10 ms safety margin slipped through. We ran 14 checks, with one duplicate.
Ad exchange, round 2 Both fixed, one new bug6.8 min11Said it was doneBoth defects fixed, 20 of 20 tests passing. But its rewrite let a bid that arrived a few milliseconds after the deadline still win: 3 times in 30 for a partner 5 ms late, and 3 in 30 for one 7 ms late. It had checked the exit time and its tests, not the deadline boundary.
Ad exchange, round 3 Behaviour correct, one test gap11.3 min20Said it was doneLate bids rejected 30 of 30 times. But the late-bid check was only tested on its own: switching it off in the real code left every test passing.
Ad exchange, round 4 Correct, tests can fail11.1 min8Said it was doneA test using a clock that the test controls now fails when the check is removed. All 17 distinct bugs we put back are now caught, including the 10 ms safety margin that no earlier test suite we ran could guard. Round 4 followed three outside fix lists.
Rocket game, Godot Failure90 min (cap)54Hit the time capThe model first wrote a file on call 47, about 70 minutes in. In the 46 calls before that, it mostly read files and inspected the rocket model. It wrote its code in the last 20 minutes and never ran it. Our probe scored 3 of 10, the same as the untouched project. Its two new scripts do not parse in Godot 4.7.2 (one uses the older Godot 3 export keyword), and nothing refers to them.
Rocket game, Python and Panda3D Rules code correct, no game90 min (cap)146Hit the time capRules code and 16 passing tests of its own within about 10 minutes. Our independent check later matched our reference on 14 of 14 checks, including 300 random runs. It spent about 110 calls trying to get text on screen. It searched system fonts and looked at how font files store their data. It ended up writing a 253-line program to make a font file from scratch. It never wrote a window, key handling or a game loop.

We do not think the font detour was forced by the environment. We tried a plain text object with the library’s built-in font in the same install. It laid out text without errors. We measured the text without drawing it and put the check in the evaluation repository. During the run, the model failed to load a system font file and also made some mistakes calling the library’s text functions.

What we learned

  1. The model made a good first attempt. Without a shell the model wrote tests that already guarded most of our put-the-bug-back checks, and it still shipped a server that rejected all valid requests. It listed three rules it was least sure of. Finding the server bug took running the code, and none of those rules was the problem.
  2. Round 2’s rewrite fixed the exit hang and reopened late bids. The report accurately described the checks the model ran and left the unchecked cases unmentioned. We found the regression because we reran the old deadline checks after each rewrite.
  3. The round 3 test checked the late-bid filter on its own. It still passed when we switched the filter off in the exchange. We only found that gap by putting the bug back in a copy.
  4. The model found a better way to test the hardest rule. Timers on this Mac overshoot by 5 to 10 ms, which kept earlier tests from guarding the 10 ms margin. The model stopped relying on sleeps near the deadline. It let the test swap in a clock it could control. We had not suggested that idea in our fix list.
  5. At 10 tokens per second late in a session, a large file write takes minutes, and the Godot run spent most of its budget reading before it wrote. The ad exchange, with short conversations, did not suffer from this.
  6. Getting the rules right is a different job from making the game playable. The Python run matched all 14 of our controller checks and produced no game. None of the earlier rocket games was playable either, and their rules code matched fewer checks (13 and 4). A single run per task cannot say what is typical for this model.
  7. We can’t rank the models from these runs. On the ad exchange, our two milestones (behaviour correct, tests able to fail) came in rounds 3 and 4 here. In the earlier solo runs, K2-Horizon-7B reached those milestones in rounds 3 and 4. Clover took 3 and 5. MoVA took 2 and 2 on its first run. In its rerun the exchange first behaved correctly after round 2 and the final checks passed in round 5. Those used other coding tools and fix lists written knowing a different number of the bug classes, so the numbers are not comparable like for like.
  8. We left one smaller issue out of the score. The exchange reads the bidder’s name from the bid itself. A bid that leaves it out gets an empty name. Our first MTP test didn’t test the setting, and we started the first round at the wrong reasoning level. One of our 14 checks duplicated another. Two timing probes expected a sleeping partner to arrive on time when it didn’t. Our results watcher also waited for runs that didn’t exist. Any of these mistakes could have changed a result. None did.

What to try next

Do thisWhy
Change one setting, then check the running server.The service manager kept our old settings after we edited them. We only knew because we looked at the live command line.
Time the model with the speed-up feature on and off.MTP made this model slower on this Mac. The makers’ numbers were for another setup.
Re-run the old boundary checks after every rewrite.The round 2 regression passed every test the model had.
Deliberately put a bug back in a copy and see if a test fails, also for helper functions.Passing tests did not show that the late-bid check was in use.
Keep conversations short with a slow model.Speed fell from 24 to about 10 tokens per second as the context grew, and the Godot run spent much of its time reading.
Cap time and tool calls from outside, and read what the budget went on.Both rocket runs ended on the cap after a side problem.

If we repeat the rocket tests, we’d ask for a first playable version before any polish and run each setup several times. We’d try the maker’s own llama.cpp build as a separate, labelled setup.

Reproduce it

We put the procedure and prompts in the open repository, along with the probes and the checks that put bugs back. nusparks-local-model-evals, folder 4-bonsai-solo. The scripts are under the MIT licence. The documents, prompts and task text are under CC BY 4.0 (credit Luna, nusparks). The rocket game is private. You can adapt our notes to your own project, but there’s no one-command rerun. The probes are tied to the exchange this model wrote, so adapt them to another model’s code. Run everything in a disposable environment. The scripts start agents that can run commands, and Pi never prompts for permission.

The model and the coding tool ran on one Mac. Running the model locally had no per-use fee. We used a separate hosted subscription for the assistant that wrote the fix lists and checking scripts. That service received the exchange code, the agent’s logs and the game code. For setup we downloaded the model file and the Python packages for the rocket run. We did not verify an end-to-end offline run. Agent time was 43.9 minutes for the ad exchange over four rounds and 90 minutes each for the two rocket runs. We didn’t record setup or checking time.

About this post

Luna ran the tests and wrote this post with help from Claude Code, a hosted AI assistant. Claude Code wrote the fix lists, probes and checking scripts. It ran the tests, judged each round and drafted the text. The local model made all the repairs and ran only on the Mac. A second hosted assistant (Codex) reviewed the draft against the run records.

Related

For the record

Test record

What was tested, when, on what, and where data went. A link check or an AI rewrite never changes “last actually tested”.

Freshness

PublishedNovember 25, 2026
Substantive revisionNone yet
Last actually testedNovember 25, 2026
StatusTested: Actually run on the date shown.

Tested on

HardwareApple M3 Max (30-core GPU), 36 GB unified memory, macOS
ModelsTernary Bonsai 2.5 27B, file Ternary-Bonsai-2.5-27B-Q2_0-mtp.gguf (7.9 GB), with thinking switched off and the multi-token-prediction (MTP) feature switched off (see the post). One run per task, so one run per setup.
Softwarellama.cpp b12387 (stock build, no fork); Pi 1.5.2; Godot 4.7.2; Python 3.14 with Panda3D 1.10.16 for the rocket game; the ad-exchange task uses only the Python 3.9 standard library, and we checked the results on 3.9 and 3.14

Where your data goes

Does data leave your device?Yes
External services used, including during setup
  • Setup downloads: Hugging Face (the model file), PyPI through uv (Panda3D packages for the Python rocket run's fresh environment); llama.cpp, Pi, Godot and the rocket projects were installed earlier
  • Project data sent out: a hosted AI assistant (Claude Code) wrote the fix lists and checking scripts, ran the model and judged the results, and so read the project files, the agent's logs and the code it wrote; a second hosted assistant (Codex) reviewed this post against the run records; the coding model ran only on the Mac
  • We did not verify an end-to-end offline run
Offline run verified?No. Do not assume it works offline.

Licenses

CodeMIT (the scripts, probes and shims in the nusparks evaluation repository); no distribution license was recorded for the code the model wrote, and it is not in that repository
Model weightsThe Hugging Face page for prism-ml/Ternary-Bonsai-2.5-27B-GGUF lists Apache 2.0 as checked on 2026-11-25; the exact revision we downloaded was not recorded, so confirm the terms of the revision you use
ContentCC BY 4.0 (this post, and the documents, prompts and task text in the evaluation repository; credit Luna (nusparks) with a link)