Overview
Returns the IDs of listed models. To switch models, change only the model field in a request.
See complete capabilities, prices, and filters in the Model Catalog. Experimental or internal models may not be listed and therefore will not appear here.
Filtering by key group
The list is filtered by the current key group. Each model is configured separately for Economy, Standard, and Premium groups, and a model may not support every group. /v1/models returns only models that are available to this key's group.
To inspect supported groups and their effective prices, open the Model Catalog
Understanding groups
- Economy: prioritizes cost and offers the lowest price for batch workloads that are less sensitive to latency or quality.
- Standard (default): balances performance and cost for most production workloads.
- Premium: prioritizes high-quality, highly available upstreams at a higher price.
Choose a group when creating an API key. Each key uses one fixed group; create multiple keys to call across groups. See model group availability and prices in the Model Catalog
Request and response bodies
Use the examples below to verify the request and response structures. To send a request, select Debug at the top of the page.
curl https://zerofa.ai/v1/models \
-H "Authorization: Bearer sk-zerofa-xxx"{
"object": "list",
"data": [
{ "id": "site-model-id-1", "object": "model", "created": 1715961234, "owned_by": "configured-provider" },
{ "id": "site-model-id-2", "object": "model", "created": 1715961234, "owned_by": "configured-provider" }
]
}