r/opencode • • Oct 18 '26

opencode stopped sharing the inference provider serving the request

so, it seems that since around 7:30 utc today, opencode ditched the header "x-opencode-endpoint-id " that was sharing which was the real inference provider serving the request.

we were discussing the other day that they rarely have in-house inference, and that they hire inference from others, like orcarouter, novita, deepinfra, even perplexity (even though, in the last couple of days, a "Manhattan project" header was used). That was possible to see due to the header, and it even exposed some cache problems when affinity was not respected during a session (by jumping providers)

apparently, this morning they ditched the header. we cannot see the real inference provider anymore.

59 Upvotes

14 comments sorted by

View all comments

21

u/WegoW Oct 18 '26

That’s a bummer. Yesterday i‘ve added x-opencode-endpoint-id and x-opencode-upstream-model-id to my monitoring proxy. My complete traffic to Opencode Go is routed through this proxy. I wanted to see which upstream providers are used for deepseek-v4.1-flash. At least i was able to monitor some traffic, before they stopped it today.

The screenshot shows the distribution between orcarouter, manhattan-project, luminal, futurixai and deepinfra.

https://imgur.com/a/kwTD0VO

7

u/pasteldebytes Oct 18 '26

yeah. i was doing a similar thing through a tui plugin to keep statistics: https://github.com/hugobatista/opencode-usage-insights

4

u/WegoW Oct 18 '26

That’s what my Hermes agent found out:

The two headers came from the legacy Zen handler. packages/console/app/src/routes/zen/util/handler.ts in anomalyco/opencode set x-opencode-endpoint-id / x-opencode-upstream-model-id, and that file was removed by PR #54563 ("refactor(console): make Zen routes a thin inference proxy", Oct 11) and #54585 ("remove legacy database from Console", Oct 12). The rollout that killed the headers went out this morning (repo push 05:50 UTC) — so this looks deliberate, not a regression, and the headers probably aren't coming back.

I also spent some time hunting for a substitute and there is none: full header dump on all three Go endpoints (/v1/chat/completions, /v1/responses, /v1/messages), three models, two user agents → only x-opencode-log-id, x-zen-model, cf-placement, cf-ray and server. Nothing in the response body either (no system_fingerprint). The console API is no help: /api/usage/models has a provider field but it's always opencode-go (product, not the serving stack), /api/usage/logs and /requests return 404, /api/internal/traffic/* returns 401, and the v2 usage export carries the same product-level provider column.

2

u/pasteldebytes Oct 18 '26

yeah, that's very unfortunate. seems they're trying to start hiding details.
tps is also dropping a lot this morning.....