Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Switching the model or reasoning mid-session can be expensive

62,177 Aufrufe • vor 3 Monaten •via X (Twitter)

21 Kommentare

Profilbild von Alex Sidorenko
Alex Sidorenkovor 3 Monaten

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

Profilbild von Bee 🐝
Bee 🐝vor 3 Monaten

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

Profilbild von Alex Sidorenko
Alex Sidorenkovor 3 Monaten

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

Profilbild von Sami Kuikka
Sami Kuikkavor 3 Monaten

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

Profilbild von The Doctor
The Doctorvor 3 Monaten

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.

Profilbild von Tee Ploy Gen
Tee Ploy Genvor 3 Monaten

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

Profilbild von Juan Pujol
Juan Pujolvor 3 Monaten

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

Profilbild von davi novo chablau
davi novo chablauvor 3 Monaten

didn't know about the reasoning part!

Profilbild von Pranav
Pranavvor 3 Monaten

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

Profilbild von Dan C.
Dan C.vor 3 Monaten

Whaaaaa! I do this regularly.

Profilbild von Paulo
Paulovor 3 Monaten

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

Profilbild von Jonas Fröller
Jonas Fröllervor 3 Monaten

good point, thanks

Profilbild von The Weekly Edition
The Weekly Editionvor 3 Monaten

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

Profilbild von highmindedlowlife
highmindedlowlifevor 3 Monaten

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

Profilbild von kenyon
kenyonvor 3 Monaten

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

Profilbild von ashraf
ashrafvor 3 Monaten

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

Profilbild von Guillaume Ausset - @ausset.me
Guillaume Ausset - @ausset.mevor 3 Monaten

Why on earth does switching reasoning invalidate cache though

Profilbild von Black Eyed Hat Man
Black Eyed Hat Manvor 3 Monaten

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

Profilbild von Prasenjit Sarkar
Prasenjit Sarkarvor 3 Monaten

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.

Profilbild von ashley
ashleyvor 3 Monaten

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

Profilbild von Manuel Schipper
Manuel Schippervor 3 Monaten

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

Ähnliche Videos