Fetching from the wire…
Public story · 2026-09-12 · high
The tool parses session files Claude Code, Codex and Gemini already write on disk, matching tokens to dollars without asking any API for usage data.
Why now: The project went up on GitHub September 7 and had reached 481 stars by the September 12 count.
tokentab reads the session logs three coding harnesses already write to disk and turns them into a cost statement. It parses ~/.claude/projects/**/*.jsonl, ~/.codex/sessions/**/rollout-*.jsonl and ~/.gemini/tmp/**/session-*.json, with partial support for Cursor. No API calls, no new credentials. The tool was created September 7 and sat at 481 stars as of September 12.
The token counts come straight from the logs, not an estimate. Pricing is a hand-maintained table in tokentab/pricing/prices.py, dollars per million tokens per model. Model names get fuzzy-matched, so a dated string like claude-opus-4-6-20260514 resolves to the base model claude-opus-4-6 without the maintainer having to hardcode every release tag. Cached tokens get deducted from the total so they don't show up twice in the bill, which matters if you're running long sessions where most of the context is cache reads.
Output comes in three shapes: a terminal table for a quick check, JSON for scripting, or a monthly statement at localhost:4747 if you run it with -web.
If you're paying for Claude Code, Codex, and Gemini sessions across multiple projects, there's no single vendor view that adds those up. tokentab is a workaround built from the fact that all three tools already log everything needed to reconstruct that number locally. It doesn't cover Cursor fully yet, and a hand-maintained pricing table means it lags whenever a vendor changes rates until someone updates the file. A stale price in that table is a silently wrong invoice, and the repo doesn't say how often the maintainer refreshes it.
Each link below shares sources, entities, or timing with this story.
A single Rust binary is saving agentic coding users 60-90% on token costs, and it took about five minutes to set up. RTK (Rust Token Killer) released v0.37.1 on April 18 and sits at 30,500 GitHub stars. The tool acts as a CLI proxy between your AI coding assistant and shell co...
JuliusBrussee/caveman hit 54,000+ GitHub stars in under three weeks and topped Hacker News. The repo is exactly what it sounds like: a skill that strips agent verbosity, kills the "I'd be happy to help" preamble, and makes Claude answer in terse, near-grunt prose while keeping...
A CLI proxy that compresses terminal output before it hits your agent's context window. That's it. That's the whole product. And it's at 39,000 GitHub stars because it solves a problem every single person using Claude Code, Cursor, Codex, or Aider hits daily: your context fill...
Triple-stream retrieval (BM25 keyword, vector embeddings, knowledge-graph traversal) fused via Reciprocal Rank Fusion on the iii engine, with SQLite for state and an in-memory vector index, no external database. The economic claim: ~170K tokens/year (~$10) versus ~650K tokens...
Warp released its client codebase under AGPL-3.0, surged to 56,000 GitHub stars and #2 on GitHub Trending. But the real story isn't the open-sourcing. It's the repositioning. Warp isn't calling itself a terminal anymore. It's an "agentic development environment." The product n...
Microsoft Threat Intelligence disclosed ChainDrop on August 4: a self-propagating npm worm that poisoned 444 packages across 2,212 versions in under four hours, starting from [redacted] at 150M weekly downloads, plus flat-cache and file-entry-cache. Corroborated by Unit 42, St...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.