[Feature] Refresh DeepSeek default model names to the current generation

Author: zwrongCreated Sep 26, 2026Updated Sep 26, 2026
Labelsenhancement

Problem or Motivation

The shipped DeepSeek defaults still name the previous generation of the lineup:

Where Value on main today
agent/.env.example — uncommented, i.e. the shipped default deepseek/deepseek-v4-pro
agent/.env.example — direct-DeepSeek block deepseek-v4-pro
llm_providers.json — deepseek.default_model deepseek-v4-pro
llm_providers.json — openrouter.default_model deepseek/deepseek-v4-pro
vibe-trading init — DeepSeek suggestions deepseek-v4-pro, deepseek-v4-flash

DeepSeek's published model table now leads with deepseek-flash (= DeepSeek-V4.1-Flash) alongside deepseek-v4-pro (DeepSeek-V4-Pro-0813):

deepseek-flash deepseek-v4-pro
model version DeepSeek-V4.1-Flash DeepSeek-V4-Pro-0813
image understanding yes no
input, cache miss (idle / peak) ¥1 / ¥2 per M ¥4.5 / ¥9.0 per M
output (idle / peak) ¥4 / ¥8 per M ¥13.5 / ¥27 per M
concurrency 2500 500

(Context and max output are listed once for the table — 1M and 384K — so I read them as shared. Both models are marked as supporting tool calls.)

The docs also state that deepseek-v4-flash and deepseek-v4-flash-vision-exp are deprecated aliases whose models have been taken offline — requests are rerouted to V4.1-Flash and billed at Flash prices. The init wizard still suggests deepseek-v4-flash.

To be clear about what this is and is not: nothing is broken. deepseek-v4-pro still resolves on the direct API and deepseek/deepseek-v4-pro still resolves on OpenRouter (checked against https://openrouter.ai/api/v1/models). This is not a 404 default like #311 or #445 — which is precisely why I am opening this for discussion instead of sending a PR first and explaining afterwards.

Proposed Solution

  1. Direct DeepSeek: deepseek-v4-pro → deepseek-flash
  2. OpenRouter: deepseek/deepseek-v4-pro → deepseek/deepseek-v4.1-flash
  3. Wizard: default to deepseek-flash, and suggest deepseek-flash / deepseek-v4-pro in place of the deprecated deepseek-v4-flash
  4. All seven READMEs: the LANGCHAIN_MODEL_NAME example, the "Sweet spot" row, and the "ships with" sentence
  5. A regression test pinning agent/.env.example to the provider registry, plus the four providers EXPECTED_PROVIDER_DEFAULTS never covered (opencode, kimi-coding, ollama, copilot — 21 → 25)

The case for 1 and 2: README.md sells the DeepSeek entry as the cost-effective "Sweet spot" default, and Flash is 1/4.5 the input price, 1/3.4 the output price, with 5x the concurrency and image understanding.

The reason this is an issue and not a PR: I cannot support 1 and 2 with the evidence this repository actually cares about. The "Sweet spot" tier is defined as "reliable tool-calling at ~1/10 the cost", and price is not that argument. The model table says both models support tool calls, which says nothing about relative reliability on this agent's skill/backtest/swarm tool load. If deepseek-v4-pro was chosen deliberately for tool-calling reliability — or for the reasoning quality this repo's grounding gates depend on — that outweighs the price difference and I would drop 1 and 2 entirely. Maintainers know this; I do not.

Area

Other (provider defaults + documentation)

Alternatives Considered

  • Keep deepseek-v4-pro as the shipped default and only land items 3 and 5 below, plus the documentation bug in the next section. Smallest possible change, no product decision imposed. This is the option I would default to if the tier question is not interesting.
  • Document the new names without changing defaults — add deepseek-flash to the README's model table as the cheaper alternative to the shipped default.
  • Wait for deepseek-v4.1-pro, which has leaked with a claimed release window. It would make this decision moot, so it may be worth doing nothing until that lands.

One genuine bug found while checking this (independent of the above)

The sentence under the model table in all seven READMEs is inverted. It reads:

The default agent/.env.example ships with DeepSeek official API + deepseek-v4-pro; OpenRouter users can use deepseek/deepseek-v4-pro.

The uncommented — therefore shipped — block in agent/.env.example is the OpenRouter one (LANGCHAIN_PROVIDER=openrouter + LANGCHAIN_MODEL_NAME=deepseek/deepseek-v4-pro). The direct-DeepSeek block below it is entirely commented out. The sentence describes the file backwards in every locale. Worth fixing regardless of what happens to items 1 and 2.

Work available

A draft PR has the complete implementation of all five items: #1603 — deliberately left as a draft and not submitted, pending this discussion. Happy to narrow it to just the wizard alias, the README sentence and the registry test, or to close it and re-cut whatever subset is wanted.

Contribution

  • I'm willing to submit a PR for this feature