Model listing in /models API.
| Field | Type | Required | Description |
|---|---|---|---|
context_length |
int | ✔️ | N/A |
created |
int | ✔️ | N/A |
description |
str | ✔️ | N/A |
functionality |
models.Functionality | ✔️ | Functionality of the model. |
hugging_face_url |
str | ✔️ | N/A |
id |
str | ✔️ | N/A |
license |
str | ✔️ | N/A |
max_completion_tokens |
int | ✔️ | N/A |
name |
str | ✔️ | N/A |
policy |
Nullable[str] | ✔️ | N/A |
pricing |
models.PricingModel | ✔️ | Pricing model supporting both token-based and time-based pricing. |