fix(opencode): update test fixture DeepSeek pricing to match official rates - #31151
fix(opencode): update test fixture DeepSeek pricing to match official rates#31151licat2023 wants to merge 3 commits into
Conversation
… rates Updated models-api.json test fixture for DeepSeek models: - deepseek-v4-pro: input 1.74->0.435, output 3.48->0.87, cache_read 0.145->0.003625 - deepseek-v4-flash: cache_read 0.028->0.0028 - deepseek-chat: cache_read 0.028->0.0028 These match DeepSeek official pricing at https://api-docs.deepseek.com/quick_start/pricing
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #31150
Type of change
What does this PR do?
Updates the test fixture (\models-api.json) to correct the DeepSeek model pricing that was stale/outdated. The models.dev API currently serves incorrect pricing for DeepSeek V4 models, and this fixture snapshot had the same stale data.
Changes:
These values match DeepSeek's official pricing page:
The models.dev source TOML files for V4 models already have correct pricing. This fixture just needed to catch up. A companion PR at anomalyco/models.dev#2037 fixes the remaining deprecated aliases.
How did you verify your code works?
Screenshots / recordings
N/A - test fixture data change only.
Checklist