GET /api/models catalog endpoint. Use the returned model IDs for API requests, then confirm capability and pricing details in the model directory.
Call the model catalog
The following request lists available models:Python model list
The following Python example prints model IDs from the catalog:Use a model ID
The following example sends a request with one model ID from the catalog:Common errors
| Error | Fix |
|---|---|
| Treating the catalog as pricing data | Use the model directory for pricing and capability details. |
| Reusing stale model IDs | Fetch the catalog during deployment or startup. |
Confusing /api/models and /v1/models | Use /api/models for the public catalog. Use authenticated /v1/models only when you need the OpenAI-compatible model-list shape. |
| Wrong endpoint for the model type | Match the model capability to the API reference page. |