> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PublicEndpoint - Python SDK

> PublicEndpoint method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

Information about a specific model endpoint

## Fields

| Field                       | Type                                                                                             | Required             | Description                                                                                                                                                                                               | Example |
| --------------------------- | ------------------------------------------------------------------------------------------------ | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `name`                      | *str*                                                                                            | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `model_name`                | *str*                                                                                            | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `context_length`            | *float*                                                                                          | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `pricing`                   | [components.Pricing](/client-sdks/python/api-reference/components/pricing)                       | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `provider_name`             | [components.ProviderName](/client-sdks/python/api-reference/components/providername)             | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       | OpenAI  |
| `tag`                       | *str*                                                                                            | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `quantization`              | [Nullable\[components.PublicEndpointQuantization\]](../components/publicendpointquantization.md) | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       | fp16    |
| `max_completion_tokens`     | *Nullable\[float]*                                                                               | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `max_prompt_tokens`         | *Nullable\[float]*                                                                               | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `supported_parameters`      | List\[[components.Parameter](/client-sdks/python/api-reference/components/parameter)]            | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `status`                    | [Optional\[components.EndpointStatus\]](../components/endpointstatus.md)                         | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                       | 0       |
| `uptime_last_30m`           | *Nullable\[float]*                                                                               | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `supports_implicit_caching` | *bool*                                                                                           | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
| `latency_last_30m`          | [Nullable\[components.PercentileStats\]](../components/percentilestats.md)                       | :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. |         |
| `throughput_last_30m`       | [Nullable\[components.PercentileStats\]](../components/percentilestats.md)                       | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       |         |
