跳转到主要内容
GET
/
api
/
router
/
vendors
获取在池厂商与图标
curl --request GET \
  --url https://aihubmix.com/api/router/vendors \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://aihubmix.com/api/router/vendors"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "anthropic": {
    "name": "Anthropic",
    "icon": "https://.../logo_claude.svg"
  },
  "deepseek": {
    "name": "DeepSeek",
    "icon": "https://.../logo_deepseek.svg"
  }
}

请求参数

此接口为免登录开放接口,无需身份认证,前端页面与第三方可直接调用。已启用 CORS,受全局 API 限流约束。无请求参数。

响应参数

响应为原样 JSON 对象:键为厂商 id(对应获取路由榜单与模型池条目中的 v 字段),值为该厂商的展示信息。仅包含当前模型池内的厂商。
{vendor}
object
单个厂商的展示信息。
name
string
厂商显示名。无匹配的厂商元数据时回退为厂商 id。
icon
string
厂商 logo 的 URL。可能为空字符串,此时前端应自行回退(如首字母占位块)。
服务端结果缓存 5 分钟:模型池刚更新时,新入池厂商可能延迟最多 5 分钟才出现在本接口结果中,请对缺失的键做回退处理。
{
  "anthropic": {
    "name": "Anthropic",
    "icon": "https://.../logo_claude.svg"
  },
  "deepseek": {
    "name": "DeepSeek",
    "icon": "https://.../logo_deepseek.svg"
  }
}

更新时间:2026-07-13