mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.26 (#440)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
8016b15284
commit
f24188c135
@@ -18289,6 +18289,41 @@ 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 is part of the candidate cached prefix. Only supported by OpenAI GPT-5.6 and newer.
|
||||
@@ -19397,6 +19432,12 @@ 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
|
||||
@@ -19514,6 +19555,12 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user