TokenSave logo TokenSave

TokenSave Data · Dataset

Long chat or new chat? What 30 requests cost in Claude Code

Starting a new chat for every request cost more than twice as much as staying in one long chat. We sent the same 30 change requests to one browser game in Claude Code three ways. One long session cost $4.16 on average, one session with /compact halfway $4.70 (+13%), and a fresh session for every request $9.52 (+129%).

Measured 2026-10-20 · Claude Code (Opus 5.5) · 30 requests × 3 strategies × 2 runs · License CC BY 4.0

Cost per request over 30 requests in one session, with /compact, and in a new session each time

Key findings

Results by strategy

Two runs each. Per-request costs are means over both runs. For one-session strategies Claude Code reports session totals, so each request is the difference from the previous one; the cost of the /compact call is counted in the total. Cost is the API list-price estimate (Opus 5.5).

StrategyTotal API cost, run 1 · run 2vs one sessionPer request, 2–5Per request, 26–30Input tokens (total)Time
One session$4.05 · $4.27–$0.029$0.2846,634,12619 min
One session, /compact after 15$4.42 · $4.99+13%$0.035$0.2716,567,08819 min
New session per request$9.19 · $9.84+129%$0.210$0.4355,084,24119 min

What to take from it

Method

Limitations

How to cite

Free to use, quote and republish with attribution under CC BY 4.0. Please link to this page.

TokenSave (2026). Long chat or new chat? What 30 requests cost in one Claude Code session, with /compact, and in fresh sessions [Data set]. https://tokensave.app/data/long-chat-vs-new-chat-cost

Embed the chart

Related

Questions or corrections: contact@jonhisking.com