diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 16dfa5d8..af48d6a1 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: c48cf606-fb42-4a45-9c23-8f0555307828
management:
- docChecksum: e6fdcb3ac45fe92953a95a11e51d498d
+ docChecksum: e9a90c8d19ffe3953003c7205605e71a
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
- releaseVersion: 1.3.52
- configChecksum: 74884b8c46d1c1bccc664502f76b7feb
+ releaseVersion: 1.3.53
+ configChecksum: 085f3a7f657752ae6e58d31556252e93
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
- generation_id: 9be81444-93da-47e2-975d-a50451e4ec19
- pristine_commit_hash: 203afc8e6d9084ed5debbc2ab28e9a68e22872b8
- pristine_tree_hash: 28e3e2f76f6ce62d7e2061b562575e4869558002
+ generation_id: be52aea6-d641-420b-b94f-005bb8509b74
+ pristine_commit_hash: dfc24c324429ff5435a119516fe08cd16ddfbd46
+ pristine_tree_hash: dfc856ef1d660f372890ef9577ac6e7351ea2b5c
features:
python:
acceptHeaders: 3.0.0
@@ -6392,8 +6392,8 @@ trackedFiles:
pristine_git_object: be1e5af9301ba917704f25fdafed31c152485abf
docs/components/publicendpoint.mdx:
id: ec4843ef5d86
- last_write_checksum: sha1:760859f114581ea80bbc874cffcf8729acea1ad6
- pristine_git_object: f4828c02468e8eac1684e3040fc95028e146b34e
+ last_write_checksum: sha1:c3a06151eb7a588e60eb643da8f7bef9ee9c8915
+ pristine_git_object: 7291e9f599e41e379c1ddec2b6d03e46552813b4
docs/components/publicpricing.mdx:
id: 61fb18b7ff94
last_write_checksum: sha1:e241420249fcbd1bf515b0f5e84934de0b207948
@@ -9388,8 +9388,8 @@ trackedFiles:
pristine_git_object: ae60c3675f77fb7422e258682416dcb039a9c39f
docs/operations/listendpointsresponse.mdx:
id: 342e9c72ba2f
- last_write_checksum: sha1:3d8f2863087c575eaa436b7a092454bf28ae3493
- pristine_git_object: f5f6478eab2bd96e7a5b810d456d01aa3611dde1
+ last_write_checksum: sha1:4501dac8a5756a764176d8e3de86c38d859b994b
+ pristine_git_object: 5e7b4dc5ec0e05add37cde180aa647d8e33813f5
docs/operations/listendpointszdrglobals.mdx:
id: 6ac5eadde8e5
last_write_checksum: sha1:c2de5b8884069ef0173168581bd0b6f7fc43fece
@@ -10288,8 +10288,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
- last_write_checksum: sha1:ce61bf6deb895c0f82edbeba5f0dc2015a59a003
- pristine_git_object: ab3871be8dea74478699a90f5ded5fdaa69554c6
+ last_write_checksum: sha1:fb7ea64431a1f52d038ff3888e915eb074837787
+ pristine_git_object: eb5f2f8a591009642cd2b9041599e02e28930c8f
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10316,8 +10316,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
- last_write_checksum: sha1:d376193f244b0e24a62bf670ba4c5630bd971633
- pristine_git_object: 5a3f314c5d3d9341836be35996a9515593380437
+ last_write_checksum: sha1:222f8fdf7be02811734ec260536e0d5a0b21951e
+ pristine_git_object: 109494ac321ccfde4864fa15671f82165cc5435f
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -13024,8 +13024,8 @@ trackedFiles:
pristine_git_object: 5f4a4186a9c98767217546b6b87d238fbc0155f3
src/openrouter/components/publicendpoint.py:
id: 848aa2ef9129
- last_write_checksum: sha1:8b105842667b99ee35fcb63268012fca05213fa3
- pristine_git_object: 5957a43728b0b4f749dcc01c693797ec6e4b806f
+ last_write_checksum: sha1:0d2c702ed1b5b7907296c0bde5b212c108919ee9
+ pristine_git_object: d5f777cda32f347bef1110c8740d7e3d101a86a9
src/openrouter/components/publicpricing.py:
id: 96d115d83cc5
last_write_checksum: sha1:fd8c320ac83b282eaf2405045329b55076d4311a
@@ -15028,7 +15028,7 @@ examples:
slug: "gpt-4"
responses:
"200":
- application/json: {"data": {"architecture": {"input_modalities": ["text"], "instruct_type": "chatml", "modality": "text->text", "output_modalities": ["text"], "tokenizer": "GPT"}, "created": 1692901234, "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", "endpoints": [{"context_length": 8192, "latency_last_30m": {"p50": 0.25, "p75": 0.35, "p90": 0.48, "p99": 0.85}, "max_completion_tokens": 4096, "max_prompt_tokens": 8192, "model_id": "openai/gpt-4", "model_name": "GPT-4", "name": "OpenAI: GPT-4", "native_tools": {}, "pricing": {"completion": "0.00006", "prompt": "0.00003"}, "provider_name": "OpenAI", "quantization": "fp16", "supported_parameters": ["temperature", "top_p", "max_tokens"], "supports_image_reference": false, "supports_implicit_caching": true, "supports_multiple_audio_references": false, "supports_tool_choice": {"auto": true, "function": true, "none": true, "required": true}, "supports_voice_cloning": false, "tag": "openai", "throughput_last_30m": {"p50": 45.2, "p75": 38.5, "p90": 28.3, "p99": 15.1}, "uptime_last_1d": 99.8, "uptime_last_30m": 99.5, "uptime_last_5m": 100}], "id": "openai/gpt-4", "name": "GPT-4"}}
+ application/json: {"data": {"architecture": {"input_modalities": ["text"], "instruct_type": "chatml", "modality": "text->text", "output_modalities": ["text"], "tokenizer": "GPT"}, "created": 1692901234, "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", "endpoints": [{"context_length": 8192, "latency_last_30m": {"p50": 0.25, "p75": 0.35, "p90": 0.48, "p99": 0.85}, "max_completion_tokens": 4096, "max_prompt_tokens": 8192, "model_id": "openai/gpt-4", "model_name": "GPT-4", "name": "OpenAI: GPT-4", "native_tools": {}, "pricing": {"completion": "0.00006", "prompt": "0.00003"}, "provider_name": "OpenAI", "quantization": "fp16", "supported_parameters": ["temperature", "top_p", "max_tokens"], "supports_diarization": false, "supports_image_reference": false, "supports_implicit_caching": true, "supports_multiple_audio_references": false, "supports_tool_choice": {"auto": true, "function": true, "none": true, "required": true}, "supports_voice_cloning": false, "tag": "openai", "throughput_last_30m": {"p50": 45.2, "p75": 38.5, "p90": 28.3, "p99": 15.1}, "uptime_last_1d": 99.8, "uptime_last_30m": 99.5, "uptime_last_5m": 100}], "id": "openai/gpt-4", "name": "GPT-4"}}
"404":
application/json: {"error": {"code": 404, "message": "Resource not found"}}
"500":
@@ -15039,7 +15039,7 @@ examples:
speakeasy-default-list-endpoints-zdr:
responses:
"200":
- application/json: {"data": [{"context_length": 8192, "latency_last_30m": {"p50": 0.25, "p75": 0.35, "p90": 0.48, "p99": 0.85}, "max_completion_tokens": 4096, "max_prompt_tokens": 8192, "model_id": "openai/gpt-4", "model_name": "GPT-4", "name": "OpenAI: GPT-4", "native_tools": {}, "pricing": {"completion": "0.00006", "prompt": "0.00003"}, "provider_name": "OpenAI", "quantization": "fp16", "supported_parameters": ["temperature", "top_p", "max_tokens"], "supports_image_reference": false, "supports_implicit_caching": true, "supports_multiple_audio_references": false, "supports_tool_choice": {"auto": true, "function": true, "none": true, "required": true}, "supports_voice_cloning": false, "tag": "openai", "throughput_last_30m": {"p50": 45.2, "p75": 38.5, "p90": 28.3, "p99": 15.1}, "uptime_last_1d": 99.8, "uptime_last_30m": 99.5, "uptime_last_5m": 100}]}
+ application/json: {"data": [{"context_length": 8192, "latency_last_30m": {"p50": 0.25, "p75": 0.35, "p90": 0.48, "p99": 0.85}, "max_completion_tokens": 4096, "max_prompt_tokens": 8192, "model_id": "openai/gpt-4", "model_name": "GPT-4", "name": "OpenAI: GPT-4", "native_tools": {}, "pricing": {"completion": "0.00006", "prompt": "0.00003"}, "provider_name": "OpenAI", "quantization": "fp16", "supported_parameters": ["temperature", "top_p", "max_tokens"], "supports_diarization": false, "supports_image_reference": false, "supports_implicit_caching": true, "supports_multiple_audio_references": false, "supports_tool_choice": {"auto": true, "function": true, "none": true, "required": true}, "supports_voice_cloning": false, "tag": "openai", "throughput_last_30m": {"p50": 45.2, "p75": 38.5, "p90": 28.3, "p99": 15.1}, "uptime_last_1d": 99.8, "uptime_last_30m": 99.5, "uptime_last_5m": 100}]}
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
"403":
@@ -18740,5 +18740,5 @@ examples:
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
- * `open_router.video_generation.generate()`: `response.urls` **Added**
- * `open_router.video_generation.get_generation()`: `response.urls` **Added**
+ * `open_router.endpoints.list_zdr_endpoints()`: `response.data[].supports_diarization` **Added**
+ * `open_router.endpoints.list()`: `response.data.endpoints[].supports_diarization` **Added**
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 403a049a..304b8c53 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
- version: 1.3.52
+ version: 1.3.53
additionalDependencies:
dev: {}
main: {}
diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml
index 6769fe8f..a77664b9 100644
--- a/.speakeasy/out.openapi.yaml
+++ b/.speakeasy/out.openapi.yaml
@@ -16237,6 +16237,7 @@ components:
- 'max_tokens'
- 'frequency_penalty'
- 'presence_penalty'
+ supports_diarization: false
supports_implicit_caching: true
tag: 'openai'
throughput_last_30m:
@@ -27410,6 +27411,7 @@ components:
- 'temperature'
- 'top_p'
- 'max_tokens'
+ supports_diarization: false
supports_image_reference: false
supports_implicit_caching: true
supports_multiple_audio_references: false
@@ -27718,6 +27720,9 @@ components:
items:
$ref: '#/components/schemas/Parameter'
type: 'array'
+ supports_diarization:
+ description: 'Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support.'
+ type: 'boolean'
supports_image_reference:
default: false
description: 'Whether this TTS endpoint accepts an `image_url` reference describing the desired voice. Requests carrying an image reference are only routed to endpoints where this is true.'
@@ -27775,6 +27780,7 @@ components:
- 'uptime_last_1d'
- 'supports_implicit_caching'
- 'native_tools'
+ - 'supports_diarization'
- 'latency_last_30m'
- 'throughput_last_30m'
type: 'object'
@@ -39580,6 +39586,7 @@ paths:
- 'temperature'
- 'top_p'
- 'max_tokens'
+ supports_diarization: false
supports_image_reference: false
supports_implicit_caching: true
supports_multiple_audio_references: false
@@ -39620,6 +39627,7 @@ paths:
- 'temperature'
- 'top_p'
- 'max_tokens'
+ supports_diarization: false
supports_image_reference: false
supports_implicit_caching: true
supports_multiple_audio_references: false
@@ -46901,6 +46909,7 @@ paths:
- 'temperature'
- 'top_p'
- 'max_tokens'
+ supports_diarization: false
supports_implicit_caching: true
tag: 'openai'
throughput_last_30m:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index 16bbd7f6..6dadc4c2 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -2,8 +2,8 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
- sourceRevisionDigest: sha256:1e5ad35d5785378ba2954e41c444355d672f34429cc3bd4e6c7bf896a773698b
- sourceBlobDigest: sha256:91614f6582d0a4778d67663bbd034d48458c309e74478ef17ff120c76647889e
+ sourceRevisionDigest: sha256:8d1b44b982b4840c9e943cbabf385a4568cba41e6c28d8e3043caab80cd73504
+ sourceBlobDigest: sha256:b413922fd2257f2be2218da4ef602bb90a8f0317fd4ae70a68a821e60e5c785c
tags:
- latest
- 1.0.0
@@ -11,10 +11,10 @@ targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
- sourceRevisionDigest: sha256:1e5ad35d5785378ba2954e41c444355d672f34429cc3bd4e6c7bf896a773698b
- sourceBlobDigest: sha256:91614f6582d0a4778d67663bbd034d48458c309e74478ef17ff120c76647889e
+ sourceRevisionDigest: sha256:8d1b44b982b4840c9e943cbabf385a4568cba41e6c28d8e3043caab80cd73504
+ sourceBlobDigest: sha256:b413922fd2257f2be2218da4ef602bb90a8f0317fd4ae70a68a821e60e5c785c
codeSamplesNamespace: open-router-python-code-samples
- codeSamplesRevisionDigest: sha256:faf1ae53c03e4ede9bf81d89022fec60b81a0ec9cb15f201ceaa20f4d2be6932
+ codeSamplesRevisionDigest: sha256:4704fcaaf14e1e9383c197ba59fd569816d88ff15709363ea60e2633a0e2d1a5
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
diff --git a/RELEASES.md b/RELEASES.md
index f27aebd7..2a9b90c8 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -3289,4 +3289,14 @@ Based on:
### Generated
- [python v1.3.52] .
### Releases
-- [PyPI v1.3.52] https://pypi.org/project/openrouter/1.3.52 - .
\ No newline at end of file
+- [PyPI v1.3.52] https://pypi.org/project/openrouter/1.3.52 - .
+
+## 2026-10-14 21:44:06
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [python v1.3.53] .
+### Releases
+- [PyPI v1.3.53] https://pypi.org/project/openrouter/1.3.53 - .
\ No newline at end of file
diff --git a/docs/components/publicendpoint.mdx b/docs/components/publicendpoint.mdx
index 3a1c6da9..e54b2528 100644
--- a/docs/components/publicendpoint.mdx
+++ b/docs/components/publicendpoint.mdx
@@ -23,6 +23,7 @@ Information about a specific model endpoint
| `quantization` | [Nullable[components.Quantization]](../components/quantization.mdx) | ✅ | N/A | fp16 |
| `status` | [Optional[components.EndpointStatus]](../components/endpointstatus.mdx) | ➖ | N/A | 0 |
| `supported_parameters` | List[[components.Parameter](../components/parameter.mdx)] | ✅ | N/A | |
+| `supports_diarization` | *bool* | ✅ | Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support. | |
| `supports_image_reference` | *Optional[bool]* | ➖ | Whether this TTS endpoint accepts an `image_url` reference describing the desired voice. Requests carrying an image reference are only routed to endpoints where this is true. | |
| `supports_implicit_caching` | *bool* | ✅ | N/A | |
| `supports_multiple_audio_references` | *Optional[bool]* | ➖ | Whether this TTS endpoint accepts more than one `input_audio` reference clip per request. Requests carrying several clips are only routed to endpoints where this is true. | |
diff --git a/docs/operations/listendpointsresponse.mdx b/docs/operations/listendpointsresponse.mdx
index edebc0fe..c0bdfcf2 100644
--- a/docs/operations/listendpointsresponse.mdx
+++ b/docs/operations/listendpointsresponse.mdx
@@ -7,6 +7,6 @@ Returns a list of endpoints
## Fields
-| Field | Type | Required | Description | Example |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `data` | [components.ListEndpointsResponse](../components/listendpointsresponse.mdx) | ✅ | List of available endpoints for a model | \{
"architecture": \{
"input_modalities": [
"text"
],
"instruct_type": "chatml",
"modality": "text-\u003etext",
"output_modalities": [
"text"
],
"tokenizer": "GPT"
},
"created": 1692901234,
"description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.",
"endpoints": [
\{
"context_length": 8192,
"latency_last_30m": \{
"p50": 0.25,
"p75": 0.35,
"p90": 0.48,
"p99": 0.85
},
"max_completion_tokens": 4096,
"max_prompt_tokens": 8192,
"model_id": "openai/gpt-4",
"model_name": "GPT-4",
"name": "OpenAI: GPT-4",
"pricing": \{
"completion": "0.00006",
"image": "0",
"prompt": "0.00003",
"request": "0"
},
"provider_name": "OpenAI",
"quantization": "fp16",
"status": 0,
"supported_parameters": [
"temperature",
"top_p",
"max_tokens",
"frequency_penalty",
"presence_penalty"
],
"supports_implicit_caching": true,
"tag": "openai",
"throughput_last_30m": \{
"p50": 45.2,
"p75": 38.5,
"p90": 28.3,
"p99": 15.1
},
"uptime_last_1d": 99.8,
"uptime_last_30m": 99.5,
"uptime_last_5m": 100
}
],
"id": "openai/gpt-4",
"name": "GPT-4"
} |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `data` | [components.ListEndpointsResponse](../components/listendpointsresponse.mdx) | ✅ | List of available endpoints for a model | \{
"architecture": \{
"input_modalities": [
"text"
],
"instruct_type": "chatml",
"modality": "text-\u003etext",
"output_modalities": [
"text"
],
"tokenizer": "GPT"
},
"created": 1692901234,
"description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.",
"endpoints": [
\{
"context_length": 8192,
"latency_last_30m": \{
"p50": 0.25,
"p75": 0.35,
"p90": 0.48,
"p99": 0.85
},
"max_completion_tokens": 4096,
"max_prompt_tokens": 8192,
"model_id": "openai/gpt-4",
"model_name": "GPT-4",
"name": "OpenAI: GPT-4",
"pricing": \{
"completion": "0.00006",
"image": "0",
"prompt": "0.00003",
"request": "0"
},
"provider_name": "OpenAI",
"quantization": "fp16",
"status": 0,
"supported_parameters": [
"temperature",
"top_p",
"max_tokens",
"frequency_penalty",
"presence_penalty"
],
"supports_diarization": false,
"supports_implicit_caching": true,
"tag": "openai",
"throughput_last_30m": \{
"p50": 45.2,
"p75": 38.5,
"p90": 28.3,
"p99": 15.1
},
"uptime_last_1d": 99.8,
"uptime_last_30m": 99.5,
"uptime_last_5m": 100
}
],
"id": "openai/gpt-4",
"name": "GPT-4"
} |
\ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index ab3871be..eb5f2f8a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "openrouter"
-version = "1.3.52"
+version = "1.3.53"
description = "Official Python Client SDK for OpenRouter."
authors = [{ name = "OpenRouter" },]
readme = "README-PYPI.md"
diff --git a/src/openrouter/_version.py b/src/openrouter/_version.py
index 5a3f314c..109494ac 100644
--- a/src/openrouter/_version.py
+++ b/src/openrouter/_version.py
@@ -3,10 +3,10 @@
import importlib.metadata
__title__: str = "openrouter"
-__version__: str = "1.3.52"
+__version__: str = "1.3.53"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
-__user_agent__: str = "speakeasy-sdk/python 1.3.52 2.914.0 1.0.0 openrouter"
+__user_agent__: str = "speakeasy-sdk/python 1.3.53 2.914.0 1.0.0 openrouter"
try:
if __package__ is not None:
diff --git a/src/openrouter/components/publicendpoint.py b/src/openrouter/components/publicendpoint.py
index 5957a437..d5f777cd 100644
--- a/src/openrouter/components/publicendpoint.py
+++ b/src/openrouter/components/publicendpoint.py
@@ -495,6 +495,8 @@ class PublicEndpointTypedDict(TypedDict):
provider_name: ProviderName
quantization: Nullable[Quantization]
supported_parameters: List[Parameter]
+ supports_diarization: bool
+ r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support."""
supports_implicit_caching: bool
supports_tool_choice: ToolChoiceSupportTypedDict
r"""Per-variant `tool_choice` support. `tool_choice` in `supported_parameters` only says the parameter is accepted; these flags say which of its values passed testing."""
@@ -547,6 +549,9 @@ class PublicEndpoint(BaseModel):
supported_parameters: List[Parameter]
+ supports_diarization: bool
+ r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support."""
+
supports_implicit_caching: bool
supports_tool_choice: ToolChoiceSupport
diff --git a/uv.lock b/uv.lock
index 96c7c29d..a3fa1a75 100644
--- a/uv.lock
+++ b/uv.lock
@@ -213,7 +213,7 @@ wheels = [
[[package]]
name = "openrouter"
-version = "1.3.52"
+version = "1.3.53"
source = { editable = "." }
dependencies = [
{ name = "httpcore" },