r/opencode • u/megablue • 9d ago
After about two months of extensive usage of Deepseek 4.1 Flash I think i understand why it gets dumber for some people - it is the context window
from my anecdotal observations, deepseek 4.1 flash (and 4.1 flash 1017) performed best when the context-window is under 400K, as soon as you go beyond that you will realize it gets more and more confused as the context window grows.
I would say around 700K+ it becomes unusable bad. so, you either use a context-management plugin that have some kind of virtual limit to cap the context around 400K. or start a new session as soon as it reached about 400k-500k. and you usually want to be more careful with what you stuff into the context - if you have a lot of random, non-focused tasks in the same context, it will become even worse at > 400k.
I think this is partly because of DS 4.1 flash used a lot aggressive compression techniques, including sharing KV cache between multiple layers so anything that fall in between become very lossy.


