List the model catalog¶
List names, capabilities, prices, and enabled status for models visible to the current user.
GET https://billing.moi.matrixorigin.cn/api/v1/taas/models
Before you begin¶
Prepare a personal access token. For creation and management, see Manage personal access tokens.
Results are scoped to data accessible to the current user.
Query parameters¶
Replace $MOI_PERSONAL_ACCESS_TOKEN in the example with your personal access token.
curl --get "https://billing.moi.matrixorigin.cn/api/v1/taas/models" \
-H "X-API-Key: $MOI_PERSONAL_ACCESS_TOKEN" \
--data-urlencode "page_size=2"
Save the returned next_page_token as $NEXT_PAGE_TOKEN, retain the same filters, and request the next page. Stop when this value is empty or omitted.
curl --get "https://billing.moi.matrixorigin.cn/api/v1/taas/models" \
-H "X-API-Key: $MOI_PERSONAL_ACCESS_TOKEN" \
--data-urlencode "page_size=2" \
--data-urlencode "page_token=$NEXT_PAGE_TOKEN"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
Filter by model type. |
|
string |
No |
Filter by enabled status. |
|
string |
No |
Search name, alias, description, series, type, or provider name. |
|
string |
No |
Search term used when |
|
string |
No |
Pricing filter: |
|
string |
No |
Model series; repeat the parameter or separate values with commas. |
|
string |
No |
Alias for |
|
string |
No |
Add series matches to the search; repeat or comma-separate values. |
|
string |
No |
Add type matches to the search; repeat or comma-separate values. |
|
integer |
No |
Only models with a positive context window no greater than this value. |
|
string |
No |
Health filter; all applies no restriction. |
|
integer |
No |
Page size; default 100, maximum 1000. |
|
string |
No |
Next-page token from the previous response; omit for the first request. |
Successful response¶
Returns HTTP 200 with the model catalog visible to the current user.
{
"items": [
{
"id": "model_example",
"name": "example-chat-model",
"alias": "Example Chat",
"logo": "example",
"description": "Example chat model.",
"type": "chat",
"native_types": [
"chat"
],
"capabilities": [
"chat"
],
"context_window": 32768,
"input_price_per_million": "0",
"output_price_per_million": "0",
"cache_creation_price_per_million": "0",
"cache_hit_price_per_million": "0",
"ocr_price_per_page": "0",
"image_price_per_image": "0",
"image_hd_price_per_image": "0",
"video_price_per_second": "0",
"video_hd_price_per_second": "0",
"tts_price_per_10k_chars": "0",
"tts_hd_price_per_10k_chars": "0",
"asr_price_per_minute": "0",
"asr_realtime_price_per_minute": "0",
"currency": "CNY",
"parameters": "7B",
"max_output_tokens": 8192,
"visibility": "public",
"allowed_user_ids": [
"user_example"
],
"status": "enabled",
"health_status": "healthy",
"created_at": 1788710400,
"updated_at": 1788710400
}
],
"total": 1,
"next_page_token": ""
}
Field |
Type |
Description |
|---|---|---|
|
array of object |
Records on this page. |
|
string |
Catalog object ID, used for management queries such as model health. |
|
string |
Model name used in inference requests. |
|
string |
Display alias; omitted when unset. |
|
string |
Model series identifier; omitted when unset. |
|
string |
Model description; omitted when unset. |
|
string |
Model type. |
|
array of string |
Associated native model types; omitted when unset. |
|
array of string |
Supported inference capabilities; omitted when unset. |
|
integer |
Context window in tokens; omitted when unset. |
|
string |
Price per million input tokens. Omitted when unset. |
|
string |
Price per million output tokens. Omitted when unset. |
|
string |
Price per million cache-creation tokens. Omitted when unset. |
|
string |
Price per million cache-read tokens. Omitted when unset. |
|
string |
OCR price per page. Omitted when unset. |
|
string |
Price per image. Omitted when unset. |
|
string |
Price per HD image. Omitted when unset. |
|
string |
Price per second of video. Omitted when unset. |
|
string |
Price per second of HD video. Omitted when unset. |
|
string |
TTS price per 10,000 characters. Omitted when unset. |
|
string |
HD TTS price per 10,000 characters. Omitted when unset. |
|
string |
ASR price per minute. Omitted when unset. |
|
string |
Real-time ASR price per minute. Omitted when unset. |
|
string |
Currency of model prices. |
|
string |
Model parameter-size description; omitted when unset. |
|
integer |
Maximum output tokens; omitted when unset. |
|
string |
Model visibility. |
|
array of string |
User IDs permitted for a private model; omitted when unset. |
|
string |
Model enabled status. |
|
string |
Latest aggregate model health status. |
|
integer |
Creation time, Unix seconds. |
|
integer |
Update time, Unix seconds. |
|
integer |
Total records matching the filters. |
|
string |
Next-page token; empty or omitted on the last page. |
In field paths, [] denotes each array item.
This endpoint applies the current user’s catalog visibility. Use the inference model name when calling a model; the Genesis model list identifies the models available to the inference credential.
Next steps¶
Use an item’s id to Get model health.