Codync
A free, open-source 1:1 alternative to Grok Bot and Muse. Message Claude Code, Codex, Cursor and 40+ coding agents as persistent bots from your iPhone, Mac or Linux desktop. Group chats, threads, appr
One command adds up the tokens in your Claude Code logs and prices them at Anthropic's API list prices: today, 7 days, 30 days, all time, by model.
Developer toolsJavaScriptGitHub @shurikenharnessOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
What your Claude Code use on this computer would cost at Anthropic's API list prices: today, 7 days, 30 days, all time, by model. Reads local logs only.
Taken from the repository README
Loading the full README.
Read the full README ↗What your Claude Code use on this computer would cost at Anthropic's API list prices: today, the last 7 and 30 days, all time, and by model, on one screen, in a second or two.
It is an API-equivalent estimate, not your bill: a Pro or Max plan has a fixed monthly price, so the number shows how much work went through it, priced as if you had paid per token.
Several accounts? Shuriken tracks them all → shuriken.sh
You need Node.js 18 or later. Each command downloads one file from this repository's v1.0.0 release, checks its SHA-256, and runs it only when the checksum matches.
macOS and Linux:
curl -fsSLo claude-code-spend.mjs https://github.com/shurikenharness/claude-code-spend/releases/download/v1.0.0/claude-code-spend.mjs && openssl dgst -sha256 -r claude-code-spend.mjs | grep -q ^b6622addf86963340de95beab21868a6165843290a8e8836d9b63bdfeae812ca && node claude-code-spend.mjs
Windows (PowerShell):
irm "https://github.com/shurikenharness/claude-code-spend/releases/download/v1.0.0/claude-code-spend.mjs" -OutFile claude-code-spend.mjs; if ((Get-FileHash claude-code-spend.mjs).Hash -eq 'b6622addf86963340de95beab21868a6165843290a8e8836d9b63bdfeae812ca') { node claude-code-spend.mjs } else { 'claude-code-spend.mjs does not match its SHA-256, so it was not run.' }
With npx (fetches this repository at the tag; no checksum step):
npx github:shurikenharness/claude-code-spend#v1.0.0
SHA-256 of claude-code-spend.mjs v1.0.0: b6622addf86963340de95beab21868a6165843290a8e8836d9b63bdfeae812ca
It is one file with no dependencies, so it is quick to read before you run it:
curl -fsSLo claude-code-spend.mjs https://github.com/shurikenharness/claude-code-spend/releases/download/v1.0.0/claude-code-spend.mjs
openssl dgst -sha256 -r claude-code-spend.mjs # b6622addf86963340de95beab21868a6165843290a8e8836d9b63bdfeae812ca
less claude-code-spend.mjs
node claude-code-spend.mjs
Made-up data from the tests:
Claude Code spend on this computer (API-equivalent estimate)
Read 3 transcript files (6 KB) in 0.1 s from ~/.claude
Cost Tokens Calls
Today $30.00 2.0M 1
Last 7 days $71.56 7.0M 3
Last 30 days $72.56 8.0M 4
All time $74.66* 10.2M 7
By model, all time Cost Input Output Cached Calls
claude-opus-4-6 $30.00 1.0M 1.0M 0 1
claude-opus-5-5 $23.56 1.0M 0 2.0M 1
claude-sonnet-4-5-20250929 $18.00 1.0M 1.0M 0 1
claude-sonnet-9 $2.00 1.0M 0 0 1
claude-haiku-4-5-20251001 $1.00 1.0M 0 0 1
claude-haiku-5-5 $0.10 200K 0 0 1
some-local-model no price 1.0M 0 0 1
* leaves out calls to models with no public list price.
Prices: Anthropic API list prices as of 2026-10-28, with cache reads and writes, fast mode,
US-only inference and web searches. Not your bill: a Pro or Max plan has a fixed monthly price.
Not in the price table, priced as their family's newest model: claude-sonnet-9.
Several accounts? Shuriken tracks them all → shuriken.sh
Options: --dir PATH (a Claude Code config folder or its projects folder; repeatable), --json, --version, --help.
~/.claude/projects/**/*.jsonl (or every folder in CLAUDE_CONFIG_DIR).One API request is written as several rows (one per content block); rows with the same message id and request id are one call. A resumed session's copied rows are counted once. The CLI's own <synthetic> rows, limit errors and progress rows are not calls.
Anthropic's API list prices: https://platform.claude.com/docs/en/about-claude/pricing. Cache writes cost 1.25x (5 minutes) and 2x (1 hour) the input price, cache reads their listed price, fast mode 2x on the models that have it, US-only inference 1.1x on Claude 4.6 and later, web searches $10 per 1,000. Haiku 5.5 requests with a prompt over 100,000 tokens pay its higher prices. A model newer than the table is priced as its family's newest (the output says so).
The table, its date (PRICES_AS_OF) and its sources (PRICE_SOURCES) are at the top of
claude-code-spend.mjs. A new price is a new release.
npm test
They run against made-up logs in test/fixtures.mjs, never a real home folder.