Apple's on-device model, Claude and GPT play Wordle and tic-tac-toe
In WarGames, the computer learns something about nuclear war by playing tic-tac-toe against itself until it runs out of ways to win. Its conclusion: “A strange game. The only winning move is not to play.”
It’s also a good small test for a language model. Against a perfect opponent nobody can win, so the best result is a draw, and the ways to fall short are plain: miss a block, walk into a fork, or play on a square that’s already taken. Wordle is the other half: six guesses, feedback after each one, and you either use that feedback or you don’t.
macOS 27 ships a command, fm, that puts Apple’s own models behind a local
server (see the fm page of my Apple Intelligence
guide). That made it easy
to ask something I’d wondered since calling the on-device model from
Swift: on a simple game, how
does it compare with the models I use every day?
The setup
Ten models played, with their default sampling and reasoning settings:
- Apple: the on-device model, through
fm serveon macOS 27.2, on a Mac with an M2 Pro, and Apple’s cloud model, Private Cloud Compute, through the same server. The cloud model played 10 games of each, not 20; more on that below. - Claude: Haiku 5.5, Sonnet 5.5, Opus 5.5 and Fable 5.1, through the
Claude Code CLI (
claude -p). - OpenAI: GPT-6-Luna, GPT-6.1-Terra, GPT-6.1-Sol and GPT-6-Astra, through
the Codex CLI (
codex exec).
I used my existing subscriptions, not API keys, so the Claude and GPT models ran through their coding agents, and the two weren’t set up the same way. For Claude I turned the tools off and replaced Claude Code’s system prompt with one line (“Follow the user’s instructions exactly.”). Codex ran read-only with its own system prompt. Read these results as “the model through its CLI”, not the bare model.
A small Python script refereed. Every turn was one fresh request showing the whole game so far: the Wordle guesses with their feedback, or the tic-tac-toe board with empty squares numbered and a line listing the legal moves. Each model played the same 20 Wordle answers, and 20 tic-tac-toe games (half as X, half as O) against a minimax player that never loses. When minimax had several equally good moves it picked one at random, seeded per game, so every model met the same opponent but saw many different positions.
The results
Each lab’s models are listed smallest to largest:
| Model | Wordle solved (of 20) | Avg guesses when solved | Tic-tac-toe draws / losses / illegal (of 20) |
|---|---|---|---|
| Apple on-device | 1 | 3 (one game) | 1 / 5 / 14 |
| Apple Private Cloud Compute | 0 (of 10) | 2 / 8 / 0 (of 10) | |
| Claude Haiku 5.5 | 19 | 3.47 | 16 / 0 / 4 |
| Claude Sonnet 5.5 | 20 | 3.80 | 17 / 0 / 3 |
| Claude Opus 5.5 | 20 | 3.60 | 20 / 0 / 0 |
| Claude Fable 5.1 | 20 | 3.45 | 20 / 0 / 0 |
| GPT-6-Luna | 12 | 4.08 | 2 / 16 / 2 |
| GPT-6.1-Terra | 20 | 3.95 | 15 / 5 / 0 |
| GPT-6.1-Sol | 20 | 3.45 | 19 / 1 / 0 |
| GPT-6-Astra | 20 | 3.40 | 20 / 0 / 0 |
“Illegal” means the model played on a taken square, which ends the game. No model won a tic-tac-toe game; none can against perfect play. These are small samples, so I’ll only call the differences that are big enough.
Apple’s on-device model
It solved one Wordle out of twenty: LEMON, in three (CRANE, FLAME, LEMON). Even that one deserves an asterisk. LEMON is one of a small set of words the model kept guessing (it guessed LEMON in another game too), and that’s the same habit that fooled me in my first trial (more below). It opened with CRANE in 15 of 20 games, made seven guesses that weren’t five letters (LIME, GATE, LION, BREEZE, LANE, and HOPE twice in one game), and repeated words it had already been scored on.
At tic-tac-toe it lost all ten games as X the same way: it opened in the centre, then named the centre again, or a corner minimax had just taken, with the legal moves listed right there in the prompt. As O it did a little better: four illegal moves, five losses and one draw, its only one. In an earlier trial without the legal-moves line, it forfeited every game.
When I called this model from Swift, it was good at pulling structured data out of text and got simple arithmetic wrong. These games are another job it isn’t built for. What it does have is speed: about 0.4 seconds a move, on the Mac, with no network. The Claude and GPT models took 3 to 10 seconds a move. Some of that is the CLI: I timed a prompt that only asks for “OK”, and it took about 2 seconds through Claude Code and 4 to 6 through Codex before any game logic.
The other eight
At the top, it’s a tie, and it’s Joshua’s conclusion. Opus, Fable and Astra drew all twenty tic-tac-toe games, Sol drew nineteen, and all four solved every Wordle in about three and a half guesses. Astra averaged 3.40 and Fable 3.45; on 20 games that’s noise, not a ranking.
Below the top, the labs fail differently. The smaller Claude models never lost a game they played legally; when they failed, it was an illegal move. Haiku’s four were all “5” with the centre already taken, Apple’s mistake exactly. Sonnet’s three were all as X, and two of them were the same position: it opened in the centre, minimax took the 1 corner, and Sonnet answered “1”. Terra, Sol and Astra never played an illegal move, but Terra lost five games and Sol one by missing a block. The smaller Claude models break the rules; the larger GPT models follow them and sometimes lose.
The smallest models aren’t close. Haiku beat Luna at both games: 19 Wordles to 12, and 16 tic-tac-toe draws to 2. Luna lost 16 games by missing a block or walking into a fork. Haiku’s one Wordle miss was the -OUND trap: after CRANE it went FOUND, WOUND, POUND, HOUND, COUNT, and the answer was MOUNT.
Apple’s cloud model hit a wall
Private Cloud Compute played 17 Wordle games on the first night. Then every
request came back HTTP 429, “Your quota has been reached”, with a
Retry-After header of 15 minutes. Meanwhile fm serve’s own health check
said "limit_reached": false, and it still said so in the same minute it
returned the 429. Waiting 15 minutes didn’t help, and neither did waiting
more than eight hours. With streaming (the default), the same error arrives
as an error event inside an HTTP 200 response, so a client that only
checks the status code thinks the request worked.
Apple doesn’t publish the limit; it says only that there is one. The Mac’s
system log had the real answer. The service that sends requests to Apple’s
servers, privatecloudcomputed, logged this the moment the games stopped:
[com.apple.privatecloudcompute:RateLimiter] rate limit applied for rate with count=140, duration=86400.000000That’s 140 requests in a rolling 24 hours, counted on the Mac. The log shows 122 requests
finishing before the limit hit; I don’t know what made up the other 18.
The health check reads a
different counter, which is why it never noticed. A rolling window also
explains the wait: nothing resets at midnight, and each request stops
counting 24 hours after it was made. Other developers on Apple’s
forums report the same
mismatch and different numbers (320 and 500 a day on their devices), so 140
may not be what your Mac gets. I’ve added how to check yours to the fm
page.
Those 17 games also ran on a broken referee (next section), so I’m not reporting them. Once the oldest requests had aged out, I ran 10 games of each, to stay under the limit. All of them went through, with no 429s.
The cloud model solved none of its 10 Wordles. Every guess was five letters, but it opened with SLATE in nine games and repeated guesses it had already been scored on in four (LEAVE three times in one game). At tic-tac-toe it never played on a taken square: two draws and eight losses. On the same 10 games, the on-device model solved one Wordle, drew one game and forfeited seven. So the cloud model follows the rules better; it doesn’t play much better. It took about 0.7 seconds a guess or move, including the trip to Apple’s servers.
What I got wrong
Six mistakes cost me a rerun:
- The dictionary rejected correct answers. To catch made-up words, the referee checked guesses against the Mac’s built-in word list. That list doesn’t have “proud”, one of my answers, or plurals like “tacos”. Every model had correct guesses thrown out. I set those results aside, dropped the check (any five letters now counts) and reran Wordle for everyone. Luna went from 7 solved to 12, Sonnet from 18 to 20, Apple from 0 to 1.
- My answer list included CRANE. In the first trial Apple’s model “solved” a game in one guess, because CRANE is its favourite opener. I replaced it, along with PLANT and FLAME, two more words it kept guessing.
- The first Claude trial wasn’t playing. I’d used
claude -p --bare, which skips login, so every reply was “Not logged in”. The referee scored that as illegal moves in tic-tac-toe, and in Wordle took LOGIN as the guess. - The first tic-tac-toe prompt didn’t list legal moves. That produced Apple’s every-game forfeit. I kept it as a finding and added the line.
- The opponent was predictable. My first minimax always picked the first of several equally good moves, so its “10 games” were two lines of play, five times each. An editor reading the data caught it; I switched to a random choice and reran every model’s tic-tac-toe, at 20 games.
- The referee misread the two largest Claude models. It took the first digit in a reply as the move. Opus and Fable sometimes reasoned out loud first (“X threatens 7-8-9, so block 9”, then “9” on its own line), and on the new boards that first digit was a taken square. Six “illegal” moves were the referee’s, not theirs. It now reads the last line, and I reran both. Every other model had replied with a bare digit, so their games scored the same either way.
Two more cost nothing: my resume code wiped the results file before reading it (caught before I ran it), and my first retry logic gave up on the cloud model’s quota too early. And one I’ve left as it is: the two CLIs got different system prompts, as described in the setup.
I did check that the remaining illegal moves were the models’. Each was a bare digit, so the referee read exactly what the model said. I also sent Sonnet its failing position (O on 1, X on 5, legal moves listed) five more times. It answered 1 four times and 3 once.
What I take from it
The largest model from either lab got these games right. Below that, the tiers aren’t interchangeable: Haiku clearly beat Luna, and the mid-size models from each lab failed in their own way, one by breaking the rules and the other by losing. If you’re choosing a smaller model, try it on your task, not on a table like this one.
Apple’s on-device model isn’t playing the same game. It’s small, free, fast and private, and it can’t keep track of a 3 by 3 board. Use it for what it’s good at.
If a model can’t always tell which squares on a tic-tac-toe board are taken, and four of the ten here couldn’t, what would you trust it to keep track of in your app?