You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix direct Anthropic Claude Sonnet 5.5 cache-read price #69071
gh-aw's model price catalogue prices cache reads for the direct Anthropic claude-sonnet-5-5
entry at $0.20 per million tokens. Anthropic charges $0.10. This overstates the cost of every
cached Sonnet 5.5 prompt token in gh-aw's cost estimates (gh aw audit, gh aw logs and run
footers) by 2x for workflows that use the Anthropic engine directly.
gh-aw github-copilot/claude-sonnet-5.5 (same model on Copilot)
$0.10
gh-aw anthropic/claude-sonnet-5-5
$0.20
The Copilot entry for the same model is already correct, and GitHub's Copilot models-and-pricing
page and the live Copilot /models billing data both give $0.10. Only the direct Anthropic entry
is wrong.
Proposed change
In both identical copies of the catalogue, actions/setup/js/models.json and pkg/cli/data/models.json, set providers.anthropic.models.claude-sonnet-5-5.cost.cache_read to 1e-07 (USD per token). Leave the other three prices ($2 input, $10 output, $2.50 cache write)
unchanged; they are correct.
This is a targeted edit rather than make refresh-models-json. models.dev already has the correct
value, so a later refresh keeps it, but a full refresh would also drop hand-added fields such as
the Grok wire_api from #62512.
Validation
Both copies of models.json stay byte-identical.
The existing model-cost tests still pass. If any test asserts this price, update it to $0.10.
Activity