[Fix] DeepSeek V4 costs are underestimated after pricing changes - #1237
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
Author
|
Addressed in |
taltas
marked this pull request as ready for review
August 14, 2026 20:44
taltas
requested review from
JamesRobert20,
edelauna,
hannesrudolph,
navedmerchant and
taltas
as code owners
August 14, 2026 20:44
taltas
approved these changes
Aug 14, 2026
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.
What changed
Why this change was made
DeepSeek announced substantial peak/off-peak price increases after this PR was opened, and Baseten and Fireworks now expose the 0813 checkpoint separately from the earlier preview weights. The static estimator uses peak prices so it does not understate first-party costs, while provider-specific routes retain their own published prices.
Impact
Users get conservative first-party DeepSeek cost estimates and accurate route-specific metadata without conflating preview weights, the 0813 checkpoint, or OpenCode Go's discounted pricing.
Related PRs
Screenshots