Files
myWiki/concepts/multi-model-routing.md

37 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "多模型路由Multi-Model Routing"
created: 2026-07-03
updated: 2026-07-03
type: concept
tags: ["agent", "model-routing", "cost", "latency"]
sources: ["https://mp.weixin.qq.com/s/iiTmgbtrYHMMjQ7dn7CDrg"]
---
# 多模型路由
> 不是把所有任务都交给同一个最强模型,而是按工作区分配合适的模型。
## 核心定义
**多模型路由** 是 [[workspace-first-architecture|Workspace-first 架构]] 在模型层的实践:不同工作区绑定不同模型,兼顾成本、延迟和数据安全。
## 路由策略
| 任务类型 | 推荐模型 | 原因 |
|---------|---------|------|
| 常规沟通 | 便宜模型 | 成本优先 |
| 网页检索 | 中等模型 | 延迟敏感 |
| 文件处理/代码 | 中等模型 | 工具调用密集 |
| 复杂分析 | 强模型 | 推理质量优先 |
| 敏感数据 | 本地模型 | 数据不出内网 |
## 与边界设计的关系
多模型路由是实现 [[agent-boundary-design|Agent 边界设计]] 中「模型边界」的具体手段。它让 Harness 层而非模型层面决定"这一轮该用哪个模型"。
## 参考
- [[zleap-workspace-harness-2026|Zleap-Agent Harness 设计]]
- [[workspace-first-architecture|Workspace-first 架构]]
- [[agent-boundary-design|Agent 边界设计]]