MODEL CATALOG API
模型目錄接口
通過公開只讀接口獲取模型目錄、價格與能力數據。
獲取模型列表
GET
/v1/router/model-catalog/list公開可讀,無需鑑權,不消耗額度。支持模型類型、輸入模態、排序和分頁。
接口路徑與請求示例依據 2026-10-10 測試站頁面。本頁不會發送請求;下方數據結構僅作展示,完整接口契約以服務端文檔爲準。
請求示例
curl "https://easyx.ai/v1/router/model-catalog/list" \ --get \ --data-urlencode "types=text" \ --data-urlencode "input_modalities=text" \ --data-urlencode "sort_by=input_price" \ --data-urlencode "page_size=50"
示例中的查詢參數
| 參數 | 用途 | 示例值 |
|---|---|---|
types | 按模型類型篩選 | text |
input_modalities | 按輸入模態篩選,可重複傳入 | text / image |
sort_by | 排序字段 | input_price |
page_size | 每頁條數 | 50 |
數據結構示意
下例沿用目錄列表的返回結構,不代表每一次響應都包含全部字段。
{
"items": [
{
"external_id": "anthropic/claude-opus-5",
"vendor": "anthropic",
"vendor_name": "Anthropic",
"display_name": "Claude Opus 5",
"type": "text",
"input_modalities": [
"text",
"image"
],
"output_modalities": [
"text"
],
"features": [
"function_calling",
"reasoning"
],
"context_length": 1000000,
"billing_unit": "per_token",
"input_price": "5.00000000",
"output_price": "25.00000000"
}
],
"total": 480,
"page": 1,
"page_size": 50
}