跳到主要内容Skip to main content

路由Routing

Routing

  • 选型与成本Selection & cost
  • 第六站 · 选得对Station 6 · Choosing Right
解决什么问题What problem it solves

简单问题派给便宜快的模型,难问题派给强模型。Send easy questions to a cheap fast model and hard ones to a strong model.

这是什么What it is

按任务复杂度自动选择模型的机制。

Mechanism that picks a model automatically based on task complexity.

为什么需要知道Why it matters

这是同时控制成本与质量最有效的手段,也是当前产品设计的主流做法。The most effective way to control cost and quality together, and standard practice in current product design.

出处Sources
  • OpenRouter 提供方路由文档OpenRouter Provider Routing ↗
  • LangChain 模型文档(动态选型)LangChain Models: dynamic model selection ↗