chore: update OpenAPI spec from monorepo (#439)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
openrouter-docs-sync[bot]
2026-07-13 19:26:12 +00:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent 4d598caab2
commit 8016b15284
+56
View File
@@ -18394,6 +18394,44 @@ components:
required:
- type
type: object
PricingOverride:
description: >-
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
absent from an entry inherit the base price.
example:
completion: '0.00002'
min_prompt_tokens: 200000
prompt: '0.000005'
properties:
audio:
description: Overridden price in USD per audio input token
type: string
completion:
description: Overridden price in USD per token for completion (output) generation
type: string
input_audio_cache:
description: Overridden price in USD per cached audio input token
type: string
input_cache_read:
description: Overridden price in USD per cached input token (read)
type: string
input_cache_write:
description: Overridden price in USD per cache-write token
type: string
input_cache_write_1h:
description: Overridden price in USD per 1-hour cache-write token
type: string
min_prompt_tokens:
description: >-
Condition: the entry applies when the total prompt tokens of a request are strictly greater than this
threshold
format: double
type: number
prompt:
description: Overridden price in USD per token for prompt (input) processing
type: string
type: object
PromptCacheBreakpoint:
description: >-
Marks an explicit prompt-cache boundary on this content block. Everything through the block carrying this marker
@@ -19513,6 +19551,15 @@ components:
internal_reasoning:
description: Price in USD per internal reasoning token
type: string
overrides:
description: >-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its
condition fields (e.g. min_prompt_tokens) 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.
items:
$ref: '#/components/schemas/PricingOverride'
type: array
prompt:
description: Price in USD per token for prompt (input) processing
type: string
@@ -19637,6 +19684,15 @@ components:
internal_reasoning:
description: Price in USD per internal reasoning token
type: string
overrides:
description: >-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its
condition fields (e.g. min_prompt_tokens) 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.
items:
$ref: '#/components/schemas/PricingOverride'
type: array
prompt:
description: Price in USD per token for prompt (input) processing
type: string