跳轉到主要內容
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