Skip to content

Model

Type: object

Properties

Property Type Required Description
id string Yes

The model identifier

Example: llama-2-7b-chat

object string Yes

The object type, always "model"

Example: model

created integer (int64) Yes

The Unix timestamp (in seconds) when the model was created

Example: 1672531200

owned_by string Yes

The namespace and MaaSModelRef name (format: namespace/name)

Example: model-namespace/llama-2-7b-chat

ready boolean Yes

Model ready status

Example: true

url string No

Model URL (optional)

Example: https://api.example.com/v1/models/llama-2-7b-chat

modelDetails ModelDetails No
kind string No

The model reference kind (e.g., "LLMInferenceService")

Example: LLMInferenceService

subscriptions array of SubscriptionInfo No

Subscriptions that provide access to this model. When X-MaaS-Return-All-Models is used, models accessible via multiple subscriptions include multiple entries in this array.

Example

{
  "created": 1672531200,
  "id": "llama-2-7b-chat",
  "object": "model",
  "owned_by": "model-namespace/llama-2-7b-chat",
  "ready": true,
  "url": "https://api.example.com/v1/models/llama-2-7b-chat",
  "modelDetails": {
    "displayName": "Llama 2 7B Chat",
    "description": "A large language model optimized for chat use cases",
    "genaiUseCase": "chat",
    "contextWindow": "4096"
  },
  "kind": "LLMInferenceService",
  "subscriptions": [
    {
      "name": "premium-subscription",
      "displayName": "Premium Subscription",
      "description": "Premium subscription with higher rate limits"
    }
  ]
}