testsAndMisc/python_pkg/token_audit/prices.json
Krzysztof kuhy Rudnicki 3ac6a52fab
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Prettier-format AGENTS.md and token_audit prices.json
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-04 16:40:36 +02:00

28 lines
1.0 KiB
JSON

{
"_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.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
}
}
}