The shipped deepseek-v4-flash catalog entry drops images for a backend that supports them #6700
luckystation-cmd
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
The provider has retired the
deepseek-v4-flashanddeepseek-v4-flash-vision-expmodel names: requests using either name are served by DeepSeek-V4.1-Flash and billed at the Flash price. V4.1-Flash supports vision. The shipped catalog still declaresdeepseek-v4-flashas text-only, so a user who selects that entry and attaches an image has the image replaced by deterministic text even though the backend that answers the request can see it.Evidence
Provider page
https://api-docs.deepseek.com/quick_start/pricing, model details:deepseek-flash→ DeepSeek-V4.1-Flash, 1M context, Vision ✓deepseek-flashas the model name. The legacy namesdeepseek-v4-flashanddeepseek-v4-flash-vision-expare still accepted, but the corresponding models have been retired, their requests are served by the DeepSeek-V4.1-Flash model and billed at the Flash price."Repository catalog,
packages/llm/llm-deepseek/src/index.ts:92-122:packages/llm/llm-deepseek/README.md:49states the intent: "Omittedmodelsadvertises the text- and image-capabledeepseek-flashanddeepseek-v4-flash-vision-expalongside the text-onlydeepseek-v4-flashanddeepseek-v4-pro."Impact
LlmRuntime.subjectsubstitutes an image the route cannot accept with deterministic text (projectImagesForTextModel→textOnlyImageText), andpackages/llm/llm-deepseek/src/request-pricing.ts:79prices the same substitution. A user ondeepseek-v4-flashgets a text placeholder where the served model would have read the image. The failure is invisible: nothing errors, the model simply answers from a description.deepseek-v4-flash,deepseek-v4-flash-vision-exp, anddeepseek-flashare now the same model at the same price, so the picker offers a meaningless choice and thedeepseek-v4-flashdescription ("Fast, efficient, and economical") implies a cheaper tier that does not exist.Proposal
Pick whichever the maintainers prefer; both are small:
deepseek-v4-flashinputModalities: ['text', 'image']plus the image budgets it is served with, and drop or alias the now-redundantdeepseek-v4-flash-vision-exp. This restores capability without changing what a user types.DEFAULT_MODELSso the picker offersdeepseek-flash(vision) anddeepseek-v4-pro(text-only) only. The ids still pass through to the wire, so an explicitmodelslist keeps working for anyone who needs them.Either way,
deepseek-v4-flash's description should stop implying a cheaper tier, and the README's paragraph at line 49 should match the new catalog.Acceptance criteria
deepseek-v4-flash(or whatever the catalog keeps) and attaching an image sends the image, not a text substitution — or the id is no longer offered as a selectable entry.packages/llm/llm-deepseek/README.md:49and the catalog agree.All reactions