feat(greenpt): add DeepSeek V4.1 Flash - #6860
Open
robertkeus wants to merge 1 commit into
Open
Conversation
Contributor
|
No actionable findings. |
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.
GreenPT now exposes
deepseek-v4.1-flash, but its models.dev catalog does not list it. Add the provider entry so clients can discover it, following the GreenPT additions in #6618.Inherit shared metadata from
deepseek/deepseek-v4.1-flash, including text/image input, tool calling, 1M context and 384,000 maximum output tokens. Set GreenPT's documentedreasoning_effortvalues:none,minimal,low,medium,high.Convert GreenPT's EUR customer prices to USD per million tokens at the ECB's 2026-09-10 rate of 1.1616 USD/EUR:
Cache writes are not charged; omit that field, matching existing GreenPT entries. The existing
deepseek-v4-flash-0731remains a separate model with its own prices.Validation:
npm run --silent validatepasses.npm testinpackages/sdkpasses generation, typechecking and all 23 tests. Resolved-data assertions verify prices, reasoning controls, modalities and inherited limits. GreenPT grows from 39 to 40 models; every existing resolved catalog entry remains identical. Production inference and the inherited maximum output limit were not tested.Sources: