搜索文档

输入关键词,回车打开结果

OmniAgent 文档

AnyRouter

本文介绍如何在 OmniAgent 中配置 AnyRouter 模型服务。

AnyRouter 是一个为兼容 Anthropic 协议的应用提供稳定中转接入的平台,主打低门槛与国内直连。

获取 API Key

  1. 访问 AnyRouter 官网 并完成免费注册。

  2. 登录平台后,获取您的专属 API 令牌(通常以 sk- 开头)。

在 OmniAgent 中配置

  1. 打开 OmniAgent 的 API Key 管理 页面。

  2. 点击 + 新增 API 密钥,选择提供商 其他

  3. 配置信息

    • 模型名称:填写需要使用的模型名称(如 claude-3-5-sonnet-20241022)。
    • API Key (密钥):填入您刚刚获取的 API 令牌
    • Base URL (地址):填写 https://anyrouter.top

AnyRouter 配置界面

常用服务商 Base URL 参考

如需填写 Base URL,可参考下表选择对应服务商地址:

服务商Base URL推荐模型
Qwenhttps://dashscope.aliyuncs.com/apps/anthropicqwen3.5-plus
DeepSeekhttps://api.deepseek.com/anthropicdeepseek-chat
Kimihttps://api.moonshot.ai/anthropickimi-k2.5
GLMhttps://open.bigmodel.cn/api/anthropicGLM-4.7
MiniMaxhttps://api.minimax.com/anthropicMiniMax-M2.5
Anthropichttps://api.anthropic.com/v1claude-sonnet-4-6

On this page