> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# PublicEndpoint

Information about a specific model endpoint

## Fields

| Field                       | Type                                                                                              | Required             | Description                                                                                                                                                                                               | Example                                                                          |
| --------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| `context_length`            | *int*                                                                                             | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `latency_last_30m`          | [Nullable\[components.PercentileStats\]](../components/percentilestats.mdx)                       | :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. | \{<br />"p50": 25.5,<br />"p75": 35.2,<br />"p90": 48.7,<br />"p99": 85.3<br />} |
| `max_completion_tokens`     | *Nullable\[int]*                                                                                  | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `max_prompt_tokens`         | *Nullable\[int]*                                                                                  | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `model_id`                  | *str*                                                                                             | :heavy\_check\_mark: | The unique identifier for the model (permaslug)                                                                                                                                                           | openai/gpt-4                                                                     |
| `model_name`                | *str*                                                                                             | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `name`                      | *str*                                                                                             | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `pricing`                   | [components.Pricing](../components/pricing.mdx)                                                   | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `provider_name`             | [components.ProviderName](../components/providername.mdx)                                         | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       | OpenAI                                                                           |
| `quantization`              | [Nullable\[components.PublicEndpointQuantization\]](../components/publicendpointquantization.mdx) | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       | fp16                                                                             |
| `status`                    | [Optional\[components.EndpointStatus\]](../components/endpointstatus.mdx)                         | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                       | 0                                                                                |
| `supported_parameters`      | List\[[components.Parameter](../components/parameter.mdx)]                                        | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `supports_implicit_caching` | *bool*                                                                                            | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `tag`                       | *str*                                                                                             | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `throughput_last_30m`       | [Nullable\[components.PercentileStats\]](../components/percentilestats.mdx)                       | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       | \{<br />"p50": 25.5,<br />"p75": 35.2,<br />"p90": 48.7,<br />"p99": 85.3<br />} |
| `uptime_last_1d`            | *Nullable\[float]*                                                                                | :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.                   |                                                                                  |
| `uptime_last_30m`           | *Nullable\[float]*                                                                                | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |                                                                                  |
| `uptime_last_5m`            | *Nullable\[float]*                                                                                | :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.               |                                                                                  |
