You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+47Lines changed: 47 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18289,6 +18289,41 @@ components:
18289
18289
required:
18290
18290
- type
18291
18291
type: object
18292
+
PricingOverride:
18293
+
description: >-
18294
+
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.
18295
+
example:
18296
+
completion: '0.00002'
18297
+
min_prompt_tokens: 200000
18298
+
prompt: '0.000005'
18299
+
properties:
18300
+
audio:
18301
+
description: Overridden price in USD per audio input token
18302
+
type: string
18303
+
completion:
18304
+
description: Overridden price in USD per token for completion (output) generation
18305
+
type: string
18306
+
input_audio_cache:
18307
+
description: Overridden price in USD per cached audio input token
18308
+
type: string
18309
+
input_cache_read:
18310
+
description: Overridden price in USD per cached input token (read)
18311
+
type: string
18312
+
input_cache_write:
18313
+
description: Overridden price in USD per cache-write token
18314
+
type: string
18315
+
input_cache_write_1h:
18316
+
description: Overridden price in USD per 1-hour cache-write token
18317
+
type: string
18318
+
min_prompt_tokens:
18319
+
description: >-
18320
+
Condition: the entry applies when the total prompt tokens of a request are strictly greater than this threshold
18321
+
format: double
18322
+
type: number
18323
+
prompt:
18324
+
description: Overridden price in USD per token for prompt (input) processing
18325
+
type: string
18326
+
type: object
18292
18327
PromptCacheBreakpoint:
18293
18328
description: >-
18294
18329
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:
19397
19432
internal_reasoning:
19398
19433
description: Price in USD per internal reasoning token
19399
19434
type: string
19435
+
overrides:
19436
+
description: >-
19437
+
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.
19438
+
items:
19439
+
$ref: '#/components/schemas/PricingOverride'
19440
+
type: array
19400
19441
prompt:
19401
19442
description: Price in USD per token for prompt (input) processing
19402
19443
type: string
@@ -19514,6 +19555,12 @@ components:
19514
19555
internal_reasoning:
19515
19556
description: Price in USD per internal reasoning token
19516
19557
type: string
19558
+
overrides:
19559
+
description: >-
19560
+
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.
19561
+
items:
19562
+
$ref: '#/components/schemas/PricingOverride'
19563
+
type: array
19517
19564
prompt:
19518
19565
description: Price in USD per token for prompt (input) processing
0 commit comments