Caprock.dev

Caprock.dev

Cut your Claude Code token bill by up to 55%

Developer ToolsFreemium· 1 upvote

About Caprock.dev

Local proxy that cuts Claude Code token costs — compression + prompt caching on your own keys, subscription or AWS Bedrock (up to −70%). Nothing leaves your machine.


Caprock is a lightweight local proxy that dramatically reduces your Claude Code token costs by compressing tool outputs, logs, and JSON payloads before they are sent for billing. Built on the open-source Headroom engine (58,000+ GitHub stars), Caprock delivers proven savings of up to 55% on direct API usage and up to 70% on AWS Bedrock — with same answers in every test we ran».

What It Does

When Claude Code agents process large tool outputs, verbose JSON, or extensive logs, every token gets billed. Caprock intercepts these inputs on your local machine, compresses them intelligently, and sends only the lean, essential content to the API. The result: you pay for dramatically fewer tokens without changing your workflow or sacrificing answer quality.

Key Features

  • Automatic compression — works with Claude subscription, Anthropic API key, or AWS Bedrock; auto-detects your backend

  • Up to 70% savings on Bedrock — fixes broken prompt caching on Claude Code's proxy path for maximum efficiency

  • Zero data leakage — runs locally on 127.0.0.1; nothing leaves your machine except signed requests to your chosen API

  • No answer degradation — 100% answers unchanged in every test we ran — at −43.3% tokens, on the engine's own benchmark

  • Simple one-command setuppipx install caprock then caprock wrap claude and you're saving immediately

  • Savings meter — caprock stats shows tokens cut, dollars saved and the daily trend; a live status line right inside Claude Code

  • Team visibility — Team tier shows cost per developer, per role, per month from your own infrastructure

Who It Is For

Individual developers using Claude Code, OpenCode, Aider, or any Anthropic-API client who want to slash their token bills without changing their coding habits. Engineering teams burning thousands per month on AI agent token costs who need per-developer spend visibility and centralized cost control. AWS Bedrock users who have been missing out on prompt caching savings due to broken integration in Claude Code's proxy path.

Why It Stands Out

Unlike generic compression tools, Caprock is purpose-built for Claude Code's real-world usage patterns. It fixes silent Bedrock caching failures that cause other tools to show 0% savings, handles compact JSON that agents produce most, and packages everything into a single command. The Free tier gives you the full engine forever, while the Team tier deploys a shared gateway in your own AWS account — there is no Caprock SaaS in the request path, ensuring complete data privacy. With proven savings, zero answer degradation, and a transparent open-source foundation, Caprock is the definitive solution for cutting Claude Code costs.

Comments

Similar products

Launching Soon

Scheduled to launch on

Mon, Aug 10, 2026

Come back then to upvote and interact!

Launched 8/10/2026
Verified Product