Set reasoning.context to all_turns So Your Agent Stops Re-Deriving Chains of Thought You Already Bought

Stops an agent loop from re-deriving reasoning it already paid for and keeps the cacheable prefix stable across turns; OpenAI publishes no token-reduction figure, so measure your own reasoning-token and cache-hit deltas Advanced 4 min read

On the Responses API, whether earlier turns' reasoning items get rendered into the next sample is the model's default unless you say otherwise โ€” so a multi-turn agent can silently re-derive conclusions it already reached and billed you for. `reasoning.context: "all_turns"` retains them. Switch back to `current_turn` the moment that reasoning goes stale.

๐Ÿ”’ Pro tip ยท Advanced

Unlock this tip โ€” and 105 more

This is one of 106 advanced, fact-checked tactics reserved for Pro. Get the full 128-tip library, a searchable archive, and a new tip every morning. Free for 7 days, then $9/mo.

Prefer to browse? The 22 Beginner tips are free forever.