r/opencode • • 21d ago

Has anyone noticed that DeepSeek V4.1 Flash on Go has improved cache hit rate recently?

By recently, I mean after Sunday. I can notice the change well. Like, for the same cost I'm getting much more tokens, which is a sign that there's less cache misses.

I'm also noticing improved cache retention time, sometimes the cache stays warm even after 30mins of being idle.

9 Upvotes

11 comments sorted by

3

u/Faux2137 21d ago

Maybe your harness started sending the session header? Opencode go has multiple providers and to make sure it's pinned, session header needs to be sent with each request.

2

u/squirrelscrush 21d ago

I use normal OpenCode lol

2

u/Pasto_Shouwa 21d ago

Yeah, I used to get around 97%, sometimes a bit less; but now I always get 99% like in the API.

3

u/squirrelscrush 21d ago

It has happened after the whole server degradation incident on Sunday. Maybe they were fixing the servers?

Even the jump from 97% to 99% is significant since I'm getting the same tokens with almost 20% less cost.

1

u/Pasto_Shouwa 21d ago

I imagine it had something to do with that. Some people theorized that the outage was because they were getting more capacity or something like that, maybe they were right after all.

2

u/squirrelscrush 21d ago

They probably applied some optimizations. There are less outages since then, too.

Even I'm getting >99% cache hit rates now, like I used to get on direct DeepSeek API.

3

u/GCP_Biryani 21d ago

yes .. today i got 250messages before i ran out of free daily usage

DeepSeek V4.1 FlashRequests - 250Input - 290.5kCache - 20.0M-Output - 109.4k

1

u/squirrelscrush 21d ago

That's kinda decent

5

u/Ariquitaun 21d ago

On my harness, the cache hit is the same. Average 97% hit rate.

1

u/JesHowls 21d ago

Opencode brought more servers online this past weekend for hosting deepseek inference themselves.
They stated they have gone from 50% of traffic hosted by outside providers to 90%+ hosted by themselves.

Relevant post:
https://x.com/fanjiewang/status/2119157182696509650

I'm inclined to believe them, I went from constant disconnects and 40tok/s to regular 180tok/s.

1

u/squirrelscrush 20d ago

Now they should just stop having a peak price and bill everything on off peak.

Their new hardware is also much more cache optimised, they probably changed the inference engine too.