Models
Get total count of available models
Changed onget/models/count
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Query parameters
output_modalities, string
Filter models by output modality. Accepts a comma-separated list of modalities (text, image, embeddings, audio, video, rerank, decisions, speech, transcription) or "all" to include all models. Defaults to "text".
Example:text
Response
Returns the total count of available models
Models Count Response required
Model count data
data, object required
Model count data
Example response
{
"data": {
"count": 150
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
openrouter_metadatato the response with the status - info
added the optional property
openrouter_metadatato the response with the status
- info