v1

latestOpenAPI 3.1.02026-07-1381112.3 KB
models

Retrieve Model

OpenAI-style single model retrieval.

Supports both base models and LoRAs:

  • Base model: /models/meta-llama/Llama-3.1-8B
  • LoRA: /models/meta-llama/Llama-3.1-8B:my-adapter

Note: Some base models contain colons (e.g., OpenRouter :free variants). We first try exact match as base model, then fall back to LoRA parsing.

Returns 404 for unauthorized access to avoid leaking model existence.

get/api/v1/models/{model_id}

Path parameters

model_idstring required

Model id (base_model or base_model:lora_id); may contain '/'

Model id (base_model or base_model:lora_id); may contain '/'

Headers

authorizationstring nullable
x-api-keystring nullable
X-Prime-Team-Idstring nullable

Response

Successful Response

idstring required
objectstring
owned_bystring nullable
createdinteger nullable