Models
List Models
GET /v1/modelsReturns the list of models available to the current token.
Request
curl https://test.kailin.com.cn/v1/models \
-H "Authorization: Bearer sk-your-token"
Response
{
"object": "list",
"data": [
{
"id": "deepseek-v4-1-flash-261017",
"object": "model",
"created": 1730000000,
"owned_by": "ai"
},
{
"id": "claude-sonnet-4-6",
"object": "model",
"created": 1730000000,
"owned_by": "ai"
}
]
}
| Field | Type | Description |
|---|---|---|
data[].id | string | Model name — pass it as model in other endpoints |
data[].owned_by | string | Upstream channel identifier |
tip
The list depends on the token's group and model restrictions. If an expected model is missing, check the token's model scope settings first.
Retrieve a Model
GET /v1/models/{model}curl https://test.kailin.com.cn/v1/models/deepseek-v4-1-flash-261017 \
-H "Authorization: Bearer sk-your-token"
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Model name, e.g. deepseek-v4-1-flash-261017 |
Response
{
"id": "deepseek-v4-1-flash-261017",
"object": "model",
"created": 1730000000,
"owned_by": "ai"
}