| Endpoint | Returns |
|---|---|
GET /v1/models | OpenAI-style list |
GET /v1/models/count | {"data":{"count":N}} |
GET /v1/model/{id} | one model: context, modalities, price |
GET /apix/models/info | full catalog with capabilities and status |
/v1/models filters by output modality:
curl "$APIX_BASE/v1/models" -H "Authorization: Bearer $APIX_KEY"
curl "$APIX_BASE/v1/models?output_modalities=image" -H "Authorization: Bearer $APIX_KEY"Values: text (default, returns everything), image, video, speech, transcription, embeddings.
What a model entry looks like#
GET /apix/models/info is the one to use when building a UI:
{
"id": "4/glm-5.3-flash",
"provider": "4",
"context": 1000000,
"max_output_tokens": 131072,
"input_modalities": ["text"],
"output_modalities": ["text"],
"supports_tools": true,
"protocols": {"openai_chat": "native", "anthropic_messages": "native"},
"operations": {
"chat": {"enabled": true, "source": "legacy"},
"messages": {"enabled": true, "source": "legacy"},
"responses": {"enabled": false, "source": "unspecified"}
},
"input_price_per_mtok": 0.15,
"output_price_per_mtok": 0.5,
"going_away": null,
"zdr": true
}zdr is the Zero Data Retention badge of the dashboard: true (no retention), "warning" (safety retention), false (retains data), null (unknown). When a provider serves the model through several endpoints the entry also carries "endpoints": [{"name": "primary", "label": "provider-a", "zdr": true}, ...]; the name is what the endpoint field accepts, and zdr follows the first one (the main endpoint).
Check operations.<name>.enabled and supports_tools before using a feature. This endpoint is the catalog: it carries no live status (only going_away). For up/down see Model status.
Aliases#
Some ids are aliases, not single models: auto, global, global/best and a few names like deepseek-pro or qwen. An alias points to a chain of models, so if the first one fails the next is tried automatically. The response keeps the alias id on purpose (x-apix-model), so you don't need to know which provider served it.