Skip to content

Commit 44313b0

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#445)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 52ad7dd commit 44313b0

1 file changed

Lines changed: 22 additions & 10 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18401,8 +18401,8 @@ components:
1840118401
PricingOverride:
1840218402
description: >-
1840318403
A conditional override of the base pricing. An entry applies only when all of its condition fields (e.g.
18404-
min_prompt_tokens) match the request; among applicable entries, later entries win per price key; price keys
18405-
absent from an entry inherit the base price.
18404+
min_prompt_tokens, or the utc_start/utc_end time window) match the request; among applicable entries, later
18405+
entries win per price key; price keys absent from an entry inherit the base price.
1840618406
example:
1840718407
completion: '0.00002'
1840818408
min_prompt_tokens: 200000
@@ -18435,6 +18435,17 @@ components:
1843518435
prompt:
1843618436
description: Overridden price in USD per token for prompt (input) processing
1843718437
type: string
18438+
utc_end:
18439+
description: 'Condition: exclusive end of a daily UTC time window as an HHMM clock number (e.g. 400 = 04:00)'
18440+
format: double
18441+
type: number
18442+
utc_start:
18443+
description: >-
18444+
Condition: inclusive start of a daily UTC time window as an HHMM clock number (e.g. 100 = 01:00, 1030 =
18445+
10:30). The entry applies while the current UTC time is inside the half-open window [utc_start, utc_end),
18446+
which may wrap past midnight (utc_start > utc_end).
18447+
format: double
18448+
type: number
1843818449
type: object
1843918450
PromptCacheBreakpoint:
1844018451
description: >-
@@ -19557,10 +19568,11 @@ components:
1955719568
type: string
1955819569
overrides:
1955919570
description: >-
19560-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its
19561-
condition fields (e.g. min_prompt_tokens) match the request; among applicable entries, later entries win
19562-
per key; price keys absent from an entry inherit the base price. The top-level pricing keys always
19563-
reflect the price that applies under default conditions.
19571+
Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies
19572+
when all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match
19573+
the request; among applicable entries, later entries win per key; price keys absent from an entry
19574+
inherit the base price. The top-level pricing keys always reflect the price that applies under default
19575+
conditions.
1956419576
items:
1956519577
$ref: '#/components/schemas/PricingOverride'
1956619578
type: array
@@ -19690,10 +19702,10 @@ components:
1969019702
type: string
1969119703
overrides:
1969219704
description: >-
19693-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its
19694-
condition fields (e.g. min_prompt_tokens) match the request; among applicable entries, later entries win per
19695-
key; price keys absent from an entry inherit the base price. The top-level pricing keys always reflect the
19696-
price that applies under default conditions.
19705+
Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies when
19706+
all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match the
19707+
request; among applicable entries, later entries win per key; price keys absent from an entry inherit the
19708+
base price. The top-level pricing keys always reflect the price that applies under default conditions.
1969719709
items:
1969819710
$ref: '#/components/schemas/PricingOverride'
1969919711
type: array

0 commit comments

Comments
 (0)