---
title: "Comment by indiainfranotes on \"How I Route Every Claude Code Prompt to the Right Model\" | Hashnode"
description: "Routing by prompt score is smart, but the costly failures are misroutes in one direction: a hard refactor sent to the cheap tier comes back confidently shallow"
url: "https://hashnode.com/posts/how-i-route-every-claude-code-prompt-to-the-right-model/6ac3619078f6d4ba717507a5/comment/6ac3e7fb0461b129b386a35e"
---

[Discussion](https://hashnode.com/posts/how-i-route-every-claude-code-prompt-to-the-right-model/6ac3619078f6d4ba717507a5)

Comment [How I Route Every Claude Code Prompt to the Right Model](https://hashnode.com/posts/how-i-route-every-claude-code-prompt-to-the-right-model/6ac3619078f6d4ba717507a5)

[indiainfranotes](https://hashnode.com/@indiainfranotes)

[Oct 5](https://hashnode.com/posts/how-i-route-every-claude-code-prompt-to-the-right-model/6ac3619078f6d4ba717507a5/comment/6ac3e7fb0461b129b386a35e)

Routing by prompt score is smart, but the costly failures are misroutes in one direction: a hard refactor sent to the cheap tier comes back confidently shallow and costs more in rework than the big model would have. Do you log the cases where you escalated manually after a cheap answer, and feed those back into the scoring rules?

iin1005h23

[Satya Prakash](https://hashnode.com/@satya-prakash)

[Oct 6](https://hashnode.com/posts/how-i-route-every-claude-code-prompt-to-the-right-model/6ac3619078f6d4ba717507a5/comment/6ac3e7fb0461b129b386a35e#reply-6ac49b4626f75c424750ee44)

Yes, that's the failure that matters most. A shallow answer you trust costs more in rework than Opus would have.

Today there are two guards. Claude can move a task up a tier, and Haiku and Sonnet are told to stop and hand off if the work turns out harder than it looked. But I don't log manual escalations yet, so nothing feeds back into the scoring.

That's the next step. Every escalation will be logged with the original prompt and both tiers: automatic hand-offs, Claude moving a task up, and me re-running a task on a stronger model. Each one becomes a labelled example ("this prompt needed deep"). They go into a regression test set, and I'll tune the rules against that set rather than changing weights on gut feel.
