Repository navigation
fix(opencode): lower Claude Sonnet 5.5 cache read to $0.10 to match Anthropic - #13175
Merged
Merged
Conversation
Contributor
|
No actionable findings. |
2 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenCode Zen still prices Claude Sonnet 5.5 cache reads at $0.20/MTok. Anthropic halved them to $0.10/MTok on 2026-10-07, and
providers/anthropic/models/claude-sonnet-5-5.tomlwas updated the same day in #9035, but the Zen entry kept the launch price. Zen passes provider prices through at cost, so this sets Zen's cache-read price to $0.10.Changes
providers/opencode/models/claude-sonnet-5-5.toml:[cost.text.input] cache.read0.2→0.1, plus a header comment citing the source. Input, output and cache write are unchanged.Sources
Validation
bun validatepasses.bun run v1:checkreports one v1 change, the intended price fix:As a sourced price fix inside the v1 schema, this needs maintainer approval.
Notes
providers/opencodewith itsproviders/anthropicprice in the liveapi.json. Sonnet 5.5 is the only one that differs.services/site/src/docs/content/console/models.mdx) also lists $0.20 and needs a matching update.