Repository navigation
AgentMenu 1.6.0
Costs are correct again after the new Claude and GPT models shipped. This release is almost entirely about getting the dollar figures right.
How wrong it was
Measured before the fix, against an independent calculator written from the official price lists:
| app showed | correct | |
|---|---|---|
| Claude, 7 days | $725.10 | $1,425.71 |
| Claude, today | $36.92 | $242.58 — 6.6× low |
| Codex, 7 days | $0.37 | $13.53 |
It was wrong in both directions at once: whole sessions vanished from the totals while the sessions that were priced were priced too high. That's why it read as random rather than merely high or low.
After the fix the app and the calculator agree to the cent — $1,439.00 vs $1,439.02 — and no session shows "—".
What was wrong
Every session was priced at the model of its last message. A session's entire lifetime got billed at whichever model spoke most recently. Switch from Opus 5 to Opus 5.5 with /model and every earlier message was re-priced as Opus 5.5 — and since Opus 5.5 had no entry yet, the whole session showed "—" and dropped out of every total. One session lost ~$590 this way. Each message is now priced at the model that actually produced it, on both Claude and Codex.
Codex billed every cache write twice. Codex counts cache writes inside input_tokens, the same way it already counts cached reads, but only the reads were being subtracted. So written tokens were charged once as input and again as writes, on 96.5% of requests. This was checked against all 1,675 real token records rather than assumed, and an existing test that had locked the double-count in has been corrected.
Codex lifetime cost shrank after every restart. It was summed from a request log that gets trimmed to about a day whenever the app saves its state.
Prices
From Anthropic's pricing page and OpenAI's pricing page, fetched 2026-09-27:
- Claude Opus 5.5 added — $4/$20. Its cache reads are $0.20, which is 5% of input rather than the usual 10%; since cache reads are by far the largest bucket, getting this ratio wrong would double the biggest line of the bill.
- Claude Fable 5.1 / Mythos 5.1 added — cache reads are 2.5% of input.
- Claude Sonnet 5 corrected from $3/$15 to $2/$10. That was announced as introductory pricing, but the planned increase was cancelled and it's now the standard price.
- GPT-6 Astra, Sol and Luna added.
- GPT-5.6 Sol corrected from $5/$30 to $4/$20. OpenAI describes this as promotional, available "at least through November 21, 2026".
- GPT-5.5 — removed a cache-write charge OpenAI doesn't actually bill.
Three pricing dimensions the table couldn't express before are now handled: 1-hour cache writes (2× input, separate from the 1.25× five-minute rate), fast mode (2×), and US-only inference (+10%). Where a model doesn't offer one of these, that usage is left unpriced rather than quietly billed at standard rates.
When the next model comes out
A session that uses a model the price table doesn't know yet now shows what it can price, with a trailing + — $12.30+ means "at least this much" — instead of the entire session disappearing. The TODAY total gets its * marker. Adding the model to pricing.json fills in the rest; the file now records at the top where each price came from and when.
Also fixed: the build on macOS 27
- macOS 27's SDK needs full Xcode to compile SwiftUI, so builds with only Command Line Tools failed. The Makefile now uses the 26.5 SDK automatically.
- Swift 6.4 moved where build output goes, which made the Intel half of the universal binary silently overwrite the Apple Silicon half. The build now produces the universal binary in one step.
Worth knowing
- Expect one slower launch. Saved state from earlier versions holds the wrongly priced history, so it's discarded and your transcripts are re-read once.
- Codex doesn't record which service tier a request used, so all Codex usage is priced as standard tier. Flex and Batch (50% off) or regional processing (+10%) would be slightly misstated.
293 tests pass, 25 of them new. The test for the bundled price file now checks every individual rate against the official lists, not just that each model is present — which is how the wrong Sonnet price went unnoticed for a month.
Install: download AgentMenu-1.6.0.dmg, open it, and drag the app to Applications. It's ad-hoc signed and not notarised, so macOS blocks the first launch — the README covers three ways past that.