Files
agent-skills/skills/week-review/scripts/pricing.json
T
Miguel Palhas 2022bbc881 feat(week-review): scan pi/opencode, report model, effort, cost
Scanner covered Claude Code only. It now also reads pi jsonl sessions, the
opencode sqlite store, and Codex (rollout files plus the sqlite thread index
as fallback), and records per-session model, effort level, token counts, tool
errors and cost.

Cost is reported natively by pi and opencode; Claude Code and Codex are
estimated from pricing.json and marked as such, since a subscription seat is
not billed those numbers.

New models.md output ranks (tool, model, effort) by spend with cost per human
turn and a push-back count, and SKILL.md step 4 says how to read it without
turning a regex into a verdict.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 21:45:48 +01:00

17 lines
879 B
JSON

{
"_note": "USD per million tokens. Anthropic rates from the claude-api skill (cached 2026-06-24); check them when a model is added or repriced. Used only for tools that do not report their own cost (Claude Code, Codex) — pi and opencode report real cost per message and are never estimated.",
"cache_write_multiplier": 1.25,
"cache_read_multiplier": 0.1,
"models": {
"claude-fable-5": {"input": 10.0, "output": 50.0},
"claude-mythos-5": {"input": 10.0, "output": 50.0},
"claude-opus-5": {"input": 5.0, "output": 25.0},
"claude-opus-4-8": {"input": 5.0, "output": 25.0},
"claude-opus-4-7": {"input": 5.0, "output": 25.0},
"claude-opus-4-6": {"input": 5.0, "output": 25.0},
"claude-sonnet-5": {"input": 3.0, "output": 15.0},
"claude-sonnet-4-6": {"input": 3.0, "output": 15.0},
"claude-haiku-4-5": {"input": 1.0, "output": 5.0}
}
}