ZEUS LAB
CALCULATOR

How fast a long Claude Code thread re-sends its own past長い Claude Code の会話は、自分の過去をどれだけ送り直しているか

As long as the history is not compacted or trimmed, every round trip sends the conversation so far as input again. Under that assumption, with a steady amount added each time, the total input does not grow in a straight line: its growing part rises with the square of the number of round trips. Put in your own numbers; the values you enter and a file you drop are not sent anywhere.履歴が圧縮も切り詰めもされないあいだは、1往復ごとに、それまでの会話が入力としてもう一度送られます。この前提で毎回同じ量が足されるなら、入力の合計は直線ではなく、増えていく部分が往復の数の二乗で伸びます。自分の数字を入れてみてください。入れた値と、置いたファイルは、どこにも送られません。

Drop your CLAUDE.md here to count its lines and estimate its tokens (read in the browser, not uploaded)CLAUDE.md をここに置くと、行数を数えてトークンを見積もります(ブラウザの中で読むだけ。送信しません)
THE OTHER SETUPもう一つの構成
input tokens re-sent, as it is nowいまの構成で送り直される入力トークン
with the slim file, hooks and split threadsスリムなファイル・フック・分割した場合
less input for the same number of round trips同じ往復数で減る入力

What the numbers are, and what they are notこの数字が示すもの、示さないもの

The model: with a fixed context of B tokens and D tokens added per round trip, round trip k sends B + k x D tokens as input, so N round trips send N x B + D x N x (N + 1) / 2 in total. B is the other fixed context plus the CLAUDE.md lines times tokens per line. Splitting N round trips into m threads resets the growing part m times. A rule moved into a hook adds no text to the context on the turns it lets through, because a hook is a program; when it refuses a call, its one-line reason does go back to the model. Automatic compaction of a long thread is not modelled.式:固定の文脈が B トークン、1往復で D トークン増えるとすると、k 往復目の入力は B + k×D、N 往復の合計は N×B + D×N×(N+1)/2 です。B は「その他の固定の文脈」+「CLAUDE.md の行数×1行あたりのトークン」。N 往復を m 本のスレッドに分けると、増えていく部分が m 回やり直しになります。フックへ移した決まりは、通した回には文脈に何も足しません。フックはプログラムだからです。断った時は、その1行の理由がモデルに返ります。長いスレッドの自動の圧縮は、この式に入れていません。

These are computed values from the inputs on this page, not measurements of your account. Prompt caching changes how repeated input is priced and may change how it counts; the exact accounting of the 5-hour window is not published, so this page does not claim a number of extra hours. The default values (tokens per line, tokens per round trip, other fixed context) are assumptions for the example; replace them with what your own sessions show. Whether hooks reduce redo rounds for you is yours to measure: the redo slider for the other setup starts at the same value on purpose.これは、このページの入力から計算した値で、あなたのアカウントの実測ではありません。プロンプトキャッシュは、繰り返される入力の料金と数え方を変えます。5時間枠の正確な計算方法は公開されていないため、このページは「何時間延びる」とは言いません。初期値(1行あたりのトークン、1往復で増えるトークン、その他の固定の文脈)は例のための仮定です。自分のセッションで見た値に置き換えてください。フックで手直しが減るかどうかは、ご自身で測るものです。もう一つの構成の手直しの回数を、あえて同じ値から始めているのはそのためです。

The setup, as filesこの構成を、ファイルで

The Autonomous Harness & Telemetry Kit is the second setup as 36 working files installed with one command (Python 3; your Claude Code plan and any second AI tool are separate): a guard hook that refuses listed commands, a stop report, commit checks that use no AI, a relay to a second AI's command-line tool, and a local board. A free starter with one working hook is public.Autonomous Harness & Telemetry Kit は、もう一つの構成を、コマンド1つで導入できる36の実働ファイルにしたものです(Python 3。Claude Code の契約と、別のAIの道具は別です)。決めたコマンドを断るフック、止まる時の報告、AIを使わない commit の検査、別のAIのコマンドへの受け渡し、手元の稼働盤。フックが1つ動く無料のひな形も公開しています。

$149 Autonomous Harness$199 Sovereign BundleFree starter (MIT)無料のひな形(MIT) →File list and checksums同梱一覧とチェックサム →

Guide: a slim CLAUDE.md, hooks and a second CLI, step by stepガイド:スリムな CLAUDE.md・フック・別のCLIの分業を、手順で →

ZEUS LAB is an independent software verification and development studio. It is not affiliated with any payment processing company of a similar name, or with any other company or service.※ZEUS LAB は独立したソフトウェア検証・開発スタジオであり、同名の決済代行会社および他社サービスとは一切関係ありません。