Skip to content

feat(guardrails): add DeepSeek V4.1 Flash, retire V4 ids - #337

Merged
terisuke merged 1 commit into
devfrom
deepseek-flash-models
Sep 12, 2026
Merged

terisuke merged 1 commit into
devfrom
deepseek-flash-models

Conversation

@terisuke

Copy link
Copy Markdown

Stacks on #336 (upstream merge, merged). Branch is based on the upstream-merge content; diff vs current dev is exactly the DeepSeek admission change.

Summary

DeepSeek's 2026-09-10 announcement: deepseek-flash (V4.1-Flash) live on the API with native multimodal input; deepseek-v4-flash / deepseek-v4-flash-vision-exp retired; deepseek-v4-pro phased out (from 2026-09-14 04:00 UTC it routes to V4.1-Flash at V4.1-Flash rates — Pro-labeled billing for Flash behavior).

  • DeepSeek admission (both config copies, paid set, catalog snapshot): now deepseek-chat, deepseek-flash, deepseek-reasoner. The three retired V4 ids removed from all three copies together (sync check requires snapshot ⊆ whitelist).
  • Snapshot refreshed from live catalog (2026-09-12): openai gpt-6-astra + 22 openrouter models added per add-only policy.
  • .opencode/opencode.jsonc project model rows updated.
  • cor-local's deepseek-v4-flash-0731 is the Mac Studio llama-server GGUF name — untouched.

H5-E2E: python3 scripts/sync-model-whitelist.py && (cd packages/guardrails && bun test profile/plugins)
H5-E2E-OUT: ok whitelist covers the catalog snapshot in all three copies; 79 pass / 0 fail, 142 expect() calls across 7 files [1.72s]
H5-SUBTRACTION: N/A
H5-PAIR: N/A

DeepSeek's 2026-09-10 announcement (deepseek.com/en/news/
deepseek-v4-1-flash): deepseek-flash (V4.1-Flash, 552B MoE, 1M ctx /
384k out, native image input) is live on the API; deepseek-v4-flash
and deepseek-v4-flash-vision-exp are retired (temp-routing to
V4.1-Flash) and deepseek-v4-pro is phased out — from 2026-09-14 04:00
UTC all deepseek-v4-pro requests route to V4.1-Flash at V4.1-Flash
rates, i.e. Pro-labeled billing for Flash behavior.

- whitelist (both copies) + paid set + catalog snapshot now admit
  deepseek-chat, deepseek-flash, deepseek-reasoner; the three retired
  V4 ids are removed from all three copies together (the sync check
  requires snapshot ⊆ whitelist, so they move as a set)
- snapshot refreshed from the live catalog (models.opencode.ai,
  2026-09-12): also adds openai gpt-6-astra and 22 new openrouter
  models per the add-only policy; one openrouter granite id that left
  the catalog stays whitelisted (add-only protects catalog-unlisted
  routes)
- project .opencode/opencode.jsonc model rows: v4-flash/v4-pro →
  deepseek-flash
- cor-local's deepseek-v4-flash-0731 is the Mac Studio llama-server
  GGUF name, not an API id — untouched

Agent-Lane: opencode
@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@terisuke
terisuke merged commit 1237acf into dev Sep 12, 2026
10 checks passed
@terisuke
terisuke deleted the deepseek-flash-models branch September 12, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant