From 3ac6a52fab83dd325cb68bbb035d49f05cd65b9b Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 4 Oct 2026 16:40:36 +0200 Subject: [PATCH] Prettier-format AGENTS.md and token_audit prices.json Co-Authored-By: Claude Opus 5 (1M context) --- AGENTS.md | 2 +- python_pkg/token_audit/prices.json | 27 +++++++++++++++++++++------ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index ad3d538d..05add1cc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -84,7 +84,7 @@ hooks travel with the repo. `.git/hooks/` is unused — **never run files, and pytest for changed packages — but **not on the push's critical path**. The push spawns a detached, niced worker and returns in well under a second; the worker records a verdict for the tree it checked. A recorded - failure refuses the *next* push until the tree is verified in the foreground + failure refuses the _next_ push until the tree is verified in the foreground with `CI_MIRROR_SYNC=1 git push`, so a broken tree reaches GitHub at most once. A tree that already passed costs nothing to re-push. `prettier` caches its verdict per file content + prettier version + config, diff --git a/python_pkg/token_audit/prices.json b/python_pkg/token_audit/prices.json index 587afc31..edc4a984 100644 --- a/python_pkg/token_audit/prices.json +++ b/python_pkg/token_audit/prices.json @@ -2,11 +2,26 @@ "_source": "claude-api skill model table (cached 2026-09-25), read 2026-10-04. USD per million tokens. Cache writes are priced as multiples of input: 5m = 1.25x, 1h = 2x (verified 2026-10-04: a claude -p probe's total_cost_usd matched opus-5-5 at 2x for its 1h write to 7 digits). Entries marked assumed_cache_read use the standard 0.1x-of-input ratio because the table does not list them.", "default": "claude-opus-5-5", "models": { - "claude-fable-5-1": {"input": 10.0, "output": 50.0, "cache_read": 0.25}, - "claude-opus-5-5": {"input": 4.0, "output": 20.0, "cache_read": 0.20}, - "claude-opus-5": {"input": 5.0, "output": 25.0, "cache_read": 0.50, "assumed_cache_read": true}, - "claude-sonnet-5-5": {"input": 2.0, "output": 10.0, "cache_read": 0.20}, - "claude-sonnet-5": {"input": 2.0, "output": 10.0, "cache_read": 0.20, "assumed_cache_read": true}, - "claude-haiku-4-5": {"input": 1.0, "output": 5.0, "cache_read": 0.10, "assumed_cache_read": true} + "claude-fable-5-1": { "input": 10.0, "output": 50.0, "cache_read": 0.25 }, + "claude-opus-5-5": { "input": 4.0, "output": 20.0, "cache_read": 0.2 }, + "claude-opus-5": { + "input": 5.0, + "output": 25.0, + "cache_read": 0.5, + "assumed_cache_read": true + }, + "claude-sonnet-5-5": { "input": 2.0, "output": 10.0, "cache_read": 0.2 }, + "claude-sonnet-5": { + "input": 2.0, + "output": 10.0, + "cache_read": 0.2, + "assumed_cache_read": true + }, + "claude-haiku-4-5": { + "input": 1.0, + "output": 5.0, + "cache_read": 0.1, + "assumed_cache_read": true + } } }