Skip to content

[FEATURE]: Expose served model checkpoint in Go/Zen model metadata (DeepSeek V4.1 Flash 1017 case) #56362

Closed as duplicate

Description

@Mizelan
  • I have verified this feature I'm about to request hasn't been suggested before.

What I want

  1. A served-checkpoint field in the Go/Zen model metadata (/v1/models, and ideally a response header) for models that ship named checkpoints.
  2. Confirmation of whether deepseek-v4.1-flash on Go/Zen now resolves to DeepSeek V4.1-Flash-1017.

/v1/models currently returns only id / object / created / owned_by. The response body carries no build or checkpoint identity, so a subscriber cannot verify which weights are billed.

Why

DeepSeek upgraded V4.1 Flash to the 1017 checkpoint on 2026-10-17 under the unchanged API name (deepseek-flash on their side). The Go model id is still deepseek-v4.1-flash, and none of the exposed upstream identifiers name the October build. This is the same transparency gap raised in #39823 and #40409.

Self-identification is not usable as a probe here. Asking the served model for its checkpoint returns "unsure", and the probes in #40409 were retracted because the same answer came from DeepSeek's own first-party endpoint. Metadata is the only reliable path.

Evidence

Model list on both Go endpoints (2026-10-17):

$ curl -s https://opencode.ai/inference/go/v1/models -H "Authorization: Bearer $KEY" | jq -r '.data[].id' | grep deepseek
deepseek-v4.1-flash
deepseek-v4-pro

Authenticated chat request. The response headers expose the backend and upstream model id:

$ curl -sS https://opencode.ai/zen/go/v1/chat/completions \
    -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
    -H "x-opencode-session: $SID" \
    -d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"hi"}],"max_tokens":4}' -D -
x-opencode-endpoint-id: orcarouter-dsv4.1flash
x-opencode-upstream-model-id: deepseek/deepseek-v4.1-flash
x-zen-model: deepseek-v4.1-flash

Routing pool over 22 sampled requests on 2026-10-17:

x-opencode-endpoint-id x-opencode-upstream-model-id Samples
orcarouter-dsv4.1flash deepseek/deepseek-v4.1-flash 17
luminal-dsv4.1flash deepseek-ai/DeepSeek-V4.1-Flash 5
manhattan-project deepseek-v4.1-flash 1 (error response)

No 1017 string appears in any header or body. A request for deepseek-v4.1-flash-1017 returns 400 {"error":{"type":"server_error","message":"Upstream request failed: Model is unavailable."}}.

The named upstream ids still refer to the September build:

  • https://api.orcarouter.ai/v1/models lists deepseek/deepseek-v4.1-flash with a description naming the September 10, 2026 release and its September benchmarks. No -1017 id exists there.
  • OpenRouter has both slugs side by side. deepseek/deepseek-v4.1-flash → canonical_slug: deepseek/deepseek-v4.1-flash-20260910, hugging_face_id: deepseek-ai/DeepSeek-V4.1-Flash. deepseek/deepseek-v4.1-flash-1017 → canonical_slug: deepseek/deepseek-v4.1-flash-20261017, hugging_face_id: deepseek-ai/DeepSeek-V4.1-Flash-1017, provider DeepSeek.
  • Hugging Face: deepseek-ai/DeepSeek-V4.1-Flash was created 2026-09-10 and its weight files are unchanged. deepseek-ai/DeepSeek-V4.1-Flash-1017 was created 2026-10-17T02:40Z.

I cannot prove from outside whether the September build or the 1017 build is served. A live alias at any backend would make the answer 1017, and the raw weights are not observable.

Request

  1. Add the served checkpoint to /v1/models, as a field such as checkpoint or version. An x-opencode-model-version response header works too.
  2. State whether deepseek-v4.1-flash now resolves to 1017 on Go/Zen, and if not yet, the expected timeline.
  3. If 1017 is not live, state which build is currently served under the same id and price.

Activity

  1. opencode-agent commented on Oct 17, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed write-up. I think this is a duplicate of #41969, which is still open. It asks for the exact checkpoint each Go/Zen model serves to be published and exposed in model metadata or the API, so it can be checked with a simple request. Your DeepSeek V4.1 Flash 1017 case is a good new example of that problem, and adding it to #41969 would help.

    Possible duplicates and related issues, most likely first:

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your request is different.

  2. Mizelan commented on Oct 17, 2026

    @Mizelan
    Author

    Decisive datapoint added after filing. DeepSeek's own pricing page now lists the model version for the deepseek-flash model name:

    MODEL MODEL VERSION
    deepseek-flash DeepSeek-V4.1-Flash-1017

    The same page states that the retired legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp are served by DeepSeek-V4.1-Flash-1017 and billed at the Flash price. Source: https://api-docs.deepseek.com/quick_start/pricing

    Providers that publish a distinct 1017 model id, and so are verifiable from outside:

    • OpenRouter: deepseek/deepseek-v4.1-flash-1017, served by provider DeepSeek
    • Vercel AI Gateway: deepseek/deepseek-v4.1-flash-1017
    • Kilo gateway: deepseek/deepseek-v4.1-flash-1017

    Go/Zen exposes only deepseek-v4.1-flash, and its upstream headers still name September-era identifiers. This is what item 2 of the request is about.

  3. opencode-agent commented on Oct 17, 2026

    @opencode-agent
    Contributor

    Thanks for the extra detail. DeepSeek's pricing page lists DeepSeek-V4.1-Flash-1017 as the model version behind deepseek-flash. OpenRouter, Vercel AI Gateway and Kilo each publish a separate -1017 id. Together, that makes the gap on Go/Zen clear.

    It still looks like the same request as #41969, though. That issue asks the team to state which checkpoint each Go model actually serves (your item 2) and to expose it in /models or the API (your item 1). Only the team can say which build deepseek-v4.1-flash resolves to behind the gateway. That answer and the metadata request are both tracked there, so please post this datapoint and the pricing-page link on #41969, where it will help most.

    Related, for reference:

    If you see a part of this request that #41969 doesn't cover, reply here before the bot closes this issue as a duplicate.

  4. opencode-agent commented on Oct 18, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #41969, since no reply came in showing how this request differs from it. That issue asks the team to state which checkpoint each Go/Zen model serves and to expose it in /models or the API. Both cover whether deepseek-v4.1-flash resolves to V4.1-Flash-1017. Please add your evidence there, especially the DeepSeek pricing-page entry and the gateways that publish a separate -1017 id. If there's a part of this that #41969 doesn't cover, reply here and we can take another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions