DEV Community

Debashish Ghosal
Debashish Ghosal

Posted on

I am curious, if anyone else is using 2, 3 or more LLMs. This is humor way to put this, but this is real folks, this saves you token costs. I will love to hear back what folks think of this

Sign in to view linked content

Top comments (2)

Collapse
 
paul_irolla_6b5ae261d0224 profile image
Paul Irolla •

Routing only saves when the cheap model gets a step that does not need the long context. The leak is the handoff: the second model reads the history again, so that step costs the full session, not the short prompt you wrote. Does your router send long sessions to the cheap model, or only short tasks?

Collapse
 
debashish_ghosal profile image
Debashish Ghosal •

You're right about the handoff. In the setup I described, the cheap model gets bounded jobs like reading files or summarizing logs and passes up a short brief, not the whole session. ai-tierforge routes by task type, not session length, so it won't protect you from sending a long history downstream.