AI CompendiumA public chart of the language
Tokens & Context

Turn

One user message and the model’s reply.

Definition

A single exchange: your message in, the model’s response out. Turns accumulate in a session, and each new turn resends the whole history.

Counting turns is a practical budget tool. A twenty-turn conversation is paying for the first turn nineteen more times.

Because each turn resends history, cost and latency grow through a conversation. That is why long support threads get expensive and slow, and why trimming history — keeping the recent turns verbatim and summarising the distant ones — is a standard piece of the architecture rather than an optimisation.

How people use it
Deciding to summarise mid-conversation.
"We are thirty turns in. Compact everything before turn fifteen into a summary and drop the raw text."
Worked example

A conversation that got slower as it went

Turn one is crisp; turn thirty feels sluggish.

Nothing changed except the amount of history being replayed and re-read. Summarise turns older than the last few, keep the recent window verbatim, and the experience flattens out instead of degrading.

Sources
  • docsContext windows ↗Claude platform docs · 2026

    What actually consumes the window — input, tools, thinking and output — plus context rot and compaction. Authoritative for this product, not for models generally.

  • docsAgents ↗OpenAI API docs · 2026

    Compares a managed hosted agent, an in-app SDK loop, and the raw Responses API, including sessions, handoffs, approvals, sandboxing and compaction.

Related terms