Grace Ableidinger uses one debugging job on IBM Technology to show why a coding agent might need several model routes within the same task.

Route the call, not the whole session

  • A semantic router uses the meaning of a request and explicit rules to decide where it goes. It can sit behind the same model API the agent already calls.
  • Send routine work, such as summarizing a test log, to a smaller local model. Give harder debugging work more reasoning time on a stronger model. Use a model suited to the language when reviewing Japanese code comments.
  • Reuse a recent answer when the request means the same thing and the underlying state still matches. Similar wording alone cannot tell you whether the code or log has changed.

Apply data policy before comparing prices

  • Check for personal data before a request leaves the network. Redact it or keep it on an approved local route, with a separate rule governing what can leave the network.
  • A filter can flag instructions hidden in data the agent reads. Keep tool permissions and outbound checks in place even when the classifier is confident.

Count the cost of getting the route wrong

  • A wrong route can cost more than it saves if the agent needs more turns or retries on the larger model. Track the whole task, including the fallback, alongside the router’s own delay.
  • The RouteLLM authors reported over 85% savings versus GPT-4 alone at about 95% of its score on one benchmark, MT-Bench. Results were smaller on their other tests.
  • Caveat: Ableidinger narrates a design example. The talk does not measure cost, completion rate or data protection on the seven-call debugging job.

“A misroute costs you extra agent turns.” — Grace Ableidinger, 5:47