Get a Model
/v1/models/{model_id}Overview
Public, like the model list; a key that is sent is checked. A model that has been switched off or retired still resolves, with state disabled, its expiration_date and, when it was switched off, disabled_reason.
Parameters
model_idpath · stringRequiredExact model slug or route alias.
Responses
200Model metadata.
idstringRequirednamestringRequiredownerstringRequiredtaskstringRequiredValues: "llm""transcription""speech""s2s""embeddings""moderation""images""videos""ocr""rerank""music""audio""classification""vision"
input_modalitiesstring[]RequiredShow nested fields
string
output_modalitiesstring[]RequiredShow nested fields
string
statestringRequiredValues: "active""preview""disabled"
languagesstring[]Show nested fields
string
featuresobjectShow nested fields
batchbooleanstreambooleandiarizationbooleanword_timestampsbooleansegment_timestampsbooleanconfidencebooleanredactionbooleantranslationbooleankeytermsbooleansubtitlesbooleanduplexbooleanrealtimebooleanaudio_inputbooleanaudio_outputbooleantoolsbooleandefault_routestring | nullendpointsstring[]RequiredShow nested fields
string
expiration_datestring | nullThe provider's announced shutdown (UTC date), or null.
disabled_reasonstringWhy a model was switched off; only on a single-model lookup of a withdrawn model.
canonical_slugstringLanguage models. The same as id.
createdinteger | nullLanguage models. Release date as Unix seconds; null when the maker never published one.
descriptionstringcontext_lengthintegerLanguage models. The most input tokens a request may carry.
architectureobjectLanguage models.
Show nested fields
modalitystringinput_modalitiesstring[]What a request may carry. image and file (PDF) parts bill as input tokens.
Show nested fields
string
output_modalitiesstring[]Show nested fields
string
tokenizerstringinstruct_typenullpricingobjectLanguage models. USD per token as decimal strings, what AudioLab charges (the provider's rate minus 15%). "-1" when the price is that of the models that answer.
Show nested fields
promptstringcompletionstringinput_cache_readstringweb_searchstringUSD per web search call, query or grounded request with the model's own search; "0" when it cannot search.
top_providerobjectLanguage models.
Show nested fields
context_lengthintegermax_completion_tokensinteger | nullThe output cap. A request without max_tokens may generate up to it.
is_moderatedbooleanper_request_limitsnullsupported_parametersstring[]Language models. Request parameters the model's contract honours.
Show nested fields
string
default_parametersobjectsupported_endpointsstring[]Set when a model is served on one API only.
Show nested fields
string
401Authentication is missing or invalid.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
404Resource was not found.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
429Rate limit exceeded.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
500Internal server error.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.