Repository navigation
Thoth v0.2.0
Thoth v0.2.0
Highlights
- Universal app. One download runs natively on Apple silicon and Intel Macs.
- Official prices, Claude 5 included. The built-in rate card now follows
Anthropic's API list prices (checked 2026-10-23) for Fable/Mythos 5 and 5.1,
Opus 4 to 5.5, Sonnet 4 to 5.5 and Haiku 3.5, 4.5 and 5.5, with separate
5-minute and 1-hour cache-write rates and the Haiku 5.5 long-prompt tier. - Each response counted once. Cost, tokens and calls are no longer
inflated by Claude Code's one-line-per-content-block logs. - Much faster scans. A cold scan of a large history drops from about 27 s
to under 2 s.
Fixes
- Claude Code repeats the same
message.idand usage on every content block
(thinking, text, tool use). Thoth summed all of them, inflating cost, tokens
and calls by about 1.9x on a real history. Each response is now counted once,
and the activity breakdown classifies a response by the tools on all of its
lines. - Every
claude-opus-4*model (4.5 to 4.8) was charged at Opus 4 rates
($15/$75 per MTok), about 3x the official $5/$25.claude-haiku-4*used
Haiku 3.5 rates instead of $1/$5. - Claude 5 model ids matched no price and showed as $0. Model ids are now
parsed into family and version; a version newer than the table uses the
closest known version of its family. - Incremental reads (today summary, active-session poll) skipped a line that
was still being written, losing that response for the day. - Sessions in folders with spaces, dots or underscores never updated live or
fed the burn rate. - "7 Days" and "15 Days" covered 8 and 16 calendar days; they now count today
as day one, like the 30-day window. The month-end projection no longer drops
day 1 on the 31st. - Thread-safety fixes in the background scan state.
Performance
Synthetic benchmark (600 files, 946 MB, 240k responses; Apple M4, release build):
| Scan | v0.1.2 | v0.2.0 |
|---|---|---|
| Full scan, cold | 26.9 s | 1.83 s |
| Full scan, 10 files grew | 530 ms | 64 ms |
| Today summary, cold | 2.59 s | 0.51 s |
| Today summary, append | 415 ms | 101 ms |
| Full scan, warm | 34 ms | 34 ms |
With four 118 MB files, the cold scan goes from 13.5 s to 0.93 s and the scan's
extra memory from +190 MB to +32 MB.
How: only lines that carry usage are JSON-decoded, files are read in 4 MB
chunks, timestamps are parsed directly, and changed files are parsed in
parallel on a cold start. Reproduce with
THOTH_BENCH=1 swift test -c release -Xswiftc -enable-testing --filter ScanBenchmark.
Compatibility
- Universal binary (
arm64+x86_64): runs natively on Macs with Apple
silicon and on Intel-based Macs, with no need for Rosetta. In Finder's Get
Info it shows as made for both a Mac with Apple silicon and a Mac with an
Intel processor (see Apple: If you need to install Rosetta on your
Mac). v0.1.x was Apple silicon only. - Requires macOS 14 Sonoma or later.
- Still not notarised: on first launch, allow it in System Settings >
Privacy & Security > Open Anyway (macOS 15+) or right-click > Open
(macOS 14). See the README.
Upgrade notes
- Costs shown will be lower than in v0.1.x. Responses are no longer
counted about twice, and Opus 4.5 to 4.8 usage is priced at the official
rates (about a third of what v0.1.x used). Your history did not change; the old
numbers were overstated. Usage of models v0.1.x didn't recognise (Claude 5)
now has a cost instead of $0, and Haiku 4.x is slightly higher. - Costs are API-equivalent estimates, not what a Claude subscription bills you.
- "7 Days" and "15 Days" are now exactly 7 and 15 days, including today.
- Replace the old app: quit Thoth, drag the new
Thoth.appto
/Applicationsand confirm the replacement.