Retrieve the jiasmart Platform Model List
Returns the platform's public catalog of chat models. The response follows the OpenAI-style { "object": "list", "data": [...] } structure. This catalog is intended for model selection and capability discovery and does not mean that the corresponding services have necessarily been applied for or enabled on the current account. For the complete catalog of image, audio, video, and other model types, use GET /api/v1/models/catalog/.
¶ API Overview
| Item | Description |
|---|---|
| Method | GET |
| URL | https://jiasmart.platform.acedata.cloud/api/v1/models/ |
| Authentication | Public, no account token required |
| Pagination | No pagination; all matching items are returned in data |
¶ Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
owned_by |
string | No | Exact filtering by the model provider identifier in the catalog |
type |
string | No | Exact filtering by model type, e.g. chat |
capability |
string | No | Returns only models whose capabilities include the specified capability, e.g. vision |
with_pricing |
boolean | No | Appends public pricing information when set to 1, true, or yes |
service_id, tag, limit, offset, and ordering are currently unsupported. Passing these parameters will not produce the corresponding filtering or pagination effects.
¶ Request Examples
# All public models
curl 'https://jiasmart.platform.acedata.cloud/api/v1/models/' \
-H 'Accept: application/json'
# Chat models that support vision, with pricing
curl --get 'https://jiasmart.platform.acedata.cloud/api/v1/models/' \
--data-urlencode 'type=chat' \
--data-urlencode 'capability=vision' \
--data-urlencode 'with_pricing=true' \
-H 'Accept: application/json'
import requests
response = requests.get(
"https://jiasmart.platform.acedata.cloud/api/v1/models/",
params={"type": "chat", "capability": "vision", "with_pricing": "true"},
timeout=10,
)
response.raise_for_status()
payload = response.json()
for model in payload["data"]:
print(model["id"], model["capabilities"], model.get("pricing"))
¶ Actual Response Structure
{
"object": "list",
"data": [
{
"id": "example-model",
"label": "Example Model",
"owned_by": "example",
"service_prefix": "acedatacloud-example",
"group_label": "Example",
"type": "chat",
"capabilities": ["vision"],
"object": "model",
"endpoints": [
{
"api_id": "example-api-id",
"path": "/v1/chat/completions",
"protocol": "chat_completions",
"base_url": "https://api.acedata.cloud/v1",
"auth": "bearer",
"unit": "1M tokens",
"pricing": {
"kind": "tokens",
"input_credits": 10,
"output_credits": 20,
"source": {"kind": "api", "id": "example-api-id"}
}
}
],
"pricing": {
"currency": "USD",
"kind": "tokens",
"unit": "1M_tokens",
"input_usd": 1,
"output_usd": 2,
"basis": "lowest_public_package_rate",
"source": {"kind": "service", "id": "example-service-id"},
"credit_usd_rate": 0.1
},
"rates": [{"id": "example-package", "amount": 100, "price": 10, "rate": 0.1}]
}
],
"credit_usd_rate": 0.1
}
The models, packages, and prices in the example are for illustrative purposes only. The top-level model pricing, rates, and the response's credit_usd_rate are included only when with_pricing=true. The model list is derived from published API bindings and request model enumerations. Clients should ignore newly added fields.
endpoints are always returned in both catalogs. Clients should select the interface according to each model's protocol: chat_completions, responses, or messages. They must not assume Chat Completions support based solely on type=chat. base_url is the base address for the corresponding SDK. Messages uses the site root URL, while the other two protocols use /v1. All these interfaces use Authorization: Bearer <token>. When using the Anthropic SDK, configure auth_token rather than sending only x-api-key.
Each endpoint's pricing comes from the billing rules of that API, and the amount is denominated in Credits. pricing=null indicates that the price cannot be projected; it does not mean the service is free. Multiplying by the selected rates[].rate converts the amount into USD. Models billed per request retain kind=unit and must not be converted into per-token prices. Token prices are baseline projections for standard contexts; conditions such as caching and long contexts remain subject to the API rules.
The model's top-level pricing represents the catalog display price, converted using the lowest public package rate. If official_* fields appear, they represent reference prices, not jiasmart's selling prices. Unknown context limits or capabilities should remain unspecified and should not be inferred from models with the same name from the original provider.
Pricing fields are catalog display data. Actual business API calls remain subject to the billing rules of the corresponding API/Service and the final usage records.

