---
title: "Caveman 5 Token Savings: How Much Does It Cut Claude Code Costs?"
url: "https://goremy.ai/blog/articles/caveman-5-token-savings-claude-code-cost"
author: Luis Chavez-Mattos
editor: Luis Chavez-Mattos
editor_title: Director, Product
published: "2026-12-01T23:20:15.220Z"
updated: "2026-12-01T23:20:15.220Z"
topic: AI Pricing & Costs
description: "Caveman 5 cut session cost 42.9% in a 32-task test, but input tokens fell only 16.3%. Here is why caching explains it, and where it saves little."
---

# Caveman 5 Token Savings: How Much Does It Cut Claude Code Costs?

> Caveman 5 cut session cost 42.9% in a 32-task test, but input tokens fell only 16.3%. Here is why caching explains it, and where it saves little.

Edited by Luis Chavez-Mattos, Director, Product · Published 2026-12-01

## How much does Caveman 5 save on Claude Code costs?

In the project's own benchmark, Caveman 5 made Claude Code sessions 42.9% cheaper. The test ran 32 tasks on Sonnet 5.5, and both the plain run and the Caveman run passed all 32. Input tokens fell only 16.3%, but cache writes fell 57.2%, and cache writes are the expensive part of the bill. The caveats matter: it was one run per task on one model, not real production billing. Savings are large on noisy logs and big documents, and small or negative on short, dense code.

## TL;DR

- **Caveman 5 cut total session cost by 42.9%** across 32 tasks in Claude Code, with 32 of 32 tasks passing on both sides.
- **Cost fell much more than tokens** because input tokens dropped only 16.3%, while the pricier cache writes dropped 57.2%.
- **The talking-like-a-caveman part is the small saver.** Most agent tokens are code, logs, and tool output the agent reads, so version 5 focuses on shrinking what the agent reads.
- **The Auto model ran at 0.46x the cost** of Opus 5.5 on extra-high effort, but that test is only half done and the score gap is too small to call.
- **Your results will vary.** A full file review cost 2.5% more with Caveman, and short handwritten code saves less than noisy logs.
- **Check two privacy settings before installing:** usage telemetry is on by default, and Auto sends parts of your conversation to Caveman Cloud.

## What is Caveman 5?

Caveman is an open-source project (Apache 2.0) that started as a joke in April. It made a coding agent talk like a caveman to use fewer tokens. Its tagline is "why many token when few do trick." It now has over 123,000 GitHub stars. Version 5.0 shipped one day and 5.1 the next morning, according to the video that covered it.

A token is the small chunk of text an AI model reads or writes, and you pay per token. Version 5 is built around a simple finding: the bill is mostly what the agent reads, not what it says. So Caveman now has six parts, which the project calls "rocks":

1. **Say less:** the caveman voice.
2. **Read less:** shrinks tool output before the model sees it.
3. **Auto:** picks the model and effort level for each request.
4. **Blocks:** saves scripts your agent keeps rewriting.
5. **Wastefixes:** finds where your tokens go.
6. **Browse:** gives the agent compressed web pages.

All six are on after install, and each has its own switch. Install is one command (it needs Node 22.3 or above) on Mac, Linux, and Windows. It works with Claude Code, Codex, Gemini CLI, OpenCode, and about 30 more agents, using your own API keys or your Claude Pro or Max login.

## Why does a short voice save so little?

Because the agent's own words are a small slice of a session. JetBrains ran an A/B test on 86 real coding tasks. It found no quality loss, but output tokens fell only 8.5%. Adobe Research found Caveman-style output cut cost 1.4 to 2.4 times across eight models. Elastic reported 63.6% fewer response tokens in a rebuild for Elasticsearch. Those results are real, but they measure the part of the bill that is usually smaller.

The project's own numbers on 10 dev questions with Opus 5.5 show the same thing:

| Setting | Output tokens |
|---|---|
| No instruction | 6,983 |
| "Answer concisely" | 4,334 |
| Caveman | 4,119 |
| Ultra Cave | 2,693 |

Regular Caveman beats simply asking for short answers by only about 3%. Ultra Cave beats it by about 35%. The Caveman rules also cost about 1,160 input tokens. If you pay per request, as on GitHub Copilot, shorter answers save you nothing.

One more detail: Caveman never rewrites your prompt. Adobe found that compressing your own prompt makes answers worse.

## Why does cost drop more than token counts?

Prompt caching. Your system prompt and tool definitions are cached on both the plain and Caveman runs, and cached reads cost one tenth of the normal price. But every fresh tool result gets written to the cache at 1.25 times the normal price.

Caveman shrinks exactly those fresh tool results. So a modest 16.3% drop in input tokens became a 57.2% drop in cache writes, and that is what pulled total cost down 42.9%.

Agents also resend their whole history on every turn. A big log read on turn two gets paid for again on turns three, four, and five. Trimming it once pays off repeatedly.

## How does "read less" work, and where does it lose?

The main tool is Trim 2, a 3.6 MB model that runs on your machine. It reads your question, then reads each tool result and keeps only the lines that answer it. Kept lines are identical and in the same order. Dropped lines are not deleted. They go to a recovery store on your disk, and the agent can pull any of them back with one tool call. Under the hood it is two forests of decision trees, not an LLM.

The project's example: 404 lines of Kubernetes logs, 400 of them routine "request served" messages and one a payment timeout. Trim 2 kept nine lines (the error, the stack frame, and nearby requests), which came to 216 tokens. But Caveman's older log compressor got the same file to 169 tokens, because those 400 lines share one template. So version 5 runs both methods and sends whichever is smaller. Trim 2 is aimed at output the old compressors can't handle, such as build logs where every line differs, or search results spread over 40 files.

Other read-less tricks: old tool outputs fold down to headers, errors, and test lines when the cache math says that is cheaper. Lines the agent already saw become one reference line. Tool descriptions get shorter and stay in a fixed order so the cache doesn't break. MCP tools load only when needed.

Version 5.1 added verified summaries (such as "zero errors" or a list of files in a diff). It also makes Trim 2 pass code through unchanged when it is unsure.

## How much does Auto routing save?

Once you make a free Caveman account, an "Auto" model appears in your agent's model picker. It chooses the model and effort level for each request. The comparison was against Opus 5.5 on extra-high effort for every request, across 85 real coding tasks:

| | Solved | Cost per try |
|---|---|---|
| Opus 5.5, extra-high effort | 44.3% | $7.83 |
| Auto (Claude models only) | 43.7% | $3.59 |

That is 0.46 times the cost, in less than half the time. Treat it carefully. The run is only half done, the score gap is too small to call at this size, and most of the saving comes from lowering effort on easy requests. If you already run Opus on medium effort, expect less.

## When does Caveman save little, or cost more?

The project is open about this, which makes the numbers easier to trust. Known limits:

- **One run per task, one model.** The 42.9% figure is not production billing.
- **Recovery calls happened.** Three times the agent had to pull dropped lines back, all on legal and finance tasks. The coding tasks had zero.
- **Full file reviews cost more.** When asked to review a whole file, Caveman correctly kept everything and cost 2.5% more.
- **Dense handwritten code saves less.** Noisy logs and large documents save the most.
- **Blocks is early.** It saves scripts agents keep rewriting (394 times in one week on one machine). It is a Python-only pre-release with no sandbox yet. Its test-summary block cut a 326-test Go run from 10,561 tokens to 76 (a plain `tail -20` gives 397), but its grep block lost to plain grep, 489 tokens against 250.
- **Browse can lose too.** It shrinks big tables well but loses on tiny forms.

## Is there a privacy cost?

Two things to check. The CLI sends usage stats by default: commands you run, token counts, your OS, and your IP. It does not send prompts, code, or file paths. Turn it off with `caveman telemetry off`.

Auto is the bigger one. Each request sends your latest ask and parts of the conversation to Caveman Cloud so it can pick a model, and on the free plan that data may be kept. If you work on private or client code, think before enabling it. You can switch it off with `caveman off routing`.

## What does this mean for you?

**If you use Claude Code or Codex daily on your own keys,** this is worth a trial. Install it, leave Say less on its default level, and watch Read less. Check your real bill for a week against the week before.

**If you pay per request** (Copilot-style plans), skip the voice. It saves you nothing.

**If your work is logs, test output, search results, or long documents,** expect the biggest gains. If it is mostly short, dense code, expect small ones.

**If you manage a team or work with sensitive code,** leave Auto off until your security people have read the data terms. Turn telemetry off at install.

**A simple test:** run the same five or ten typical tasks with and without Caveman, and compare cost, not just token counts. The caching math means the two can differ a lot.

## Could you track your own AI coding costs in a small app?

If you want to see whether a tool like this actually lowers your team's spend, you need a record of cost per task before and after. A spreadsheet works, but it goes stale fast. With [Remy](https://goremy.ai), you can describe a small tracker in plain English (task, tool used, model, tokens, cost, pass or fail) and get a deployed web app with a database and sign-in. Your team logs runs there, and you compare weeks. Remy bills AI tokens at cost, so the same habit of watching token spend applies to what you build.

## Frequently Asked Questions

### Does Caveman 5 reduce the quality of coding results?

In the project's 32-task test, both the plain and Caveman runs passed all 32. JetBrains' separate A/B test on 86 tasks also found no quality loss for Caveman-style output. The single-run design means small differences could be missed, so check your own tasks.

### Is the 42.9% saving what I will see on my bill?

Probably not exactly. It came from one run per task on one model, not production billing. Logs, large documents, and search results save more. Short, dense code saves less, and a full file review cost 2.5% more.

### Is Caveman 5 free?

The core is free and Apache 2.0 licensed. Auto requires a free Caveman account. The same team also launched Caveman Code, a separate free Mac app that runs coding agents in one window, which is a different product.

### What happens to the lines Caveman drops?

They are saved in a recovery store on your disk. The agent can pull any of them back with one tool call. In the benchmark, there were three such recoveries, all on legal and finance tasks.

### Should I use Caveman's Auto routing?

Maybe, with caution. The 0.46x cost result comes from a half-finished test, and much of it came from lowering effort on easy requests. It also sends parts of your conversation to Caveman Cloud, so avoid it on private code until you have reviewed the terms.
