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
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?
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.
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (2)
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?
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.