Files
agent-skills/skills/week-review/scripts/pricing.json
T
Miguel Palhas ab48785254
ci / nix (pull_request) Successful in 9s
ci / lint (pull_request) Failing after 14s
feat(week-review): price the gpt-5.6, Kimi and GLM models
Unpriced models counted as zero, so every codex row read as free and the
tool comparison was wrong. Rates are the providers' published ones; the
sol row reproduces a pi-reported total to the cent, which also confirms
the 0.1 cache-read multiplier applies to OpenAI.

GLM-4.7-Flash has no published per-token rate and stays out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-28 17:18:50 +01:00

23 lines
1.4 KiB
JSON

{
"_note": "USD per million tokens. Anthropic rates from the claude-api skill (cached 2026-06-24); OpenAI and open-weight rates cached 2026-08-28. 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.",
"_check": "The gpt-5.6-sol row reproduces a pi-reported total to the cent (411369 in, 38462 out, 8897536 cache read = $7.6595), which also confirms the 0.1 cache-read multiplier for OpenAI.",
"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},
"gpt-5.6-sol": {"input": 5.0, "output": 30.0},
"gpt-5.6-terra": {"input": 2.0, "output": 12.0},
"gpt-5.6-luna": {"input": 0.2, "output": 1.2},
"hf:moonshotai/Kimi-K3": {"input": 3.0, "output": 15.0},
"hf:zai-org/GLM-5.2": {"input": 1.4, "output": 4.4}
}
}