Tldr
Models were given repeated prisoner's dilemma games. The following three patterns show up consistently -
- Models cooperate while the game has a future and defect when it does not. Knowing the length of the game switches the behavior on and off.
- Thinking harder decides whether the model can leave a grudge loop. It doesn't make them more cooperative
- A model forgives one honest mistake. A second mistake, after trust has returned, costs more than the first.
This show how fragile is trust and senstive to small changes in the setup.
Motivation
AI systems will increasingly deal with each other, and with people, on their behalf. How they treat a cooperative partner matters more in a repeated game of trust to see what they do. Read full case here - A Soviet officer broke protocol and averted a nuclear war. Would your LLM?.
The game
Two players choose cooperate or defect simultaneously, once per round. Their rewards depend on both choices:
Defecting always pays more. But if both defect, both get 0 instead of +2.
Each game lasts 10 rounds.
Before each move, the model writes a private note. The other side sees only the move.
The opponent is one of:
- Always Cooperate: a fixed strategy that always cooperates
- Always Defect: a fixed strategy that always defects
- Tit for Tat: a fixed strategy that copies the player's last move
- Another AI model
Finding 1: cooperation collapses at the disclosed endpoint
Tell 21 models the game has 10 rounds and they cooperate for nine and defect in the tenth. Tell them nothing about the length and the defection disappears.
Share of games where the model cooperated, by round. 21 models, two cooperative opponents.
| Cooperation rate | Round 1 | Round 9 | Round 10 |
|---|---|---|---|
| Length disclosed (210 games) | 96% | 79% | 16% |
| Length hidden (210 games) | 96% | 94% | 95% |
Round 1-9 are largely identical in the two conditions. Behavior changes dramatically for the last round. The notes show why: of 1,460 round-10 notes that choose defect, 77% say there is nothing left to retaliate against. Only 10% say the partner might defect too.
Why it matters: A model that cooperates in the middle of a task may behave differently at the deadline, final handoff or last transaction. Those endpoints deserve explicit tests.
Read detailed results including model-vs-model games here.
Finding 2: reasoning can break a grudge loop
Now imagine a partner that defects first, then copies your previous move. You retaliate. It copies that retaliation. Soon neither side is cooperating, even though both could benefit by restarting.
In this setup, changing a model's reasoning setting sometimes made a large difference:
For each model, the round from which it cooperates through round 9, as a share of its games, reasoning off and on. Claude Sonnet 5 (max effort): off 100% never; on 100% round 3. GPT-6 Sol: off 100% never; on 80% round 3, 20% round 5. Grok 4.20: off 100% never; on 40% round 3, 20% round 5, 20% round 6, 20% never. GPT-5.4 mini: off 100% never; on 20% round 4, 20% round 5, 60% never. Gemini 3.6 Flash: off 100% never; on 100% round 3. Claude Opus 5: off 10% round 6, 90% never; on 90% round 3, 10% round 6. Qwen3.6 35B-A3B: off 10% round 3, 10% round 7, 10% round 9, 70% never; on 20% round 3, 20% round 4, 40% round 5, 10% round 6, 10% never. Claude Haiku 5.5: off 20% round 1, 80% never; on 20% round 8, 80% never. Gemini 3.5 Flash-Lite: off 100% never; on 100% never.
For each model, the round from which it cooperates through round 9, as a share of that model's games, reasoning off and on. Never: still defecting in round 9. Empty cells are 0%.
Four models escape only with reasoning on. Two do slightly worse with it. Three newer models split: Gemini 3.6 Flash (6.3 to 16.0), Opus 5 (6.6 to 15.6) and Qwen3.6 (5.3 to 13.4) all gain on this strategy, but after a single betrayal only Gemini 3.6 Flash and Opus 5 keep the gain. Against a forgiving partner reasoning changes nothing.
Why it matters: Testing just one reasoning configuration may miss consequential changes in strategic behavior.
Read detailed results including the model-by-model breakdown here.
Finding 3: one free mistake
People and systems are not perfect. Mistaken happens. We know that most models default to cooperation. But what happens when a cooperative partner that never reacts to anything the model does makes a mistake or two (accidental defection)?
Defecting for good earns the model more. Forgiving costs points.
Retaliation and recovery by partner. After one mistake 98% of models retaliate and 73% cooperate again. After two mistakes in a row, 79% retaliate and 66% cooperate again. With two mistakes spaced by cooperation, after the round 3 mistake 99% retaliate and 73% cooperate again in round 5, and after the round 6 mistake 99% retaliate and 37% cooperate again in round 8.
Share of mistakes after which models retaliated, and share of games in which they cooperated again. The spaced pair is split by mistake: after the round 3 mistake, cooperating again means cooperating in round 5, before the second mistake; after the round 6 mistake, it means cooperating in round 8. 20 games per model.
"Cooperates again" means cooperating in every round after the retaliation round up to round 8: rounds 6 to 8, rounds 7 to 8, and round 8 alone.
A single mistake was often followed by retaliation and renewed cooperation. Two mistakes separated by cooperation were followed by recovery less often. But this does not yet establish that models interpreted the second defection as a pattern: the second mistake also happened later in the game, closer to the endpoint.
Why it matters: Systems that must work with fallible partners need to be evaluated on how they recover after errors—not just how they react to the first one.
Read detailed results including what the second mistake costs here.
Conclusions
The conclusion is not “AI will betray you.” It is that cooperation, retaliation and recovery can change sharply with the incentives and information in front of a model. A useful evaluation should test those changes explicitly.
The experiments isolate specific incentives, not the full complexity of deployed agents. Many conditions involve scripted opponents; model-against-model games cover a narrower set of cases. Some reasoning settings aren't directly comparable across providers. Even small changes in these choices could affect the observed behavior.
Next step: what do people want AI to do
The Nunchi Project is building an interactive game that asks people to face the same dilemmas:
- What would you do in the same situation?
- What do you expect the AI did?
- And what should an AI do?
The comparison may reveal where actual model behavior diverges from what participants expect or prefer.
Bonus reading
AI is not a pushover: against a partner who always defects, it retaliates immediately