So Matt Pocock says models typically are smartest in the first 140k tokens. Hes using the big boy cloud models tho. Does that hold true for 27b-35b range? Or is it smaller and how much?

What would the ‘smart range’ be for tiny models that fit in 2gb? Would be it be like a sentence or two? I have an old 1050 was thinking of throwing in rig but im not sure what id even be able to do with such a small model

all 9 comments

sorted by: hot top controversial new old
[–] 6 points 3 weeks ago (3 children)
  • [–] 5 points 3 weeks ago*

    There's scientific papers about that kind of degradation. Like this one from earlier this year.

    In short, from what I read: No, I don't think it holds true. It'd be weird if it was some fixed number like 150k. If at all, I'd expect it to be a percentage of the maximum context length of a specific model. And it probably also depends on the exact model and how the attention and the parameters are set up.

  • source
  • [–] 4 points 3 weeks ago* (last edited 3 weeks ago)

    It depends on the model. For newer stuff, and Qwen3.8 27b specifically, its Qwen Sparse Attention/Gated DeltaNet architecture does much better than a lot of previous models.

    The old rule of thumb was that the middle of the context window can get lost in old models, but Qwen3.8 27b and Qwen 3.8 Flash Next work fine, even when using most of the 262k native tokens of context… but this long context requires 8GiB of VRAM just for the context, and this is with FP8 KV quantization.

    I still don’t trust much more than 128k though, and most harnesses automatically compact if a request would exceed a certain threshold (e.g., OpenCode is the higher of 15% of max or 16k tokens for its buffer).

    For smaller models 16-32k is probably fine unless you’re using a model that is extremely old, like llama3 or phi 2.5. But you’re going to struggle to get anything other than a simple chatbot with very short conversation on a 4GB card. Maybe light translation or document work, but don’t expect anything useful in coding or agentic work.

  • source
  • [–] 4 points 3 weeks ago

    I believe Pocock only recommends going up to 100k now, last I heard. But for a lot of simpler tasks 10-20k will be plenty if you don't have a super long prompt + documentation for it to parse first. Your inputs are really what decide how much context you need.

  • source
  • [–] 3 points 2 weeks ago

    I’ve experimented with a lot of that range of models. The sweet spot is 35-50k of context. Anything more and the response quality degrades, or the model times out trying to answer, or just keeps churning till it becomes nonsense. I had a model respond with “SimiSimiSimi” for 3 pages of content because I overloaded the context to about 130k tokens. Was really disappointing to see.

  • source
  • [–] 2 points 2 weeks ago

    I was asking Kimi-K3 that very question and one of the possible things was a local model for VTT. I think looking at specialised models like that might be the best use case.

    Another one I was thinking about last night was local semantic search through embeddings. I'm not sure if that's actually feasible, but it would certainly be useful for when you have terabytes of PDF.

  • source