Repository navigation
fix(opencode): rotate Zen free DeepSeek id to v4.1 - #17044
Merged
diegosouzapw merged 1 commit intoOct 18, 2026
Merged
diegosouzapw merged 1 commit into
diegosouzapw merged 1 commit into
Conversation
OpenCode Zen delisted deepseek-v4-flash-free; the upstream catalog now serves deepseek-v4.1-flash-free and answers the old id with 400 "Model is unavailable". The static opencode-zen registry still advertised the dead id, so pinned clients kept selecting it. Register v4.1 as the catalog row, keep the old id as a registry alias, and add a built-in deprecation forward so existing clients are rewritten before dispatch. Include registry aliases in the provider inference index: without that, removing the standalone row made a bare legacy id infer apmix (the only remaining catalog that still lists it) instead of OpenCode. Tests cover the forward, the registry row/alias, the free-model catalog, and the existing bare-id routing path.
diegosouzapw
merged commit Oct 18, 2026
af8f1c6
into
cheaper-inference:release/v3.8.52
3 checks passed
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.
Summary
OpenCode Zen delisted
deepseek-v4-flash-free. The upstream catalog now servesdeepseek-v4.1-flash-freeand answers the old id with:The static
opencode-zenregistry still advertised the dead id, so/v1/modelskept exposing it and pinned clients kept selecting it.Changes
deepseek-v4.1-flash-freein the OpenCode Zen catalog withdeepseek-v4-flash-freeas a compatibility alias.deepseek-v4-flash-free→deepseek-v4.1-flash-free) so existing clients are rewritten before dispatch.MODEL_TO_PROVIDERSinference index. Without this, removing the standalone row made a bare legacy id inferapmix— the only remaining catalog that still lists it — instead of OpenCode.json_schemafallback, benchmark list, and affected tests.Verification
model-deprecation*,opencode-free-tier-request-contract,opencode-free-removal-keyed-preservation-16310,opencode-zen-go-shared-models,opencode-executor,opencode-free-tier-routing-shortcircuit-10571: pass.opencode*unit files: 1056 pass, 1 environment-only failure (prepublish-opencode-plugin-build-skipneeds a builtdist/, not produced in this checkout).check-open-sse-typecheck: 0 errors.Upstream catalog checked 2026-10-18:
deepseek-v4.1-flash-freeis present;deepseek-v4-flash-freeis not.