Skip to content

Commit f0a8ff1

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.803.2
1 parent 3025ada commit f0a8ff1

12 files changed

Lines changed: 47 additions & 37 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: c48cf606-fb42-4a45-9c23-8f0555307828
33
management:
4-
docChecksum: 051c57dde52610a9756f0c3fe7ec663f
4+
docChecksum: ca521c761f2bde4fd99050656d71043d
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.218
9-
configChecksum: e4fba92a99a76b2b94152a1450447044
8+
releaseVersion: 1.3.219
9+
configChecksum: 2269f52a3bdfb21d423a2ef635106378
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 43c8de89-fba2-41b5-8e37-1dc0f3135480
15-
pristine_commit_hash: 6b14dcb950b624aac3f317e29ce8597b59205db7
16-
pristine_tree_hash: a616bc0410733b48ee3664da02058bbb8ef8ef67
14+
generation_id: ef574235-5397-4f7a-b4c1-3da2410dea13
15+
pristine_commit_hash: 67cbcbf29d955cb5ff78b5f0ec2f5abbcec136b4
16+
pristine_tree_hash: 48e43d9b6e3fc708e1199dd6913eb4ccdb0552ba
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -7368,8 +7368,8 @@ trackedFiles:
73687368
pristine_git_object: ccd8dc6bc983f75070daea91335d647dad6b3e0c
73697369
docs/components/pricing.mdx:
73707370
id: 6816d700f8b1
7371-
last_write_checksum: sha1:7a906fdda9a562826d32cc271043e09d0da4c157
7372-
pristine_git_object: 2e2df024569895487fe35c4e00bebf848ab7eaa0
7371+
last_write_checksum: sha1:4d677de7db8ef9dff32053a7594eda6420951e0b
7372+
pristine_git_object: bd2712655952f07012bb96c23ab0c8724e259f1e
73737373
docs/components/pricingoverride.mdx:
73747374
id: 74675f38c1c6
73757375
last_write_checksum: sha1:52ae52e79a817f45081bd0ff109024acdd81d936
@@ -7564,8 +7564,8 @@ trackedFiles:
75647564
pristine_git_object: 3def9b31d08d74324be28111b183ac748108b07e
75657565
docs/components/publicpricing.mdx:
75667566
id: 61fb18b7ff94
7567-
last_write_checksum: sha1:7fefc281ef21a2f61424bdbd638b85165de6de6c
7568-
pristine_git_object: ae37e67844449236eb381d438dd893ba01df4a70
7567+
last_write_checksum: sha1:6fd1d965f03b123c85969aeba88a88d1ece660c1
7568+
pristine_git_object: 57c90de1e826f69202b6afce81b1710320444ad9
75697569
docs/components/publicservicetier.mdx:
75707570
id: ffd85d9fcc2c
75717571
last_write_checksum: sha1:78e406250f9bb607250b74952d4ac7c816bbf7ac
@@ -11920,8 +11920,8 @@ trackedFiles:
1192011920
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1192111921
pyproject.toml:
1192211922
id: 5d07e7d72637
11923-
last_write_checksum: sha1:01c3a72b2a3ec3e2a78a07b90f8e0b638bf717e6
11924-
pristine_git_object: e1f02c07a7d1004a7705b576c9790e431efe1968
11923+
last_write_checksum: sha1:5260730e52e9f259a1929b793d7ff59c4d3f4050
11924+
pristine_git_object: a0aec888adbafcb59a488e7cdad2bf91b83ace37
1192511925
scripts/prepare_readme.py:
1192611926
id: e0c5957a6035
1192711927
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11948,8 +11948,8 @@ trackedFiles:
1194811948
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1194911949
src/openrouter/_version.py:
1195011950
id: d8d15ad6c586
11951-
last_write_checksum: sha1:274af5502fcfc4d933cc925c5f329047346be23b
11952-
pristine_git_object: 320dd603d9467a3c1316da26a1ab0a285ef21873
11951+
last_write_checksum: sha1:fc953bf2b57e4473c0c83c87e0f44d35bbfd58b4
11952+
pristine_git_object: 9e0d1cf1e2984cbb3cd60ab86c74d6179f7340c8
1195311953
src/openrouter/alpha.py:
1195411954
id: 306c4d93308d
1195511955
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -14920,8 +14920,8 @@ trackedFiles:
1492014920
pristine_git_object: 90bdb267893360608210843a5da0d5d68e80d41e
1492114921
src/openrouter/components/pricing.py:
1492214922
id: 33122e4b4dda
14923-
last_write_checksum: sha1:a6133892eeeadf19550285dc5d52709ed404dcc7
14924-
pristine_git_object: ba964a0d415104b64a749d3e4c13735677779315
14923+
last_write_checksum: sha1:54bc975ee0c553985b8e2f82a9a5d050f1c66588
14924+
pristine_git_object: 5b6ba30d0a02ac74b07195571e9ead41d34121e5
1492514925
src/openrouter/components/pricingoverride.py:
1492614926
id: 8984e4cc7422
1492714927
last_write_checksum: sha1:e12629320e02396a2aa1dfcbacd6873fba0d4aba
@@ -15048,8 +15048,8 @@ trackedFiles:
1504815048
pristine_git_object: 62afd71386c722b497155417e4985441273c5c1c
1504915049
src/openrouter/components/publicpricing.py:
1505015050
id: 96d115d83cc5
15051-
last_write_checksum: sha1:173128fd40d46435351cc807ab13f5142473032a
15052-
pristine_git_object: a572b56bc7401f96e211c90bb0b44d863e9ddf0e
15051+
last_write_checksum: sha1:d353f3adcd8efbd639e6be4f1f8ee080fefcd83f
15052+
pristine_git_object: 70eb8ec280ce790aff7e6233133379eae9ef5c11
1505315053
src/openrouter/components/publicservicetier.py:
1505415054
id: fc0a585024d6
1505515055
last_write_checksum: sha1:a9d1074d4ce5c1fcb4cd2fb1ba593458d9174e5e

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.218
40+
version: 1.3.219
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30422,7 +30422,7 @@ components:
3042230422
description: 'Price in USD per token for prompt (input) processing'
3042330423
type: 'string'
3042430424
request:
30425-
description: 'Price in USD per request. For rerank models, price in USD per search unit: one query over up to 100 documents, so a call with more documents costs a multiple of this rate'
30425+
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
3042630426
type: 'string'
3042730427
web_search:
3042830428
description: 'Price in USD per web search'
@@ -32463,7 +32463,7 @@ components:
3246332463
description: 'Price in USD per token for prompt (input) processing'
3246432464
type: 'string'
3246532465
request:
32466-
description: 'Price in USD per request. For rerank models, price in USD per search unit: one query over up to 100 documents, so a call with more documents costs a multiple of this rate'
32466+
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
3246732467
type: 'string'
3246832468
web_search:
3246932469
description: 'Price in USD per web search'

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:aec6b71a019397e51b2cc46a0f39b44107467a5ecf4fb72d7e25a9a083896797
6-
sourceBlobDigest: sha256:9457bc4bbd78db868cc521d31220fa723ab7e21c8894439a551e5a69aa6fcd83
5+
sourceRevisionDigest: sha256:28a91cea0c5965c9a6794e9f971829497cbd6457798023963bee09dcc5961101
6+
sourceBlobDigest: sha256:a99a9963c8906e74a32580770fe8250fb9ce32ddbb4de7a3b093dfd41d288f05
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:aec6b71a019397e51b2cc46a0f39b44107467a5ecf4fb72d7e25a9a083896797
15-
sourceBlobDigest: sha256:9457bc4bbd78db868cc521d31220fa723ab7e21c8894439a551e5a69aa6fcd83
14+
sourceRevisionDigest: sha256:28a91cea0c5965c9a6794e9f971829497cbd6457798023963bee09dcc5961101
15+
sourceBlobDigest: sha256:a99a9963c8906e74a32580770fe8250fb9ce32ddbb4de7a3b093dfd41d288f05
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:c31b44b95c00b16d14bd6f7842725d9ba8e99f6feb4d2704f3c1f82d73442252
17+
codeSamplesRevisionDigest: sha256:238715ac423a3c3d6f08a9d3f33f516747d75a1904c5e4e78739bdce406f365f
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4949,4 +4949,14 @@ Based on:
49494949
### Generated
49504950
- [python v1.3.218] .
49514951
### Releases
4952-
- [PyPI v1.3.218] https://pypi.org/project/openrouter/1.3.218 - .
4952+
- [PyPI v1.3.218] https://pypi.org/project/openrouter/1.3.218 - .
4953+
4954+
## 2026-12-01 03:35:49
4955+
### Changes
4956+
Based on:
4957+
- OpenAPI Doc
4958+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4959+
### Generated
4960+
- [python v1.3.219] .
4961+
### Releases
4962+
- [PyPI v1.3.219] https://pypi.org/project/openrouter/1.3.219 - .

‎docs/components/pricing.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ title: "Pricing"
2020
| `internal_reasoning` | *Optional[str]* | ➖ | Price in USD per internal reasoning token |
2121
| `overrides` | List[[components.PricingOverride](../components/pricingoverride.mdx)] | ➖ | Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies when all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match the request; among applicable entries, later entries win per key; price keys absent from an entry inherit the base price. The top-level pricing keys always reflect the price that applies under default conditions. |
2222
| `prompt` | *str* | ✔️ | Price in USD per token for prompt (input) processing |
23-
| `request` | *Optional[str]* | ➖ | Price in USD per request. For rerank models, price in USD per search unit: one query over up to 100 documents, so a call with more documents costs a multiple of this rate |
23+
| `request` | *Optional[str]* | ➖ | Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit. |
2424
| `web_search` | *Optional[str]* | ➖ | Price in USD per web search |

0 commit comments

Comments
 (0)