Home / Docs / API reference
/public/models/{provider}/{model}
GET /public/models/{provider}/{model}
Authentication public, no credential
Path parameters
provider required | string | |
model required | string |
Response
| Field | Type | Description |
|---|---|---|
provider required | string | |
model required | string | The model id. In a request it is optional: without it the key's routing chooses. |
family | string or null | |
contextWindow | integer or null | |
priceInputPerMillionUsd | number or null | |
priceOutputPerMillionUsd | number or null | |
partner required | boolean | |
latency | object | |
latency.p50Ms | number or null | |
latency.p95Ms | number or null | |
latency.window | string | Always "24h". |
uptime | object | |
uptime.5m | null | |
uptime.30m | null | |
uptime.1d | number or null | |
floor | integer |
Example response (shape)
{
"provider": "<provider>",
"model": "provider/model-id",
"family": "<family>",
"contextWindow": "<contextWindow>",
"priceInputPerMillionUsd": "<priceInputPerMillionUsd>",
"priceOutputPerMillionUsd": "<priceOutputPerMillionUsd>",
"partner": false,
"latency": {
"p50Ms": "<p50Ms>",
"p95Ms": "<p95Ms>",
"window": "24h"
},
"uptime": {
"5m": null,
"30m": null,
"1d": "<1d>"
},
"floor": 0
}Full schema (JSON)
Response schema
{
"description": "404 {error:not_found} for a name the catalogue and the partner listing do not know. Latency and uptime are null below the k-floor.",
"type": "object",
"required": [
"provider",
"model",
"partner"
],
"properties": {
"provider": {
"type": "string"
},
"model": {
"type": "string"
},
"family": {
"type": [
"string",
"null"
]
},
"contextWindow": {
"type": [
"integer",
"null"
]
},
"priceInputPerMillionUsd": {
"type": [
"number",
"null"
]
},
"priceOutputPerMillionUsd": {
"type": [
"number",
"null"
]
},
"partner": {
"type": "boolean"
},
"latency": {
"type": "object",
"properties": {
"p50Ms": {
"type": [
"number",
"null"
]
},
"p95Ms": {
"type": [
"number",
"null"
]
},
"window": {
"const": "24h"
}
}
},
"uptime": {
"type": "object",
"properties": {
"5m": {
"type": "null"
},
"30m": {
"type": "null"
},
"1d": {
"type": [
"number",
"null"
]
}
}
},
"floor": {
"type": "integer"
}
}
}