fix(pricing): add missing deepseek-v4-flash-0731 entries for fireworks_ai - #36254
Closed
Aeriqu wants to merge 1 commit into
Closed
Conversation
Contributor
Greptile SummaryAdds full and short Fireworks AI pricing-map entries for
Confidence Score: 5/5The PR appears safe to merge with no concrete correctness, security, or compatibility issues identified. The primary and backup maps contain matching entries, and the local tests validate exact pricing, limits, capabilities, and equality between the full and short model names.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds synchronized full- and short-form Fireworks pricing entries with consistent rates, limits, and capability metadata. |
| litellm/model_prices_and_context_window_backup.json | Mirrors the new primary cost-map entries without a detected discrepancy. |
| tests/test_litellm/test_utils.py | Extends existing local parameterized checks to validate the new model metadata and alias equality in both cost maps. |
Reviews (1): Last reviewed commit: "fix(pricing): add missing deepseek-v4-fl..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
6 tasks
Contributor
|
Superseded by #38990: both deepseek-v4-flash-0731 twins now carry the published Fireworks rates with pinned-price and twin-consistency tests. |
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.
TLDR
Problem this solves:
How it solves it:
User Flow
Before: a developer sending requests to deepseek-v4-flash-0731 gets 0 cost calculated, so their dashboard logs $0 spend
"model": "fireworks_ai/accounts/fireworks/models/deepseek-v4-flash-0731"After: the same request calculates real token spend based on Fireworks serverless rates
"model": "fireworks_ai/accounts/fireworks/models/deepseek-v4-flash-0731"Relevant issues
Linear ticket
Pre-Submission checklist
Screenshots / Proof of Fix
Pricing source documentation links:
Before (commit
1bafdb3c934fcfdb9a81501755e048a40c0ce81f):Command run:
Output:
After (commit
35e1820c7dcaeec818a02848f97b303f6fc54d70):Command run:
Output:
Command run with prompt caching:
Output:
Type
🐛 Bug Fix
Changes
Added deepseek-v4-flash-0731 entries to model_prices_and_context_window.json, litellm/model_prices_and_context_window_backup.json, and tests/test_litellm/test_utils.py
Final Attestation