Example Usage
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
contextLength | number | :heavy_check_mark: | N/A | |
latencyLast30m | models.PercentileStats | :heavy_check_mark: | Latency percentiles in milliseconds over the last 30 minutes. Latency measures time to first token. Only visible when authenticated with an API key or cookie; returns null for unauthenticated requests. | {"p50": 25.5,"p75": 35.2,"p90": 48.7,"p99": 85.3} |
maxCompletionTokens | number | :heavy_check_mark: | N/A | |
maxPromptTokens | number | :heavy_check_mark: | N/A | |
modelId | string | :heavy_check_mark: | The unique identifier for the model (permaslug) | openai/gpt-4 |
modelName | string | :heavy_check_mark: | N/A | |
name | string | :heavy_check_mark: | N/A | |
pricing | models.Pricing | :heavy_check_mark: | N/A | |
providerName | models.ProviderName | :heavy_check_mark: | N/A | OpenAI |
quantization | models.PublicEndpointQuantization | :heavy_check_mark: | N/A | fp16 |
status | models.EndpointStatus | :heavy_minus_sign: | N/A | 0 |
supportedParameters | models.Parameter[] | :heavy_check_mark: | N/A | |
supportsImplicitCaching | boolean | :heavy_check_mark: | N/A | |
tag | string | :heavy_check_mark: | N/A | |
throughputLast30m | models.PercentileStats | :heavy_check_mark: | N/A | {"p50": 25.5,"p75": 35.2,"p90": 48.7,"p99": 85.3} |
uptimeLast1d | number | :heavy_check_mark: | Uptime percentage over the last 1 day, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data. | |
uptimeLast30m | number | :heavy_check_mark: | N/A | |
uptimeLast5m | number | :heavy_check_mark: | Uptime percentage over the last 5 minutes, calculated as successful requests / (successful + error requests) * 100. Rate-limited requests are excluded. Returns null if insufficient data. |