Measured on Gemini 3.8 Flash: host-held state a 1,500-step job exact; a kept chat slipped at turn 223

Measured on Gemini 3.8 Flash: host-held state + short prompts kept a 1,500-step job exact; a kept chat slipped at turn 223Hi all, I built and ran a set of pre-registered tests on Gemini 3.8 Flash and wanted to share the numbers with people who build on the Gemini API. The architecture is by Rajnish Choubey (AXI); I built and ran the tests and I’m posting with his permission.

The idea: instead of re-sending a growing chat at each step, keep the exact state of the job on the host and send a fresh short prompt each step. The model proposes, a deterministic check validates the answer, and a rule-based repair fixes slips. No training, and it works from the first step.

Same model, same job, 1,500 steps (predictions were written and hash-locked before each run):

- Exactness: AXI 1,500/1,500 exact. The kept chat began slipping at turn 223 and was wrong from turn 287.

- Prompt size: 2,824 tokens vs 476,835 on average for the kept chat (169x smaller; peak 949,591 for the chat).

- Latency past 500k tokens: whole call 10.66 s vs 3.07 s (3.5x), first token 9.13 s vs 2.27 s (4.0x).

- Exact steps per hour: 488 vs 1,280 (2.6x).

- Cost per correct step at typed prices: $0.0052 vs $0.0012 (4.5x). On a second seed 9.3x.

- Fuzzy test: 400/400 exact with no repair needed, while the kept chat’s slip at turn 191 persisted for 140 turns.

So the model is the same; what changes is what it is handed at each step.

Everything is reproducible. The repo has a Colab notebook (you add your own Gemini API key in Colab Secrets and set a budget), the saved raw results, and tests that recompute every figure:

Paper (DOI): doi. org/10.5281/zenodo.23958737

I’d really like to hear whether you can reproduce it, and on which jobs it fails.