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

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.....

11

u/thatboyonabike Oct 18 '26

I'm becoming increasingly unimpressed with them as a company but I've still yet to find better bang for buck...

1

u/pasteldebytes Oct 18 '26

While that is true, days like today, where tps on ds 4.1 flash is at 80/tps, makes me use the subscription on long threads instead of interactive development. It's Sunday. It's supposed to be a Off-Peak day, and it doesn't scale. For interactive development, where I'm in the loop, my patience is burned and I feel the need to have 4 or 5 agents doing things to make my time productive, but then my context switching is so high that I feel that is counterproductive also. That's when I switch to 1 or 2 agents max on deepseek endpoint and get around 200 tps. Not with the same $ deal, sure... 

1

u/Saifl Oct 19 '26

Isnt 80tps quite good? I mean as long as the prefill is still speedy.

12

u/amethyst_mine Oct 18 '26

thats kinda scummy ngl

2

u/NervousWinner8160 Oct 18 '26

This is concerning and i want an explanation

Its already hard enough to figure out who the bad actors are as it is, now we cant even see who it is

Not related, but dont touch anything from Grok or Z.ai aka GLM. They were both caught zipping and stealing entire repos

2

u/Big_Cucumber2787 Oct 18 '26

everyone competing in the ai race is stealing your data. if you don't want this to happen you need to self host.

1

u/NervousWinner8160 Oct 18 '26

These companies acting lawless. id still avoid the ones blatantly uploading your whole repo or other super shady shit. And i do wish local was enough

0

u/[deleted] Oct 18 '26

[deleted]

3

u/CharacterBorn6421 Oct 18 '26

Even opus low outperforms the opencodes glm 5.3flash And deepseek 

Well it should as opus 5.5 is the best model Claude have now so if that get beaten by an open source flash level model then it will be a much serious issue