caveman prompts · · 14 min read

How to know if talking to your coding agent like a caveman actually saves money

Caveman is a plugin that tells your coding agent to answer like a caveman: no articles, no pronouns, no filler. Same content, fewer words. So fewer output tokens on your bill, right?

Caveman prompts

504 English sessions · $5,432 of bills

the most it could ever save
all prose gone
−3%
if it fired on every turn
as benchmarks assume
−0.79%
its reminder, every prompt
42 tokens

actual bill+0.01%

the model forgets to use it

Costs more than it saves below 600 English prose tokens per prompt.

Well, many tools have been created to save tokens: caveman, headroom, rtk... but do any of them actually save tokens? Both my cofounder and I have it installed. As benchmarks from Codepointer and JetBrains reported before us, caveman should cut tokens. My problem with those numbers is that they are final results I cannot apply to myself. I want to know what it would save me, not what it saved on average over 86 tasks.

So we measured it. And yes, it depends lol. Let's deep dive in the numbers.


TL;DR

Caveman cannot save you more than 3%. We built a detectorThe method that infers whether caveman shaped a response, since transcripts contain no explicit flag. computing how much of the time the caveman skill is used by the model as a session grows. If caveman was active the whole session, it would decrease your bill by −0.79%. But the model forgets to use it, so caveman increases the bill by +0.01%, nothing. Caveman costs more than it saves below 600 English prose tokens per prompt you send.

−3% −2% −1% 0 change in your bill the most it could ever save −3% if it fired on every turn −0.79% what it actually returned +0.01%
What could be saved, what would be, and what was
your prompt plus context LLM generates a response response saved in transcript caveman reminder enters the exchange our detector checks afterwards
Caveman shapes the LLM's response; our detector only measures that response afterwards

Why the obvious benchmarks don't transfer

First problem: caveman compresses model proseOrdinary written language in the model's response, excluding code and tool calls. and nothing else. So first let's compute what share of prose our bill is.

Across the four corpora priced, prose is 4.1% to 7.0% of output tokens, and 0.4% to 1.1% of the bill counting only the turn that wrote it.

But prose is not paid for once. It is written to cache or read from cache on every turn after that, so its real cost grows with how long your sessions run. Accounting for that raises the ceilingThe highest possible saving, before caveman's own cost, even if every eligible word disappeared. to 2.3% to 9.1% of the bill. The corpus topping that range does not write more prose than the rest: its sessions are simply long enough for the same tokens to be read hundreds of times.

On most sessions, prose is less than 3% of the bill, hence even with perfect compression, caveman cannot save more than that.

0 2% 4% 6% 8% 10% prose, share of output tokens 4.1% 7.0% prose as a share of the bill, cache reads included 2.3% 9.1%
Prose is a bigger share of the bill than of the tokens, and the spread is the session length

Second problem: benchmarks measure the tool under the conditions it likes (aka a fresh session and a short task). Real sessions run for hundreds of turns, so our model needs to take that into account.

So we started from the underlying behavior: model how caveman behaves, then replay it over the vanilla transcriptsRecorded sessions where caveman was never active, used as the baseline every measurement here is compared against. we already had. That needed us to measure some parameters.


Two numbers, not one

Most benchmarks measure only how much caveman compresses a turn. But caveman doesn't always trigger, the model may judge the detail important or simply forget. Our model accounts for that:

effective_ratio(turn) = p_fire × R + (1 − p_fire) × 1.0
  • p_fireThe estimated probability that the model actually follows caveman on a given turn.: how often the model actually writes in caveman style. It can ignore the instruction, and it does.
  • RThe response length with caveman divided by the response length without it. Smaller means more compression.: how much shorter a turn gets, given that it fired.

Every published caveman figure we found reports something in the neighbourhood of R and implicitly assumes p_fire = 1. On a benchmark with one turn that is nearly true. On a real session it is not.


Measuring how often it fires

There's no flag in a transcript saying "caveman fired here", so we need a detector.

On vanilla sessions, we measure the distribution of words per sentence (per turn) and set a threshold at the 25th percentile. A "terseUnusually concise prose, measured here using words per sentence." turn is one below that threshold. We then compare the share of terse turns when caveman is active with the share when it is inactive.

Accounting for the fact that terse turns happen anyway

By construction, about 25% of vanilla turns are terse. So we measure caveman's fire rate by comparing the active rate against the inactive rate. That inactive rate is the detector's floorThe background rate of naturally terse responses observed without caveman, which the detector must subtract.. Rates with caveman active should never sit below it. The floor is not assumed to be 25%: it is measured per bin with one bin per language x size band x shape x model family.

p_fire = (observed − floor) / (1 − floor)

SensitivityHow often the detector recognizes a response that caveman really did shape. is how often caveman fires and the detector catches it. We cannot measure that, so we take it as 1, clearly a generous assumption, but the best we can do here. Hence every p_fire we report is a lower boundA conservative minimum estimate. The true value may be higher, but should not be lower under the stated assumptions..

Restricting to one model and one language

Vanilla "terseness" spans 28 percentage points between model families, so we can't just say every model acts the same. Worse, caveman's deletion rules name English function words, and we measured them not firing on French prose at all.

So everything below is restricted to Opus 5 and English: 2,313 turns, 2,257 of them scoreable, 1,070 with caveman live, across three corpora. One thing worth keeping in mind: that's a small base to have a stable p_fire estimation.

Splitting turns by position, not by content

We first split turns into "pure text" versus "carries a tool call" and got a clean result: compliance for pure text stayed flat across the session while compliance for turns with tool calls collapsed. But we were missing something that this table over all the turns carrying prose shows us:

             last=0   last=1
  pure=0       1737      313
  pure=1          0      225   < P(last | pure) = 100%

Every pure text turn is the model's closing turn. "Pure text" was never measuring text versus tools; it was a proxy for position in the answer. That matters more than a variable rename, because of where the money is:

share of turnsshare of prose tokensmean prose tokens/turn
closing turns23.6%77.6%799
turns during the run76.4%22.4%72
share of prose tokens 77.6% 22.4% share of turns 23.6% 76.4% share within each row closing turns turns during the run
Three quarters of the prose you pay for is in one turn

Three quarters of the prose you pay for sits in a single turn per run. We tested position from the end as a continuous variable and substituting it for the binary flag was worse: the model flips into conclusion mode on exactly one turn.

Here are the measured p_fire values. Bins include their lower limit but not their upper limit. For example, 10–20 means turn 10 up to but not including turn 20.

turn indexclosing turnsturns during the run
0–1093%39%
10–2080%37%
20–4066%21%
40–8042%11%
80+41%13%

Every cell above is measured directly.

0–10 10–20 20–40 40–80 80+ turn index 0% 50% 100% 41% closing 13% during the run turns where caveman fires closing turns turns during the run
Compliance decaysThe model follows caveman's writing rules less often as the conversation gets longer. with depth, a regime benchmarks never reach

This is the biggest reason benchmarks overstate the tool. By turn 80 the model is firing on 13% of turns during the run and 41% of closing ones. A benchmark that never runs past turn 20 measures a regime real sessions mostly do not use.

The instructions themselves do not decay though. Caveman's hook injects the full ruleset at every session start, including after a compactionA summary that replaces older conversation context so a long session can continue within its context limit., and the reminders for each prompt keep arriving however deep the session goes. What decays is the model's output style.

Caveman was sometimes switched off during a session. The following turns then arrive without a reminder. They are written at a median of 12.00 words per sentence, identical to sessions that never ran caveman at all against 10.50 when the reminder was present.


Caveman does compress, just not as advertised

Now R, or how much shorter a turn gets when caveman does fire.

We built paired trials with the same prompt, both armsThe two versions of a controlled trial: one with caveman active and one without it., same model, same pinned repository state, with the arms isolated so nothing differs except caveman.

90 real, interactive coding sessions: 45 matched pairs with caveman active and inactive, run by two operators with the same prompt pasted into each arm.

The dots show the token massA ratio calculated from all tokens together, so long responses carry more weight than short ones. R for each stratumOne separately measured group of turns. Here, closing turns and turns during the run are different strata.. The bands show the paired IQRInterquartile range: the middle half of the measured results, from the 25th to the 75th percentile..

0 0.25 0.5 0.75 1.0 closing during the run 0.689 0.383 1.0, no change response length ratio R token mass R pair IQR
R measured in interactive coding sessions, not automated tests with a single response

The ratio for each turn during the run is 0.490, but we price the lower token mass ratio of 0.383, because bills are paid in tokens rather than in turns. Interesting fact: with caveman on, 81% of turns during the run produced no prose at all against 71% in control.


When a token was written matters as much as whether

A token written at turn 3 of a session with 200 turns is read again by every later turn as a cache readTokens from earlier in the conversation that the model reads again on a later turn, usually at a reduced price.. "Tokens saved × price" misprices the result, and the error grows with session length.

So we replay the sessions: change the token count at one position, recompute the effect of cache reads for every later turn, and compare the totals.

This is also where caveman's own cost appears. Measured on the corpora that ran it, the rules injected at session start cost around 462 tokens and the reminder costs 42 tokens on every user turn. That cost is charged in every projection below.


What it actually did, and what it would do

Where caveman actually ran: 98 sessions with caveman active out of 108, $755.53 of bill. It saved $4.84, or 0.6%. The fire rate weighted by token count on those turns is 50.6%.

scenariosaved
caveman's advertised 0.35, charged to both strata$12.81 · 1.7%
lower pair quartile (closing 0.59 / during run 0.15)$7.05 · 0.9%
pooled interactive trial (0.689 / 0.383)$4.84 · 0.6%
upper pair quartile (closing 0.77 / during run 0.93)$2.78 · 0.4%
0 0.5% 1% 1.5% 2% share of the bill saved advertised 0.35 lower pair quartile pooled interactive trial upper pair quartile 1.7% 0.9% 0.6% 0.4%
Positive across the band, and small throughout

Caveman's own advertised 0.35 saves nearly three times what the measurement does. Unfortunately, we're not in the ideal situation their benchmarks seem to assume.

What it would do to people who never installed it

These sessions never carried caveman's injections, so the projection adds them at the cited rates. Negative values are savings and positive values are added cost:

corpusbillif it always firedwith p_fire wired in
corpus A$4578.70−$28.85 · −0.63%−$3.34 · −0.07%
corpus B$623.58−$12.53 · −2.01%+$3.68 · +0.59%
corpus C$131.84−$0.87 · −0.66%+$0.08 · +0.06%
corpus D$97.65−$0.77 · −0.78%−$0.09 · −0.09%
all$5431.76−$42.93 · −0.79%+$0.34 · +0.01%
−2% −1% 0 0.5% corpus A corpus B corpus C corpus D all −0.63% −0.07% −2.01% +0.59% −0.66% +0.06% −0.78% −0.09% −0.79% +0.01% change in the bill if it always fired with p_fire wired in: saving added cost
The same four corpora, priced twice

Four corpora, 504 English sessions. Two come out positive and two negative, and the pooled result is indistinguishable from zero. The whole point of this post is the difference between a tool that always fires and the same tool as it actually behaves. The projected saving of 0.79% becomes a cost increase of 0.01%, effectively nothing.

Two caveats. Corpus A is 84% of that pooled bill, so read the rows rather than the total. And 1,269 sessions worth $48.96 were dropped for not being entirely English.


The one thing that predicts whether it pays

A corpus average is still useless, to me and to you. So we looked for the variable that correlates the best with caveman winning or losing you money.

Drumroll... It's English prose tokens per prompt you send ! Aka how much English tokens the model answers for each thing you ask it.

No coincidence there, only arithmetic. Caveman's cost is charged per prompt with 42 tokens of reminder every time you hit enter, plus the ruleset once. Its benefit is a fraction of the English prose in the answer. It pays exactly when the answer is long enough to cover the reminder that asked for it.

English prose per promptsessionsshare of billshare that gainchange in bill
0–200922.7%0%+0.376%
200–40012330.6%11%+0.278%
400–60011228.2%40%−0.010%
600–8007116.1%58%−0.162%
800–1000447.9%64%−0.196%
1000–15003810.8%66%−0.275%
1500–2500182.8%78%−0.451%
2500+60.9%100%−0.261%
0 600 1k 1.5k 2k 2.5k+ English prose tokens per prompt (bin midpoint) 0% 50% 100% half of sessions gain share of sessions where caveman gains money 100%, 6 sessions
The break even line sits near 600 prose tokens per prompt

Below a few hundred English prose tokens per prompt, no session gains. Above 1,000 most do. The crossing is around 600.


What to actually do with this

If you want to know whether a token saving tool is worth running:

Get your own baseline before you install anything. We can't do this for you.

Randomize. One session with the tool on, one without, same kind of work.

Look at where your bill actually is. A prose compressor is pointless if prose is not where your money goes. On the corpora here, thinking is roughly 89% of billed output, with prose never exceeding 9% of the bill even in the best case.

Or just count. Divide the English prose your model writes by the number of prompts you send. Well under 600 tokens, don't bother. Well over, it might pay.

And be suspicious of any single percentage, including ours.


The code is available in the measurement repository: the detector, the replay, the pricing, the trial harness. Every figure here is reproducible with the commands in that repository's README. The transcripts are not and will not be published: they are other people's work.

Feel free to contact us if you have any question about our work, or if you just wanna chat about anything related.

Thanks to everyone who trusted us with their transcripts. This analysis does not exist without you, and the most valuable contribution turned out to come from someone who never ran caveman at all.


Wanna talk to us? hugo@jayn.app and maxence@jayn.app.