@@ -18394,6 +18394,44 @@ components:
1839418394 required:
1839518395 - type
1839618396 type: object
18397+ PricingOverride:
18398+ description: >-
18399+ A conditional override of the base pricing. An entry applies only when all of its condition fields (e.g.
18400+ min_prompt_tokens) match the request; among applicable entries, later entries win per price key; price keys
18401+ absent from an entry inherit the base price.
18402+ example:
18403+ completion: '0.00002'
18404+ min_prompt_tokens: 200000
18405+ prompt: '0.000005'
18406+ properties:
18407+ audio:
18408+ description: Overridden price in USD per audio input token
18409+ type: string
18410+ completion:
18411+ description: Overridden price in USD per token for completion (output) generation
18412+ type: string
18413+ input_audio_cache:
18414+ description: Overridden price in USD per cached audio input token
18415+ type: string
18416+ input_cache_read:
18417+ description: Overridden price in USD per cached input token (read)
18418+ type: string
18419+ input_cache_write:
18420+ description: Overridden price in USD per cache-write token
18421+ type: string
18422+ input_cache_write_1h:
18423+ description: Overridden price in USD per 1-hour cache-write token
18424+ type: string
18425+ min_prompt_tokens:
18426+ description: >-
18427+ Condition: the entry applies when the total prompt tokens of a request are strictly greater than this
18428+ threshold
18429+ format: double
18430+ type: number
18431+ prompt:
18432+ description: Overridden price in USD per token for prompt (input) processing
18433+ type: string
18434+ type: object
1839718435 PromptCacheBreakpoint:
1839818436 description: >-
1839918437 Marks an explicit prompt-cache boundary on this content block. Everything through the block carrying this marker
@@ -19513,6 +19551,15 @@ components:
1951319551 internal_reasoning:
1951419552 description: Price in USD per internal reasoning token
1951519553 type: string
19554+ overrides:
19555+ description: >-
19556+ Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its
19557+ condition fields (e.g. min_prompt_tokens) match the request; among applicable entries, later entries win
19558+ per key; price keys absent from an entry inherit the base price. The top-level pricing keys always
19559+ reflect the price that applies under default conditions.
19560+ items:
19561+ $ref: '#/components/schemas/PricingOverride'
19562+ type: array
1951619563 prompt:
1951719564 description: Price in USD per token for prompt (input) processing
1951819565 type: string
@@ -19637,6 +19684,15 @@ components:
1963719684 internal_reasoning:
1963819685 description: Price in USD per internal reasoning token
1963919686 type: string
19687+ overrides:
19688+ description: >-
19689+ Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its
19690+ condition fields (e.g. min_prompt_tokens) match the request; among applicable entries, later entries win per
19691+ key; price keys absent from an entry inherit the base price. The top-level pricing keys always reflect the
19692+ price that applies under default conditions.
19693+ items:
19694+ $ref: '#/components/schemas/PricingOverride'
19695+ type: array
1964019696 prompt:
1964119697 description: Price in USD per token for prompt (input) processing
1964219698 type: string
0 commit comments