Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 55 additions & 54 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.3.72
version: 1.3.73
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
24 changes: 23 additions & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6969,6 +6969,7 @@ components:
- 'primeintellect'
- 'quiver'
- 'recraft'
- 'recursive'
- 'reka'
- 'relace'
- 'respan'
Expand Down Expand Up @@ -18818,6 +18819,7 @@ components:
- 'Perplexity'
- 'Phala'
- 'Recraft'
- 'Recursive'
- 'Reka'
- 'Relace'
- 'Respan'
Expand Down Expand Up @@ -26340,6 +26342,8 @@ components:
model_permaslug: 'openai/gpt-4o-2024-08-06'
model_slug: 'openai/gpt-4o'
pricing:
cache_read: '0.00000025'
cache_write: '0.000003125'
completion: '0.00001'
prompt: '0.0000025'
provider_name: 'Azure'
Expand Down Expand Up @@ -26496,9 +26500,21 @@ components:
PrivateEndpointPricing:
description: 'Negotiated per-token rates reported for requests routed to this endpoint.'
example:
cache_read: '0.00000025'
cache_write: '0.000003125'
completion: '0.00001'
prompt: '0.0000025'
properties:
cache_read:
description: 'USD per cache-read prompt token, as a decimal string. Omit it to bill cache reads at the provider pricing strategy''s default, which for most strategies is the prompt rate.'
example: '0.00000025'
pattern: '^\d+(\.\d+)?$'
type: 'string'
cache_write:
description: 'USD per cache-write prompt token, as a decimal string. Omit it to bill cache writes at the provider pricing strategy''s default.'
example: '0.000003125'
pattern: '^\d+(\.\d+)?$'
type: 'string'
completion:
description: 'USD per completion token, as a decimal string.'
example: '0.00001'
Expand Down Expand Up @@ -26741,6 +26757,7 @@ components:
- 'Perplexity'
- 'Phala'
- 'Recraft'
- 'Recursive'
- 'Reka'
- 'Relace'
- 'Respan'
Expand Down Expand Up @@ -27107,6 +27124,9 @@ components:
recursal:
additionalProperties: {}
type: 'object'
recursive:
additionalProperties: {}
type: 'object'
reflection:
additionalProperties: {}
type: 'object'
Expand Down Expand Up @@ -27527,6 +27547,7 @@ components:
- 'Perplexity'
- 'Phala'
- 'Recraft'
- 'Recursive'
- 'Reka'
- 'Relace'
- 'Respan'
Expand Down Expand Up @@ -37081,6 +37102,7 @@ paths:
- 'primeintellect'
- 'quiver'
- 'recraft'
- 'recursive'
- 'reka'
- 'relace'
- 'respan'
Expand Down Expand Up @@ -50230,7 +50252,7 @@ paths:
- $ref: "#/components/parameters/AppCategories"
/private-endpoints/{id}/pricing:
put:
description: 'Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
description: 'Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy''s default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'updatePrivateEndpointPricing'
parameters:
- description: 'Stable identifier of the private endpoint.'
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:a74d093cb783cef559f268a64fd24e6abaf5af0fc2f47f34fdbff5160ff4621f
sourceBlobDigest: sha256:3ae8ecf6f055b72ac8eb8b5d1d52913ddef2fa1f7f5388da571886f08fbcd88b
sourceRevisionDigest: sha256:02b248752304d3dd5799839e4e77e5ef0d805a84b4dd5be0b07e01a7e06d1270
sourceBlobDigest: sha256:627acb063a2687b443c1daef8c7aff53e2dc10707eaaa92fa633bd6715a1affa
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:a74d093cb783cef559f268a64fd24e6abaf5af0fc2f47f34fdbff5160ff4621f
sourceBlobDigest: sha256:3ae8ecf6f055b72ac8eb8b5d1d52913ddef2fa1f7f5388da571886f08fbcd88b
sourceRevisionDigest: sha256:02b248752304d3dd5799839e4e77e5ef0d805a84b4dd5be0b07e01a7e06d1270
sourceBlobDigest: sha256:627acb063a2687b443c1daef8c7aff53e2dc10707eaaa92fa633bd6715a1affa
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:e390166b4fdc2149e0d9ea9ae4a0590d0465f083ae025c5efc4379430a6966b2
codeSamplesRevisionDigest: sha256:f8a5f47700a61a9f86ac423c08d7f759f7a051b114f31d0d702adf9c4008eebd
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3489,4 +3489,14 @@ Based on:
### Generated
- [python v1.3.72] .
### Releases
- [PyPI v1.3.72] https://pypi.org/project/openrouter/1.3.72 - .
- [PyPI v1.3.72] https://pypi.org/project/openrouter/1.3.72 - .

## 2026-10-21 18:19:40
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.73] .
### Releases
- [PyPI v1.3.73] https://pypi.org/project/openrouter/1.3.73 - .
1 change: 1 addition & 0 deletions docs/components/byokproviderslug.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ This is an open enum. Unrecognized values will not fail type checks.
- `"primeintellect"`
- `"quiver"`
- `"recraft"`
- `"recursive"`
- `"reka"`
- `"relace"`
- `"respan"`
Expand Down
2 changes: 1 addition & 1 deletion docs/components/createprivateendpointrequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ title: "CreatePrivateEndpointRequest"
| `declared_region` | [OptionalNullable[components.CreatePrivateEndpointRequestDeclaredRegion]](../components/createprivateendpointrequestdeclaredregion.mdx) | ➖ | Attest where this deployment processes data. | us |
| `declared_zdr` | *OptionalNullable[bool]* | ➖ | Attest that this deployment retains no prompt or completion data. | |
| `model_permaslug` | *str* | ✅ | Permanent slug of the model this endpoint serves. | openai/gpt-4o-2024-08-06 |
| `pricing` | [Optional[components.PrivateEndpointPricing]](../components/privateendpointpricing.mdx) | ➖ | Negotiated per-token rates reported for requests routed to this endpoint. | \{<br/>"completion": "0.00001",<br/>"prompt": "0.0000025"<br/>} |
| `pricing` | [Optional[components.PrivateEndpointPricing]](../components/privateendpointpricing.mdx) | ➖ | Negotiated per-token rates reported for requests routed to this endpoint. | \{<br/>"cache_read": "0.00000025",<br/>"cache_write": "0.000003125",<br/>"completion": "0.00001",<br/>"prompt": "0.0000025"<br/>} |
| `provider_slug` | *str* | ✅ | Slug of the upstream provider. | azure |
| `upstream_model_id` | *str* | ✅ | Model or deployment identifier sent to the upstream provider. | gpt-4o-prod |
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Provider-specific options keyed by provider slug. Only options for the matched p
| `quiver` | Dict[str, *Any*] | ➖ | N/A |
| `recraft` | Dict[str, *Any*] | ➖ | N/A |
| `recursal` | Dict[str, *Any*] | ➖ | N/A |
| `recursive` | Dict[str, *Any*] | ➖ | N/A |
| `reflection` | Dict[str, *Any*] | ➖ | N/A |
| `reka` | Dict[str, *Any*] | ➖ | N/A |
| `relace` | Dict[str, *Any*] | ➖ | N/A |
Expand Down
2 changes: 1 addition & 1 deletion docs/components/privateendpoint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title: "PrivateEndpoint"
| `model_name` | *Nullable[str]* | ✅ | Display name of the model, or `null` when the model is no longer listed. | OpenAI: GPT-4o |
| `model_permaslug` | *str* | ✅ | Permanent slug of the model this endpoint serves. | openai/gpt-4o-2024-08-06 |
| `model_slug` | *Nullable[str]* | ✅ | Public model slug, or `null` when the model is no longer listed. | openai/gpt-4o |
| `pricing` | [components.PrivateEndpointPricing](../components/privateendpointpricing.mdx) | ✅ | Negotiated per-token rates reported for requests routed to this endpoint. | \{<br/>"completion": "0.00001",<br/>"prompt": "0.0000025"<br/>} |
| `pricing` | [components.PrivateEndpointPricing](../components/privateendpointpricing.mdx) | ✅ | Negotiated per-token rates reported for requests routed to this endpoint. | \{<br/>"cache_read": "0.00000025",<br/>"cache_write": "0.000003125",<br/>"completion": "0.00001",<br/>"prompt": "0.0000025"<br/>} |
| `provider_name` | *str* | ✅ | Display name of the upstream provider. | Azure |
| `provider_slug` | *Nullable[str]* | ✅ | Slug of the upstream provider, or `null` when the provider is no longer listed. | azure |
| `status` | [components.PrivateEndpointStatus](../components/privateendpointstatus.mdx) | ✅ | Lifecycle state. `draft` endpoints are not routable until validated and activated; `disabled` endpoints are activated but temporarily not routable. | active |
Expand Down
Loading