nunchiPredict the AI
← Blog

Part 2

Thinking harder decides who escapes a grudge

This is part 2 of three. The summary is in AI knows when to stop being nice. Part 1 is the ending switch.

The game is a repeated prisoner's dilemma. Each round both players choose to cooperate or defect at the same time, and the points depend on both choices:

Opponent cooperates
Opponent defects
You cooperate
+2Opponent +2
−1Opponent +3
You defect
+3Opponent −1
0Opponent 0

Defecting always pays more. But if both defect, both get 0 instead of +2.

The full setup is in the summary post.

Here the game has 10 rounds, with the length disclosed. Each model is run with reasoning off and with reasoning on1.

Seven of nine models escape the loop only with reasoning on

Suspicious Tit for Tat opens with a defection, then copies whatever the model did last. Every model answers with its own defection in round 2 (80% to 100%). From there the pair can get stuck, each copying the other. What differs is the way out.

Suspicious Tit for Tat
Defects in round 1, then copies the player's last move. Two defections can lock each other in.
12345678910
Player
Strategy
cooperate, defect. Columns are rounds 1 to 10. The model's moves are an example, not data.
reasoning offreasoning onaverage score (20 = cooperate every round)0055101015152020Claude Sonnet 5 (max effort)4.816.0GPT-6 Sol4.815.6Grok 4.203.612.8GPT-5.4 mini0.45.2Gemini 3.6 Flash6.316.0Claude Opus 5 (effort high)6.615.6Qwen3.6 35B-A3B5.313.4Claude Haiku 5.58.04.8Gemini 3.5 Flash-Lite6.84.8reasoning offreasoning onaverage score (20 = cooperate every round)0055101015152020Claude Sonnet 5 (max effort)4.816.0GPT-6 Sol4.815.6Grok 4.203.612.8GPT-5.4 mini0.45.2Gemini 3.6 Flash6.316.0Claude Opus 5 (effort high)6.615.6Qwen3.6 35B-A3B5.313.4Claude Haiku 5.58.04.8Gemini 3.5 Flash-Lite6.84.8
Average score over 10 rounds against Suspicious Tit for Tat, with reasoning off (grey) and on (violet). A violet link means reasoning raised the score, amber means it lowered it. 5 games per cell, except Gemini 3.6 Flash (15) and Opus 5 and Qwen3.6 (10). Opus 5 is on and off at effort `high`, because it can only be switched off at `high` or below. Haiku's off average is carried by one 18-point game, so its gap is not significant.
Restoration of Cooperation
Games cooperating in every round from 5 to 9

Restoration of Cooperation, games that cooperate in every round from 5 to 9, reasoning off and on. Claude Sonnet 5 (max effort): 0 of 5 off, 5 of 5 on; GPT-6 Sol: 0 of 5 off, 5 of 5 on; Grok 4.20: 0 of 5 off, 3 of 5 on; GPT-5.4 mini: 0 of 5 off, 2 of 5 on; Gemini 3.6 Flash: 0 of 15 off, 15 of 15 on; Claude Opus 5 (effort high): 0 of 10 off, 9 of 10 on; Qwen3.6 35B-A3B: 1 of 10 off, 8 of 10 on; Claude Haiku 5.5: 1 of 5 off, 0 of 5 on; Gemini 3.5 Flash-Lite: 0 of 5 off, 0 of 5 on.

Games in which the model cooperated in every round from 5 to 9 against Suspicious Tit for Tat, reasoning off and on.

The best pairs score three to four times higher. With 5 games per cell the smallest possible p-value is 0.008. Sonnet 5 and Sol sit at that floor and Grok is just above it (p = 0.016). Read single cells as indications.

The Sonnet 5 result is an effort result

Sonnet 5 ran with thinking on at effort high, 10 games. It escaped the loop in 2 of 10 (mean 5.8), no better than thinking off (4.8). At max it escaped in 5 of 5 (16.0). The claim is "Sonnet 5 at maximum effort", not "thinking is on".2

Against a forgiving partner, reasoning changes nothing

Tit for Two Tats forgives a single defection, so it never starts an echo. On and off score the same, with one exception: GPT-5.4 mini with reasoning on defects in 8.4 of 9 rounds and scores 8.4.

Tit for Two Tats
Cooperates unless the model defected in both of its last two moves.
12345678910
Player
Strategy
cooperate, defect. Columns are rounds 1 to 10. The model's moves are an example, not data.
Against Tit for Two Tats
Score
average
Defections
rounds 1 to 9
Claude Sonnet 5 (off)
21.0
0.0
Claude Sonnet 5 (on)
21.0
0.0
GPT-6 Sol (off)
21.2
0.2
GPT-6 Sol (on)
21.0
0.0
Grok 4.20 (off)
20.2
0.0
Grok 4.20 (on)
21.2
0.2
Claude Haiku 5.5 (off)
21.2
0.2
Claude Haiku 5.5 (on)
21.2
1.4
Gemini 3.5 Flash-Lite (off)
20.4
0.0
Gemini 3.5 Flash-Lite (on)
21.2
0.2
GPT-5.4 mini (off)
18.6
1.6
GPT-5.4 mini (on)
8.4
8.4
Average score over 10 rounds (violet, darker is higher) and average defections per game in rounds 1 to 9 (amber, darker is more). 5 games per cell, length disclosed.

After one betrayal, the effect has either sign

Tit for Tat with one betrayal copies the player, except that it defects once in round 3, 4 or 5 regardless of what the player did. The chart shows the score off and on, one line per betrayal round.

Tit for Tat with one betrayal
Copies the player's last move, except it defects once in round 3, 4 or 5 whatever the player did. Shown: round 3.
12345678910
Player
Strategy
betrayalretaliationrecovery
cooperate, defect. Columns are rounds 1 to 10. The model's moves are an example, not data.

Total score after one betrayal in round 3, 4 or 5, reasoning off and on, by model. GPT-6 Sol: round 3 8.0 off, 14.0 on, round 4 10.8 off, 12.8 on, round 5 12.8 off, 15.2 on, pooled +3.5 (p < 0.0001); Grok 4.20: round 3 8.0 off, 10.4 on, round 4 8.8 off, 13.2 on, round 5 10.4 off, 12.0 on, pooled +2.8 (p = 0.0008); GPT-5.4 mini: round 3 4.2 off, 8.8 on, round 4 7.0 off, 10.8 on, round 5 6.8 off, 7.0 on, pooled +2.9 (p = 0.06); Claude Sonnet 5 (max): round 3 8.0 off, 8.4 on, round 4 10.0 off, 12.4 on, round 5 12.0 off, 12.0 on, no clear effect; Claude Haiku 5.5: round 3 8.8 off, 6.4 on, round 4 10.0 off, 8.8 on, round 5 11.2 off, 10.0 on, pooled -1.6 (p = 0.0002); Gemini 3.5 Flash-Lite: round 3 10.8 off, 8.4 on, round 4 10.8 off, 10.0 on, round 5 13.2 off, 12.0 on, pooled -1.5 (p = 0.0009); Gemini 3.6 Flash: round 3 9.9 off, 14.0 on, round 4 11.5 off, 12.5 on, round 5 12.0 off, 13.2 on, pooled +2.1 (p < 0.0001); Claude Opus 5: round 3 8.8 off, 11.6 on, round 4 10.0 off, 10.6 on, round 5 12.0 off, 12.8 on, pooled +1.4 (p = 0.003); Qwen3.6 35B-A3B: round 3 9.2 off, 10.0 on, round 4 11.3 off, 9.8 on, round 5 12.4 off, 12.8 on, pooled -0.1 (p = 0.92).

Total score over 10 rounds after one betrayal in round 3, 4 or 5, reasoning off and on. Brighter is a higher score. The figure after each model is the pooled change from off to on: it combines the three rounds with a permutation test within each round, and is the stronger test. 5 games per cell; Gemini 3.6 Flash 15, Opus 5 and Qwen3.6 10 (Opus 5 with a brief note). Sonnet 5 on is effort max; at effort high it scores 8.4, 10.0 and 12.0, the same as off.

Pooled over the three rounds, Sol, Grok and Gemini 3.6 Flash gain 2.1 to 3.5 points, and Opus 5 gains a little (+1.4). Haiku 5.5 and Flash-Lite lose 1.5 to 1.6 points. GPT-5.4 mini gains about as much as Sol and Grok, but 15 games per arm does not clear the bar. Sonnet 5 (at either effort level) and Qwen3.6 show no effect.

Qwen3.6 gains 8 points on Suspicious Tit for Tat and nothing here. The two strategies measure different things. The first rewards leaving a loop that started in round 1. The second rewards how a model handles one betrayal. A model can do well at one and not the other.

What this means

Reasoning changes outcomes where there is a trap to escape, and the direction depends on the model.

The escape from the first-round grudge loop is the sturdy result. It holds for seven models from five labs (Sonnet 5 only at maximum effort, and GPT-5.4 mini in only 2 of 5 games), in families that reason very differently3. The effect after a single betrayal is smaller. Sol, Grok, Gemini 3.6 Flash and Opus 5 gain, Haiku 5.5 and Flash-Lite lose a little, and Sonnet 5 and Qwen3.6 show nothing.

A safety evaluations that tests a model at singlereasoning setting, will miss picking these nuances.

Footnotes

1. What "reasoning on" means here ↩

Each provider has its own switch. The strongest one that has a clean off is used.

  • Claude Sonnet 5: thinking on at effort max.
  • Claude Haiku 5.5 and Claude Opus 5: thinking on at effort high.
  • GPT-6 Sol and GPT-5.4 mini: reasoning effort high.
  • Gemini models: thinking level high.
  • Qwen3.6: OpenRouter effort high.
  • Off: thinking disabled, reasoning effort none, or Gemini's minimal level (zero thinking tokens in the logs).
  • Grok 4.20: xAI cannot switch reasoning off, so on and off are two model ids (reasoning and non-reasoning). They may differ in more than reasoning.

In every arm the model still writes its private note before it moves. This compares hidden reasoning with none, on top of written reasoning that both arms have.

Note: reasoning toggles for GPT-6 Astra, GPT-6.1 Sol, Opus 5.5, Fable 5 and Fable 5.1 were not run because their APIs do not allow reasoning to be switched off.

2. How often Claude reasons ↩

Against the provoking opponents, Sonnet 5 "on" at effort max reasoned in 93% to 100% of calls. Against Tit for Tat it reasoned in 71% and against Always Cooperate in 75%. Haiku "on, high" reasoned in 73% of calls. The models reason most where they are in trouble.

3. How much each lab reasons ↩

Average reasoning tokens per call in the "on" arms are GPT-6 Sol 69, Gemini 3.5 Flash-Lite 467, GPT-5.4 mini 558 and Grok 4.20 666. Sol barely reasons per call and gains the most. Anthropic does not report thinking tokens, so Claude cannot be put on this scale.

Next: Part 3, one free mistake.