mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
Auto-generated Python SDK for OpenRouter API, providing comprehensive client library with: - Chat completions and streaming support - Embeddings API - Model and provider information - API key management - Analytics and usage tracking - OAuth authentication flows - Full type hints and error handling
22 lines
6.6 KiB
Markdown
22 lines
6.6 KiB
Markdown
# PublicEndpoint
|
|
|
|
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` | [models.Pricing](../models/pricing.md) | :heavy_check_mark: | N/A | |
|
|
| `provider_name` | [models.ProviderName](../models/providername.md) | :heavy_check_mark: | N/A | OpenAI |
|
|
| `tag` | *str* | :heavy_check_mark: | N/A | |
|
|
| `quantization` | [Nullable[models.PublicEndpointQuantization]](../models/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[[models.Parameter](../models/parameter.md)] | :heavy_check_mark: | N/A | |
|
|
| `status` | [Optional[models.EndpointStatus]](../models/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 | | |