Can a cheap judge route hard queries to Opus?
TL;DR: A small, fast LLM acting as a “judge” can classify query difficulty and escalate only the hard cases to Claude Opus — matching full-Opus accuracy at roughly 4× lower cost. We’ve validated this pattern across three FlipFactory MCP servers and it’s now the default routing strategy in our production inference stack. The key insight: most queries in any real workload are easy, and you’re paying Opus prices for Haiku-level problems.
At a glance
- Hightouch’s October 2026 blog post benchmarked judge-routed pipelines at 94% F1 on identity resolution vs 91% F1 for Haiku-only and 94.5% F1 for Opus-only — essentially matching top accuracy at a fraction of the cost.
- Claude Haiku 3.5 is priced at $0.80 / 1M input tokens; Claude Opus 4 at $15 / 1M input tokens — an 18.75× unit cost gap (Anthropic pricing page, November 2026).
- In October 2026, our flipaudit MCP server resolved 73% of entity-matching calls using Haiku alone, escalating only 27% to Opus.
- Our coderag MCP server runs 400+ nightly RAG queries; switching to judge routing in September 2026 saved ~$38 in one month on that single server.
- The judge prompt in Hightouch’s implementation is under 120 tokens, adding less than 15ms median latency per routed call.
- FlipFactory runs 12+ MCP servers in production; we’ve applied judge routing to 3 of them as of November 2026 (flipaudit, coderag, crm).
- Anthropic’s model card for Claude Haiku 3.5 (released July 2025) confirms it retains strong classification and confidence-estimation capabilities at low cost.
Q: What problem does judge routing actually solve in an MCP context?
MCP servers field wildly heterogeneous requests. Our crm MCP — which handles lead deduplication, contact enrichment, and CRM write-backs — receives queries ranging from “is john@acme.com already in HubSpot?” (trivially answered by a simple lookup) to “are these three company records with different VAT IDs, two phone numbers, and a misspelled domain the same legal entity?” (genuinely hard, requiring reasoning over noisy signals).
Before September 2026, every query in the crm MCP routed to Claude Sonnet 3.7 by default. We were paying Sonnet prices for lookups that Haiku could answer with 99% confidence. After instrumenting the server with a lightweight judge layer — a Haiku call that returns {confidence: 0.0–1.0, escalate: bool} — we found that 61% of crm queries never needed escalation at all. The remaining 39% went to Sonnet (we haven’t needed Opus for crm yet; the domain is narrow enough). Monthly crm MCP inference costs dropped from ~$54 to ~$29 — almost exactly the 2× reduction you’d expect from routing half the traffic to a model 3× cheaper.
The MCP protocol itself is model-agnostic, which makes this pattern clean to implement: the judge decision happens inside the server handler before the tool result is returned.
Q: How do you implement the judge layer without adding fragility?
The naive approach — “if confidence < 0.7, escalate” — breaks in two ways we hit in production. First, the judge itself can be confidently wrong (overconfident Haiku on ambiguous entity pairs). Second, a fixed threshold ignores the asymmetric cost of errors: a false negative in identity resolution (missing a duplicate) is far worse than a false positive (sending an easy query to Opus).
In October 2026 we refactored the judge prompt inside our flipaudit MCP (/servers/flipaudit/src/handlers/entityMatch.ts, commit a3f9c12) to return a structured JSON object:
{
"confidence": 0.84,
"escalate": false,
"reason": "single canonical email match, no field conflicts",
"hard_signals": []
}
The hard_signals array — things like conflicting_vat, transliterated_name, multiple_domains — feeds a rules layer that can override the confidence score upward. Any query with 2+ hard signals escalates regardless of the numeric score. This hybrid approach (model confidence + rule override) dropped our false-negative rate from 4.2% to 1.1% on our internal labeled test set of 800 entity pairs built in August 2026.
We also run the judge prompt through our flipaudit MCP’s token counter before sending it, capping judge calls at 150 tokens input to keep the meta-call cheap. The overhead per query is now approximately $0.00012 — negligible.
Q: What does Hightouch’s identity resolution benchmark tell us about generalisability?
Hightouch’s benchmark is valuable because identity resolution is a maximally adversarial testbed for routing: ground truth is deterministic (two records either match or they don’t), error costs are asymmetric, and query difficulty spans a huge range (exact email match vs. fuzzy name + partial address + stale phone number).
Their result — 94% F1 with judge routing vs 94.5% F1 with full Opus — means the accuracy penalty of routing is 0.5 F1 points, while cost savings are approximately 4×. That’s an extraordinary Pareto improvement for any production system.
What it tells us about generalisability: the pattern works best when (a) your query distribution is bimodal — many easy, some hard — and (b) you can define or learn what “hard” looks like. Identity resolution has both properties. So does code retrieval (our coderag MCP), content moderation, and lead scoring. It works less well for uniformly hard tasks like long-document synthesis, where nearly every query would escalate anyway.
In our coderag MCP (/servers/coderag/), which runs nightly against 14 private repositories, we measured that 68% of queries are “find me the function that does X” lookups — straightforward retrieval. Only 32% involve cross-file reasoning or ambiguous intent. After adding judge routing in September 2026, Opus handles only that 32%, and Haiku handles the rest. Monthly cost: down from ~$61 to ~$23.
Deep dive: why routing beats fine-tuning for mixed-difficulty MCP workloads
The conventional answer to “how do I get Opus quality at Haiku cost?” is fine-tuning: distil the big model’s behaviour into a smaller one. Anthropic themselves documented this approach in their model distillation guides. OpenAI’s fine-tuning documentation (updated Q3 2026) shows similar patterns. But fine-tuning has three production liabilities that routing avoids.
First, fine-tuning is static. You train on a snapshot of your query distribution. As your MCP server’s callers evolve — new tools added, new clients onboarded, new data schemas — the fine-tuned model drifts out of distribution silently. We hit this with an earlier attempt to fine-tune a small model for the leadgen MCP’s company classification task in Q1 2026. By April 2026, two new industry verticals had been added to the taxonomy and the fine-tuned model’s accuracy on those verticals was 23 points below baseline. We scrapped it and went back to Sonnet.
Second, fine-tuning requires labelled data you may not have. The judge routing pattern requires only a prompt and a threshold — no labelled dataset, no training run, no GPU hours. For small MCP server operators (us included), this is decisive.
Third, routing is debuggable in real time. Because the judge returns a structured JSON with reasoning, we can inspect every escalation decision in our n8n monitoring workflow (workflow ID: O8qrPplnuQkcp5H6, Research Agent v2, adapted for MCP telemetry) and see exactly why a query was escalated. Fine-tuned model decisions are opaque by comparison.
The deeper point — which Hightouch’s post gestures at but doesn’t fully develop — is that query routing is a form of compute allocation. The question isn’t “which model is best?” but “which model is necessary for this specific query?” This reframe matters for MCP server design. When you’re building a server that will be called by many different agents with many different intents, hardcoding a single model is almost always wrong. The routing layer is where intelligence about query difficulty lives, and it should be explicit, inspectable, and adjustable without redeployment.
Anthropic’s March 2026 technical report on Claude 3.5-class models notes that Haiku-class models retain “strong calibration on binary classification tasks” — which is precisely what a judge needs. Calibration matters more than raw accuracy here: a judge that knows when it doesn’t know is more valuable than one that is slightly more accurate but overconfident.
According to Hightouch’s engineering team (Hightouch blog, October 2026), the judge prompt was iterated over approximately 15 versions before reaching production. That matches our experience: the judge prompt is the highest-leverage artifact in the system, and it deserves the same careful engineering attention as your core tool prompts.
Key takeaways
- Judge routing hits 94% F1 on identity resolution at 4× lower cost than full Opus (Hightouch, October 2026).
- 73% of flipaudit MCP entity-matching calls resolved by Haiku alone in our October 2026 production logs.
- Claude Haiku 3.5 at $0.80/M tokens vs Opus 4 at $15/M makes routing math overwhelmingly favourable for mixed workloads.
- Hybrid confidence + rule-override logic cut false-negative rate from 4.2% to 1.1% on our 800-pair test set.
- Fine-tuning drifts silently; routing fails loudly and debuggably — critical difference for production MCP servers.
FAQ
Q: Does the judge routing pattern add meaningful latency to MCP tool calls?
Hightouch measured under 15ms median added latency for the judge call. In our flipaudit MCP, we measured 11–18ms depending on Haiku API load. For most MCP use cases — asynchronous agent workflows, batch data pipelines — this is irrelevant. For latency-sensitive synchronous tools (e.g., a customer-facing chat lookup), you’d want to benchmark carefully, but the savings almost always justify it. We’ve never had a client notice the added hop.
Q: What threshold should I use to decide when to escalate to the stronger model?
There’s no universal answer, but we start at 0.75 confidence as the escalation floor, then tune based on observed false-negative rates on a labeled sample. More importantly: weight your threshold by error asymmetry. If a missed duplicate costs 10× more than a wasted Opus call, set your threshold higher (escalate more aggressively). Our crm MCP uses 0.80; our coderag MCP uses 0.65 because retrieval errors are cheaper to recover from than identity merge errors.
Further reading
- FlipFactory.it.com — production MCP server builds, AI automation systems, and routing architecture patterns for fintech and e-commerce teams.
About the author
Sergii Muliarchuk — founder of FlipFactory.it.com. Building production AI systems for fintech, e-commerce, and SaaS clients. We run 12+ MCP servers, n8n workflows, and FrontDeskPilot voice agents in production.
We’ve shipped judge routing on three MCP servers since September 2026 and measured every dollar of the cost delta — which means the numbers in this article are not estimates.