Recuperar um modelo
Recupera uma instância de modelo, fornecendo informações básicas sobre o modelo, como o proprietário e as capacidades suportadas.
Autorizações
Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.
Cabeçalhos
Optional external end-user identifier forwarded by the API gateway.
Parâmetros de caminho
Resposta
OK
-9007199254740991 <= x <= 9007199254740991llm, embeddings, images, speech_to_text, text_to_speech, rerank Modalities this model accepts as input, mirroring the registry's capabilities.modalities.input (e.g. ["text", "image"]). Clients use it to decide whether an attachment — an image, audio clip, or video — can be sent to this model at all.
Modalities this model can produce, mirroring the registry's capabilities.modalities.output. Unconstrained strings rather than a closed enum so a new registry modality reaches clients without a breaking schema change.
Context window in tokens, mirroring the registry's contextWindow. For an LLM it is the input plus output tokens one request can span: the Responses API trims the oldest conversation items to fit it, reserving nothing for the output, unless the request sets truncation to disabled, which rejects an oversized request instead; a separate request-size limit in bytes applies the same way. Chat completions forwards requests unchanged. For an embeddings model /embeddings derives a per-input character cap from it, alongside a gateway-wide per-input ceiling; GET /embeddings/models reports whichever binds first as max_input_length. On other model types the gateway does not read it, so a recorded value is informational only and not enforced. Null when the registry does not record one.
-9007199254740991 <= x <= 9007199254740991Largest input image declared for this model, mirroring the registry's capabilities.maxImageResolution. A recorded bound does not mean the model accepts images; input_modalities decides that. Only the Responses API reads it, scaling a larger image down to fit before forwarding it and keeping its aspect ratio; no other endpoint, chat completions included, resizes for it. When a minimum is also set it is applied last, so an image with an extreme aspect ratio can still end up beyond this bound. Null when the registry does not record a limit.
Smallest input image declared for this model, mirroring the registry's capabilities.minImageResolution. A recorded bound does not mean the model accepts images; input_modalities decides that. Only the Responses API reads it, scaling a smaller image up to meet it before forwarding it and keeping its aspect ratio; no other endpoint, chat completions included, resizes for it. Null when the registry does not record a limit.
Output vector sizes declared for this model, mirroring the registry's embeddingLimits.dimensions, which is normally recorded only on embeddings models. When min equals max the size is fixed: /embeddings ignores a requested dimensions and returns that size, and vector stores accept only that size. Otherwise a requested size must lie within the range: /embeddings and vector stores reject one outside it with 400. Null when the registry does not record dimensions; a vector store using such a model must then be created with an explicit size (embedding_dimensions on POST /vector_stores). Distinct from the vector store's own embedding_dimensions, which is a single size.
Total parameter count of the weights behind this model, mirroring the registry's modelCard.parameterCount. Null when the registry does not record one (closed-weight API models, or entries nobody has filled in yet).
-9007199254740991 <= x <= 9007199254740991Parameters active per token for mixture-of-experts models, mirroring the registry's modelCard.activeParameterCount. Null for dense models and whenever unrecorded.
-9007199254740991 <= x <= 9007199254740991Public release date of the model as an ISO calendar date (YYYY-MM-DD), mirroring the registry's modelCard.releaseDate. Null when unrecorded.
Where the model may be served from, as the registry declares it (e.g. ["aws:us-west-2"]): short opaque labels, not a guarantee for any one request. A request's own location, when the serving upstream reports it, is on the response object as resolved_serving_location. Null when the registry declares none, which is the case for externally hosted models.
Who trained the model, mirroring the registry's modelCard.developer (e.g. "MeetKai", "Z.AI"). Null when unrecorded.
The model these weights were derived from, as its publisher names it, mirroring modelCard.baseModel. Null for a foundation model and when unrecorded.
Whether the weights can be obtained, mirroring modelCard.weights; the licence applies to them. Null when unrecorded.
open, closed Licence of the weights as the developer publishes it, mirroring modelCard.license: an SPDX identifier where one exists (e.g. "apache-2.0"), or "proprietary" for closed weights. An identifier, not validated against the SPDX list. Null when unrecorded.
Languages the model is intended for, as ISO 639-1 codes, mirroring modelCard.languages. Null when unrecorded.
Available public TTS voices and default voice IDs by language. Provider voice identifiers are not exposed.
Known limitations in one short paragraph, mirroring modelCard.limitations. Null when unrecorded.
Where the model is in its life. status is active unless the registry says otherwise; a deprecated or retired model carries the dates and, when one is named, the registry id of its successor. MKA1 announces a retirement at least 90 days before retires_at. Informational: a retired model is not yet refused by the gateway.
Curated public generation capabilities for this model.
Set when this name is a benchmark-backed model alias rather than a model: it serves whichever of its candidate models scores best on an eval suite, so served_model_id can change over time. Every other field then describes the served model. Null for a model.