HappyHorse 1.0 正式上线立即体验
NewEvoLink Smart Router

面向文本请求与 Agent 工作流的 AI 模型路由

使用 evolink/auto 作为统一的默认 Model ID,将支持的文本和 Agent 请求通过 EvoLink 统一 API 进行路由。 减少手动选模,保持路由模型可见,在工作负载变化时灵活控制成本与质量的权衡。

Unified APIOne model IDresponse.model visibleDocs, pricing, and fixed-model paths

Smart Router in action

OpenAI-compatible request

Live

Routing Result Preview

/v1/chat/completions
Input model

evolink/auto

Selected profile

Standard / Reasoning

Routed model

actual-routed-model

Visible in

response.model

The routed model stays inspectable in the API response.

Input

evolink/auto

Route

Profile

Return

model

为什么模型路由很重要

Too many model choices

AI 应用很少只发送一种类型的请求。一个工作流可能包含分类、改写、摘要、结构化提取、推理和 Agent 规划。

Hardcoded model costs

把所有请求都写死到一个前沿模型上会增加成本。在应用代码里自建模型切换逻辑又会增加维护负担。

Manual routing overhead

EvoLink Smart Router 为支持的文本和 Agent 工作流提供一个统一的路由入口,同时在响应中保持实际路由模型可见。

EvoLink Smart Router 如何工作

Automatic by default. Observable when you need control.

1. 请求

你的应用发送一个标准的 OpenAI 兼容请求,model 字段设为 evolink/auto。

2. 任务分析

EvoLink 评估支持的文本请求的任务类型和复杂度。

3. 路由配置选择

路由器将请求映射到 Fast、Standard 或 Reasoning 等路由配置。

4. 模型命中

请求被发送到合适的候选模型。

5. 可见响应

实际路由的模型在响应中返回,你的团队可以记录、对比和评估路由行为。

通过统一 API 使用 evolink/auto

EvoLink Smart Router 是真实可调用的 API 能力。在标准 OpenAI 兼容的 chat completion 请求中,将 model 字段设为 evolink/auto 即可。

cURL 请求
curl https://api.evolink.ai/v1/chat/completions \
  -H "Authorization: Bearer $EVOLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "evolink/auto",
    "messages": [
      {
        "role": "user",
        "content": "Classify this support ticket and suggest the next action."
      }
    ]
  }'
响应
{
  "model": "actual-routed-model",
  "choices": [
    {
      "message": {
        "role": "assistant",
        "content": "..."
      }
    }
  ]
}

Model ID

evolink/auto

Endpoint

/v1/chat/completions

Format

OpenAI-compatible

Visibility

response.model

路由的模型在响应中可见,你可以追踪每次请求选择了哪个模型。

阅读 Smart Router 快速入门

支持的文本请求路由配置

Use this panel as a compact decision tool: profile the work, choose routing or fixed models, check real use cases, then compare approaches only if needed.

Use routing profiles to understand the task layer, not a fixed model list.

Fast

简单、高频任务

改写、分类、格式化

Standard

通用文本处理

摘要、结构化提取、客服分析

Reasoning

复杂推理与规划

多步分析、Agent 规划、决策支持

Coding / Agentic Coding

代码密集型工作流(如支持)

代码审查、调试、重构规划

候选模型池可能随上游可用性、定价和性能变化而调整。EvoLink 在响应中返回实际路由的模型,方便团队持续记录和评估路由行为。

具体可用性可能变化。请查看文档或检查 response.model 获取实际路由结果。

Validate Smart Router in 3 steps

Keep production adoption staged: confirm the call, observe the routed result, then compare before scaling.

1. Run evolink/auto

Make sure evolink/auto works in your account before adding production traffic.

  • 确认 evolink/auto 在你的账户中可用

2. Inspect response.model

Log the fields that let your team understand routing behavior over time.

  • 记录每次请求的 response.model
  • 记录延迟和 token 用量
  • 记录功能名称或路由名称

3. Compare before scaling

Validate routing against a fixed-model baseline, then decide what should stay routed.

  • 将 Smart Router 与一个固定模型基线对比
  • 决定哪些工作流可以保持路由
  • 为严格 QA 或确定性流程固定模型
  • 在扩大流量前检查定价和用量

Smart Router 不是魔法自动化。它是一种应该经过测试、观察和逐步采用的路由策略。

Start validating evolink/auto

Use these paths to move from routing proof to docs, pricing review, API keys, or fixed model selection.

常见问题

什么是 AI 模型路由?

AI 模型路由是根据任务类型、复杂度、成本、延迟或其他路由信号,将请求发送到合适模型的过程。

如何使用 evolink/auto?

在通过 EvoLink 统一 API 发送的 chat completion 请求中,将 model 字段设为 evolink/auto。

我能看到选择了哪个模型吗?

可以。实际路由的模型在响应中可见,团队可以记录和评估路由行为。

Smart Router 是否总是更便宜?

不是。Smart Router 不保证每次请求都更便宜。它的价值在于帮助混合工作负载控制成本-质量权衡,避免默认过度使用一个大模型。

什么时候应该使用固定模型?

在需要严格基准测试、确定性 QA、模型特定功能,或你已经知道最佳模型的工作流中,使用固定模型。

Smart Router 支持图像或视频模型吗?

EvoLink Smart Router 目前定位于支持的文本和 Agent 工作流。对于图像和视频生成,请使用固定模型 ID 并直接比较定价、延迟和输出需求。

EvoLink 与 OpenRouter Auto 或其他路由器有什么不同?

EvoLink Smart Router 是 EvoLink 统一模型交付基础设施中的路由能力。它旨在与 EvoLink 的统一 API 访问、计费、用量和模型交付路径协同工作。

上线前应如何测试 Smart Router?

从低风险流量开始,记录 response.model、延迟、token 用量和功能名称,然后与一个固定模型基线对比后再扩大规模。