chore: update OpenAPI spec from monorepo (#445)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
openrouter-docs-sync[bot]
2026-07-14 14:48:06 +00:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent 52ad7dde44
commit 44313b0aa3
+22 -10
View File
@@ -18401,8 +18401,8 @@ components:
PricingOverride: PricingOverride:
description: >- description: >-
A conditional override of the base pricing. An entry applies only when all of its condition fields (e.g. A conditional override of the base pricing. An entry applies only when all of its condition fields (e.g.
min_prompt_tokens) match the request; among applicable entries, later entries win per price key; price keys min_prompt_tokens, or the utc_start/utc_end time window) match the request; among applicable entries, later
absent from an entry inherit the base price. entries win per price key; price keys absent from an entry inherit the base price.
example: example:
completion: '0.00002' completion: '0.00002'
min_prompt_tokens: 200000 min_prompt_tokens: 200000
@@ -18435,6 +18435,17 @@ components:
prompt: prompt:
description: Overridden price in USD per token for prompt (input) processing description: Overridden price in USD per token for prompt (input) processing
type: string type: string
utc_end:
description: 'Condition: exclusive end of a daily UTC time window as an HHMM clock number (e.g. 400 = 04:00)'
format: double
type: number
utc_start:
description: >-
Condition: inclusive start of a daily UTC time window as an HHMM clock number (e.g. 100 = 01:00, 1030 =
10:30). The entry applies while the current UTC time is inside the half-open window [utc_start, utc_end),
which may wrap past midnight (utc_start > utc_end).
format: double
type: number
type: object type: object
PromptCacheBreakpoint: PromptCacheBreakpoint:
description: >- description: >-
@@ -19557,10 +19568,11 @@ components:
type: string type: string
overrides: overrides:
description: >- description: >-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies
condition fields (e.g. min_prompt_tokens) match the request; among applicable entries, later entries win when all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match
per key; price keys absent from an entry inherit the base price. The top-level pricing keys always the request; among applicable entries, later entries win per key; price keys absent from an entry
reflect the price that applies under default conditions. inherit the base price. The top-level pricing keys always reflect the price that applies under default
conditions.
items: items:
$ref: '#/components/schemas/PricingOverride' $ref: '#/components/schemas/PricingOverride'
type: array type: array
@@ -19690,10 +19702,10 @@ components:
type: string type: string
overrides: overrides:
description: >- description: >-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies when
condition fields (e.g. min_prompt_tokens) match the request; among applicable entries, later entries win per all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match the
key; price keys absent from an entry inherit the base price. The top-level pricing keys always reflect the request; among applicable entries, later entries win per key; price keys absent from an entry inherit the
price that applies under default conditions. base price. The top-level pricing keys always reflect the price that applies under default conditions.
items: items:
$ref: '#/components/schemas/PricingOverride' $ref: '#/components/schemas/PricingOverride'
type: array type: array