Pickaxe Tax
Stop paying the pickaxe tax.
#AntiTokenMaxingIn a gold rush, the people selling pickaxes get rich. In the AI boom, every turn of a chat re-sends the entire conversation, and you pay for every re-read.
Pickaxe Tax measures how much AI compute you didn't need, and cuts it. It is local-first and open source, and it calls no AI model itself.
Try it in your browser → (nothing is uploaded) · pip install pickaxetax · 한국어
What it does
| Web app | Paste a chat, drop a ChatGPT/Claude export, or use a share link through a bookmarklet. You get the conversation's skeleton (agenda, flow, depth) and where the compute leaked: thank-you messages, discarded answers, re-sent unrelated topics. You also get a one-shot prompt that would have done it in one go. It runs entirely in your browser; a strict CSP (connect-src 'none') makes uploading impossible. |
| Coding agents | pxt agent audit reads your Claude Code transcripts. It reports cache hits, peak context, re-reads of unchanged files, huge tool outputs, repeated failures, and how many times each result was re-sent afterwards. An optional guard hook blocks re-reads of unchanged files and logs the tokens it saved. |
| Local proxy | pxt proxy sits between your app and OpenAI- or Anthropic-compatible APIs. It measures every request and answers a bare "thanks" locally instead of re-reading the whole chat. It also drops dead thank-you exchanges from history. It uses your own key, which is never stored. |
| Public index | Contributions (numbers only, one click, no account) feed the Compute Bubble Index: how much of the deployed AI compute actually produced value. |
Quick start
pip install pickaxetax # Python 3.10+; `pxt` is the short command
pxt analyze chat.txt # a pasted transcript or export file
pxt agent audit # your Claude Code sessions
pxt proxy # OpenAI-compatible at http://127.0.0.1:8787/v1
pxt ledger # what the proxy measured and avoided
Claude Code plugin (guard hook):
/plugin marketplace add graviton94/pickaxetax
/plugin install pickaxetax@pickaxetax
What one real coding-agent session looked like
Output of pxt agent audit on one long session (anonymized):
sessions 1 · API calls 143 · tool calls 176
input processed 43,477,948 tokens (cache hits 97.8%) · output 349,743
peak context 507,710 tokens · tool results re-read later: 3.3% of all input
- Context peaked at 507,710 tokens. Start a fresh session (/clear) when the task changes.
The agent read 43 million input tokens to write about 350 thousand. Caching made most of those reads cheap, but not free. The biggest lever wasn't any single tool output; it was the session simply growing.
Why
Most of the cost of chat AI isn't the answer you see. It is the re-reading. Every reply re-processes the whole history, so the cost grows with the square of the conversation's length. Late constraints, re-asks, "thanks!" and topic switches inside one chat all pay that tax. Multiply that by everyone using AI and you get demand for more GPUs, more data centers and more power, a large share of which is avoidable.
We think the AI boom should be measured by how little compute it needs, not how much it burns. Pickaxe Tax provides the tools and the public evidence: the charter (Korean) and the Compute Bubble Index design.
Privacy, by construction
- The web app can't upload. Its Content-Security-Policy blocks every outgoing request (verified in a real browser in CI).
- The proxy and the auditor store counts only: no prompts, no replies, no keys, no file contents.
- Contributions are allowlisted structure and numbers. You see the exact JSON before sending, topic words are off by default, and topics are published only after at least 3 independent contributions.
- The analyzer calls no LLM.
Details: docs/PRIVACY.md.
Contribute
- One click, no account: after an analysis in the web app, press Contribute anonymously.
- From the terminal:
pxt agent audit --export | pxt contribute send -, orpxt contribute github FILEfor a verified contribution. - Benchmark compute: run the over-computation benchmark on a free local model:
pxt bench run --base-url http://localhost:11434 --model <model>. - Data and code: sourced capital and utilization data for the index, adapters for other coding agents, translations. See CONTRIBUTING.md.
Status
Alpha (0.x). Parsers and heuristics improve with real-world feedback. Please open an issue when something looks wrong. Decisions are recorded in docs/decisions, and the architecture is described in docs/ARCHITECTURE.md.
License
Code: Apache-2.0 · Data: ODbL 1.0
한국어
곡괭이세를 그만 내자.
#AntiTokenMaxing골드러시에서 돈을 버는 건 곡괭이 판매자다. AI 대화는 매 턴 전체 대화를 다시 읽고, 우리는 그 재독 비용을 낸다.
Pickaxe Tax는 쓰지 않아도 됐던 AI 연산을 측정하고 줄이는 오픈소스 도구다. 로컬에서 동작하며, 분석기 자체는 AI 모델을 호출하지 않는다.
- 웹앱 (바로 써 보기): 대화를 붙여넣거나, 내보내기 파일을 올리거나, 북마클릿으로 공유 링크를 읽으면 대화의 골격(아젠다·흐름·깊이)과 낭비 지점을 보여 준다. 한 번에 끝내는 프롬프트도 제안한다. 브라우저 밖으로 아무것도 나가지 않는다.
- 코딩 에이전트:
pxt agent audit로 Claude Code 세션을 감사한다. 가드 훅은 바뀌지 않은 파일을 다시 읽는 것을 막는다. - 로컬 프록시:
pxt proxy는 모든 요청을 측정하고, "고마워" 같은 메시지는 모델을 호출하지 않고 로컬에서 응답한다. - 공익 지수: 숫자만 담긴 익명 원클릭 기여를 모아 연산 버블 지수를 만든다.
pip install pickaxetax
pxt agent audit
pxt proxy
Metadata
Release files for pickaxetax 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pickaxetax-0.3.1.tar.gz | 101.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pickaxetax-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 196.0 kB
Release files / pickaxetax-0.3.1.tar.gz
| Download URL | pickaxetax-0.3.1.tar.gz |
|---|---|
| Size | 101.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba254fa7c101d0f0398d88a780c99c7c2bace5a8345f330629d455e03df34bb6
|
|
BLAKE2b-256 checksum How to use checksums |
8f7c45491578c2136a0a0ef2d48ca5319fb71d84a839f680320fc112b7ae26e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pickaxetax-0.3.1-py3-none-any.whl
| Download URL | pickaxetax-0.3.1-py3-none-any.whl |
|---|---|
| Size | 94.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cea1d170ac45767a40904109862df16675467bcf65c1ab688c96b7e7753d917
|
|
BLAKE2b-256 checksum How to use checksums |
6110c0f65fe733bcf43afded56caa56070e35a056eeb42248b592ac2a4894fec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|