Models
Get a model by its identifier.
Get a model by its identifier. Returns OpenAI, Anthropic, or Google response format based on SDK detection headers.
get/v1/models/{model_id}
Path parameters
model_idstring required
The ID of the model to get.
The ID of the model to get.
Headers
anthropic-versionstring nullable
x-goog-api-keystring nullable
x-goog-user-projectstring nullable
x-goog-api-clientstring nullable
Response
Returns OpenAI format by default. Send anthropic-version header for Anthropic format, or any Google SDK header (x-goog-api-key, x-goog-user-project, x-goog-api-client) for Google format.