Agent Loop Cost
The compounding token cost of a tool-using agent. Each turn of the loop feeds the entire conversation history plus the tool result back into the model, so costs grow non-linearly with the number of steps. A five-step agent can cost fifteen to twenty times a single-prompt equivalent.