testsAndMisc/python_pkg/token_audit/prices.json

13 lines
983 B
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.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}
}
}