Skip to content

agentacct 0.12.9

Choose a tag to compare

@mikehasa mikehasa released this 30 Sep 14:00
26c01a9

Codex's gpt-6.1-sol usage rows are priced instead of importing cost-unknown. Nothing else changed.

macOS app (no Python, pipx, or terminal needed): agentacct-0.12.9.dmg — signed, notarized, and stapled, built from this release's own commit. The app embeds the frozen agentacct CLI, so the DMG is rebuilt here even though no Swift file changed: the fix lives in the CLI, and reusing the 0.12.8 DMG would have shipped the old price table and silently dropped it.

CLI: pipx install agentacct==0.12.9 (or uv tool install agentacct==0.12.9).

What changed since 0.12.8:

  • gpt-6.1-sol has a price row. Codex was reporting this model while neither the builtin price table nor the local LiteLLM snapshot carried it, so those rows imported cost_confidence: unknown — and a later scan only reprices what a catalog row now covers, so they stayed that way. The builtin table now carries the published list rates on both routes a codex row can report, the client's own codex key and OpenAI's openai key: $2/1M in, $10/1M out, $0.10/1M cache read, $2.50/1M cache write. No multiplier — the 2.5x ccusage fast-pricing convention stays scoped to gpt-5.5, so the two routes price identically rather than one of them silently carrying a convention.

  • Both keys mean it prices immediately. Exact-key lookup answers for the codex route instead of waiting on the snapshot's TTL refresh to alias it onto OpenAI's row, and if a snapshot does carry the model the dollars agree.

  • Coverage stays per model. A sibling id no row carries (gpt-6.1-sol-pro) remains cost-unknown rather than borrowing this row's price.

  • Rows already in your ledger are repaired by a command, not by upgrading. Prices are estimated from local token counts (cost_basis: pricing_table), never provider billing:

    agentacct usage import-local --refresh --estimate-costs
    

    The watcher path does the same on its scans once it is running the new importer. Verified on a copy of a real ledger with no pricing snapshot at all (builtin table only, no network): 11/11 gpt-6.1-sol rows repriced, $6.528786 total, pricing_source: agent_sentinel_builtin.

Asset verification: agentacct-0.12.9.dmg — 37,059,269 bytes, sha256 6eb8202358b7b9adfcfae901a6b1afac8a42a39a05d35eebc22541d93d7b6025, built from 26c01a9dc089895821a74600100d897c9b920985; the mounted app reports agentacct 0.12.9 (26c01a9dc089895821a74600100d897c9b920985) and spctl accepts it as Notarized Developer ID from Developer ID Application: Yuxuan Hu (L7656X6G3Q).