正在加载视频...

视频加载失败

Switching the model or reasoning mid-session can be expensive

62,177 次观看 • 3 个月前 •via X (Twitter)

21 条评论

Alex Sidorenko 的头像
Alex Sidorenko3 个月前

Especially if you already have a lot of context in the session - switching the model/thinking level results in the KV cache miss, making the model recompute all previous tokens On the API it costs more money, on a sub it drains your usage limits faster

Bee 🐝 的头像
Bee 🐝3 个月前

dang i figured on model switching but just reasoning switching too 😭

Alex Sidorenko 的头像
Alex Sidorenko3 个月前

Yep, agent harnesses should do a much better job of exposing this info. Pi is very good at this.

Sami Kuikka 的头像
Sami Kuikka3 个月前

No need for model switch, going for a walk and sending next message after a while is also expensive.

The Doctor 的头像
The Doctor3 个月前

Wait what? Isn't reasoning effort basically a limit on reasoning token's budget? Why should it impact the cache? From model's pov, the tokens are already cached.

Tee Ploy Gen 的头像
Tee Ploy Gen3 个月前

Uninstalled auto-thinking extension after verifying with pi's cache miss notices. Thought it was helping with cost management. Thanks!

Juan Pujol 的头像
Juan Pujol3 个月前

I didn’t know reasoning switching caused a cache miss. Why? Any articles explaining this? Thanks for sharing.

davi novo chablau 的头像
davi novo chablau3 个月前

didn't know about the reasoning part!

Pranav 的头像
Pranav3 个月前

I know this was the case with model change, but reasoning, really?

Dan C. 的头像
Dan C.3 个月前

Whaaaaa! I do this regularly.

Paulo 的头像
Paulo3 个月前

are you 1000% sure switching reasoning also causes cache miss?

Jonas Fröller 的头像
Jonas Fröller3 个月前

good point, thanks

The Weekly Edition 的头像
The Weekly Edition3 个月前

Isn't that only for model switches with Sol? (at least that's what ChatGPT app itself implies)

highmindedlowlife 的头像
highmindedlowlife3 个月前

I thought this only happened during model switches. Learn something new every day.

kenyon 的头像
kenyon3 个月前

@grok 深度调研确认下,这个结论是不是真的

ashraf 的头像
ashraf3 个月前

That's true. That's why choosing the right model for the right task is important. Miss caches and had to read the earlier conversation to continue which also open rooms for hallucination

Guillaume Ausset - @ausset.me 的头像
Guillaume Ausset - @ausset.me3 个月前

Why on earth does switching reasoning invalidate cache though

Black Eyed Hat Man 的头像
Black Eyed Hat Man3 个月前

Reminds me of a great, funky tune 🎶 from The Cure - "A Forest (Acoustic Version)" 👂 "... again and again..." 🕺

Prasenjit Sarkar 的头像
Prasenjit Sarkar3 个月前

The cost surprise is real. I see this in the cost dashboard we track across Campfire ( sessions. The insight that helped: do not switch mid-session. Instead, decide model and reasoning level before you start. For tasks where you are uncertain, run an agent race: the same task across multiple backends in isolated worktrees, each starting fresh with its own context and cache. You compare outputs after, not mid-run. No KV cache misses, no token recomputation.

ashley 的头像
ashley3 个月前

@pidotdev i knew this about the models, but not reasoning. i assume the same with effort on claude. in the web it has a quick answer button at least sometimes.

Manuel Schipper 的头像
Manuel Schipper3 个月前

What's the argument for model routers if this is the case?

相关视频