Models
GET
/v1/modelsList all available models and their capabilities.
This endpoint is publicly accessible and does not require authentication.
curl https://api.embercloud.ai/v1/models
Response
The response includes all available models with live pricing. Below is a truncated example — call the endpoint for up-to-date pricing.
Response
{
"object": "list",
"data": [
{
"id": "glm-5",
"name": "GLM-5",
"created": 1739404800,
"context_length": 203000,
"max_output_length": 131000,
"quantization": "unknown",
"input_modalities": ["text"],
"output_modalities": ["text"],
"pricing": {
"prompt": "0.000001",
"completion": "0.0000032",
"cache_read": "0.0000002"
},
"supported_parameters": ["messages", "model", "stream", ...]
},
{
"id": "glm-4.7",
"name": "GLM-4.7",
...
},
...
]
}