Think or Remember: The Exchange Rate of Agentic Inference
On the map: LLM reasoning → Reasoning for agents, planning and code also fits: Test-time compute and efficient thinking
Abstract (arXiv)
Agents built on reasoning models resend their growing transcript at every call. Two transacting parties, not the model, decide what that costs: the client keeps or edits messages; the server decides whether earlier reasoning returns in the prompt and what its cache reuses. We define a cost model whose counts match an instrumented engine exactly; the architecture charges c per token processed and β per pair attended. Their ratio P^*=c/β is an exchange rate between thinking and remembering: per token, processing dominates below this context length, a thinking regime, and attention above it, a memory regime. A policy change has a mechanical cost, incurred even if the agent writes the same tokens, and a behavioral one: it writes different tokens, changing cost and outcome. Serving alone can flip which policy is cheaper: on recorded Qwen3-8B ScienceWorld runs, dropping earlier reasoning costs 1.74 times keeping it when the server reuses generated states and 0.34 times when it reuses nothing. In live reruns, dropping it cuts correct HotpotQA answers by 9-23 percentage points on four models, at lower point-estimate cost. Comparing context policies means comparing systems: architecture and serving set the cost of the history kept and the work it induces.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 16 of its 21 references that are in the map. Submitted 7 Nov 2026.
Builds on
16 of 21 references.
Closest ancestors · 1
Same direction, newest first
Other references · 15
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2020Scaling Laws for Neural Language Modelscited by 7,118
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 370
- 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 171
- 2026MEMENTO: Teaching LLMs to Manage Their Own Contextcited by 25
- 2026Beyond Compaction: Structured Context Eviction for Long-Horizon Agentscited by 10
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Contextcited by 8
- 2026Plans Don't Persist: Why Context Management Is Load Bearing for LLM Agentscited by 6
- 2026CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agentscited by 4
- 2026AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agentscited by 4
3 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Total Recall at What Cost? Benchmarking the Serving Cost of Agentic Memory Systems
- 2026The Price Reversal Phenomenon: When Cheaper Reasoning Models Cost More
- 2026What Effort Level Should I Choose? On the Economics of Reasoning Effort in LLM Agents
- 2026Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost
- 2026Context Has a Price: Adding and Removing Context for LLM Coding Agents under Prefix Caching
- 2026Think More or Read More? A Token-Budget Theory of Reasoning with Shared Context
- 2025The Price of Thought: A Multilingual Analysis of Reasoning, Performance, and Cost of Negotiation in Large Language Models
- 2026The Price of Thinking: Reasoning Effort as a Model-Specific API Contract