fix(models): update deepseek-v4-flash and pro max tokens to 384k - #32107
fix(models): update deepseek-v4-flash and pro max tokens to 384k#32107wricheek84 wants to merge 5 commits into
Conversation
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
Greptile SummaryThis PR corrects stale token limits for the native DeepSeek V4 Flash and V4 Pro model entries, where both
Confidence Score: 5/5Safe to merge — the change is a pure data correction to two JSON config files with no code logic impact. The corrected values (384k max output, 1M total context) are confirmed by DeepSeek's API documentation and already appear correctly in the azure_ai and fireworks_ai provider variants of the same models. Both JSON files are updated consistently, all four affected entries are addressed, and the PR includes a local verification screenshot. No other deepseek-v4 entries were incorrectly left at 8192. No files require special attention.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Corrects max_output_tokens (8192→384000) and max_tokens (8192→1000000) for four deepseek-v4-flash and deepseek-v4-pro entries. Values confirmed accurate against DeepSeek API documentation. |
| litellm/model_prices_and_context_window_backup.json | Mirror of changes in model_prices_and_context_window.json — same four entries corrected, kept in sync with the primary file. |
Reviews (1): Last reviewed commit: "bugfix(models): update deepseek-v4-flash..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
9ae49bb to
064aa9b
Compare
|
The base branch already contains this change (verified against the official provider docs); registry consolidation is tracked in the rolling PR #38990. Closing as superseded. |
Relevant issues
Fixes #32046
Pre-Submission checklist
Screenshots / Proof of Fix
Verified locally that the updated values parse correctly:
Type
🐛 Bug Fix
Changes
deepseek/deepseek-v4-flashanddeepseek/deepseek-v4-protoken limits inmodel_prices_and_context_window.jsonto properly total context and 384k max output based on API docs.litellm/model_prices_and_context_window_backup.jsonto match.