mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +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
6.6 KiB
6.6 KiB
PublicEndpoint
Information about a specific model endpoint
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name |
str | ✔️ | N/A | |
model_name |
str | ✔️ | N/A | |
context_length |
float | ✔️ | N/A | |
pricing |
models.Pricing | ✔️ | N/A | |
provider_name |
models.ProviderName | ✔️ | N/A | OpenAI |
tag |
str | ✔️ | N/A | |
quantization |
Nullable[models.PublicEndpointQuantization] | ✔️ | N/A | fp16 |
max_completion_tokens |
Nullable[float] | ✔️ | N/A | |
max_prompt_tokens |
Nullable[float] | ✔️ | N/A | |
supported_parameters |
List[models.Parameter] | ✔️ | N/A | |
status |
Optional[models.EndpointStatus] | ➖ | N/A | 0 |
uptime_last_30m |
Nullable[float] | ✔️ | N/A | |
supports_implicit_caching |
bool | ✔️ | N/A |