读取能力与参考价格List capabilities and reference prices
GET/v1/model-access/catalog
可匿名,带 API Key 返回账号范围Public reference. An API key applies account scope.
匿名获取公开参考目录,带 Key 获取当前账号和 Key 可用的能力。Read the public reference catalog, or authenticate to see capabilities available to the account and key.
请求参数Request parameters
此接口没有路径参数、查询参数或请求体。No path parameters, query parameters, or request body.
响应字段Response fields · HTTP 200
| 字段Field | 类型Type | 含义Description |
|---|---|---|
version / price_scope | string | 合同版本。价格范围是 reference 或 account。Contract version. Price scope is reference or account. |
models[].id / provider / region | string | 完整模型 ID、供应商和区域。Full model ID, provider and region. |
models[].operations / capabilities | array | 允许的操作及模型支持的能力。Allowed operations and capabilities. |
models[].pricing / parameters | object | 参考价格、请求参数或媒体 contract。Reference prices, parameters or media contract. |
models[].verification | object | 服务端已登记的能力验证状态。Recorded capability verification state. |
请求示例 · curlExample request · curl
curl -i "$LASTAI_CLOUD_ORIGIN/v1/model-access/catalog" \
-H "Authorization: Bearer $LASTAI_API_KEY"响应示例 · JSONExample response · JSON
{
"version": "lastai.model-capabilities.v1",
"price_scope": "account",
"models": [
{
"id": "deepseek/deepseek-v4-flash",
"provider": "deepseek",
"region": "cn",
"operations": [
"chat",
"responses"
],
"capabilities": [
"input:text",
"output:text"
],
"pricing": {
"currency": "CNY",
"list_price_currency": "USD",
"multiplier": 1
},
"parameters": {
"context_tokens": 1048576,
"display_name": "DeepSeek V4 Flash"
},
"verification": {
"state": "available",
"operations": {}
}
}
]
}