大家都想做大模型路由,我们决定下线自家的产品。
Everyone is building LLM routers, we deprecated ours

原始链接: https://manifest.build/blog/why-we-deprecated-our-llm-router/

在试验了他们的“Manifest”大语言模型(LLM)路由后,Manifest 团队得出结论:模型路由通常不值得其所带来的权衡代价。尽管业界大肆炒作路由在成本优化方面的作用,但 Manifest 决定弃用自家的路由功能,并提出了几个关键问题: * **误导性的复杂性:** 提示词的复杂程度通常取决于路由器无法识别的外部上下文(如文件大小或工具需求),这使得准确路由几乎成为不可能。 * **更优的替代方案:** 缓存是一种更可靠、更有效的降本方法,这往往使路由所需的“粘性”变得多余。 * **一致性与控制力:** 动态切换模型会降低输出的一致性。工程师应将大语言模型视为专用工具;为特定任务选择合适的模型,能确保更高的质量并更好地掌控工作流。 * **增加的复杂性:** 路由的不可预测性引入了维护、可观测性和调试方面的隐性成本,这些成本往往超过了推理费用上节省的那点小钱。 最终,Manifest 认为,对于大多数专业用例而言,坚持使用单一且经过实战检验的模型,比依赖复杂的自动化路由层更高效、更可预测且更易于维护。

关于停用专用大模型路由器(manifest.build)的 Hacker News 讨论凸显了一个日益增长的行业共识:**通用的、独立的大模型路由方案往往得不偿失。** 辩论的主要观点包括: * **复杂性问题:** 许多工程师认为,在运行前预判查询难度是不可能的。提示词的难度通常取决于实时因素(如可用的工具访问权限或隐藏上下文),而非提示词本身。 * **替代策略:** 与其使用“智能”路由器,用户建议采用更简单的方法,例如为特定智能体硬编码角色(例如,使用快速模型进行规划,使用顶尖模型进行执行),或执行递归式的任务拆解。 * **模型提供商的优势:** 一些观点认为,对于第三方而言,路由是一场注定失败的博弈,因为模型实验室最终会在内部优化成本与智能的比率,从而使外部路由工具变得过时。 * **利基实用性:** 尽管通用路由器遭到广泛否定,但一些参与者认为,专门用于处理生产环境稳定性“故障转移”、强制执行数据合规性或管理特定领域(如法律与编程)的专业路由器仍有其价值。 最终,业界共识倾向于选择一个适合该任务的单一模型,或者构建自定义的任务感知工作流,而非使用黑盒路由器。
相关文章

原文

We don’t believe in model routing anymore. For most use cases, sticking to a single battle-tested model is the best thing you can do.

Recently, there’s been huge hype around AI model routers that select the model that will respond to your request on the fly. There have been many launches in recent weeks with similar promises of reducing inference costs. We had our LLM router too, and decided to remove it.

Some context first: we launched the Manifest LLM router in March as a key feature in our LLM gateway, and we deprecated it in June, shutting it down for good on September 1st. Our router was classifying each request into one of four different tiers of complexity: simple, standard, complex and reasoning.

LLM router diagram: a single agent request fanning out to Anthropic, DeepSeek, OpenAI and Mistral models

Like most LLM routers, ours was made for cost reduction. Why call a powerful, and therefore expensive, model for a simple task? Routing to the most cost-effective model seems like a natural solution, right? Not that simple. After four months of usage across 7000 cloud users, we saw mixed results and a lot of GitHub issues and discussions about it. Let’s dive into the main problems.

Complexity cannot be deduced from the prompt alone

The prompt alone does not contain the whole task; it is just the trigger. A lot of the context that determines complexity is only discovered later through tool calls, web searches, and so on.

Let’s take an example: “evaluate the tests for the repo $GIT_REPO and improve them” can be a very simple task if you mention a personal website written in plain HTML5; or an incredibly complex task if you target the Linux kernel repo.

Cache is more effective than routing for reducing costs

Cache reads are between 75% and 90% cheaper than uncached inputs. System prompts and conversation history often represent a lot of tokens. Prefix cache works extremely well for those because they sit at the beginning of the prompt.

A cache-aware model router will take that into account by adding stickiness to the initially chosen model and keeps querying it. In other words, the router will do its job by, ironically, not doing it.

LLM routers break behavior consistency

Some say that “engineers should not be concerned about choosing the best LLM for their task”. Well, we strongly disagree.

Just as a painter knows exactly what brush they need to use, and the craftsman carefully chooses their tools, engineers should understand trade-offs and subtleties of the different models. At Manifest, every engineer selects models and effort parameters based on their intent.

Jumping from a model to another during working sessions results in lower quality of the overall work, and detaches the people from mastering their tools.

Unpredictability has a cost

No one likes unpredictability, especially software engineers.

In automated agentic workflows or autonomous agents, managing that extra layer of uncertainty can cost more than it saves. Think of evals, system prompts, observability and so on. Everything suddenly becomes harder to maintain.

Isolating different requests and setting up the right models, params and prompts for it seems naturally superior in most cases.

Conclusion

There are probably many use cases where LLM routing can be useful, and the companies that launched those have probably good reasons.

However, based on our experience, we’ve concluded that in most of the use cases we saw, it was not worth it. The amount saved is paid somewhere else, and that cost is harder to estimate.

联系我们 contact @ memedata.com