v1

latestOpenAPI 3.1.0Commercial2026-07-26232551.7 KB
Models

Get model details

get/models/{model_id}

Path parameters

model_idstring required

Response

OK

idstring
object'model'
createdinteger
owned_bystring
supported_endpoint_typesstring[]
context_lengthinteger

Maximum context window in tokens. Present only when the administrator has populated capability metadata for this model; otherwise omitted.

max_completion_tokensinteger

Maximum tokens the model can return per response. Present only when admin metadata exists; otherwise omitted.

Example response

{
  "id": "openai/gpt-4o-mini",
  "owned_by": "openai",
  "supported_endpoint_types": [
    "openai"
  ],
  "architecture": {
    "input_modalities": [
      "text",
      "image"
    ],
    "output_modalities": [
      "text"
    ]
  }
}