@@ -17,9 +17,9 @@ export interface components {
1717 Cost : {
1818 cache_creation_input_audio_token_cost ?: number ;
1919 cache_creation_input_token_cost ?: number ;
20+ cache_creation_input_token_cost_per_hour ?: number ;
2021 cache_read_input_audio_token_cost ?: number ;
2122 cache_read_input_token_cost ?: number ;
22- cache_storage_cost_per_token_per_hour ?: number ;
2323 input_cost_per_annotated_page ?: number ;
2424 input_cost_per_audio_token ?: number ;
2525 input_cost_per_character ?: number ;
@@ -136,6 +136,14 @@ export interface components {
136136 ModelParamKey : "json_schema" | "max_completion_tokens" | "max_tokens" | "min_tokens" | "n" | "parallel_tool_calls" | "reasoning" | "reasoning_effort" | "response_format" | "seed" | "stop" | "stream" | "temperature" | "thinking" | "tool_choice" | "top_k" | "top_p" | "verbosity" ;
137137 /** @enum {string} */
138138 ModelParamType : "array-of-strings" | "boolean" | "json" | "number" | "string" ;
139+ /**
140+ * @description How the model prices long context tokens
141+ * marginal: remaining tokens after long context are priced under long context pricing
142+ * cumulative: all input tokens are priced under long context pricing
143+ * @default marginal
144+ * @enum {string}
145+ */
146+ PricingMode : "marginal" | "cumulative" ;
139147 PricingTier : {
140148 cost_per_token : number ;
141149 from : number ;
@@ -155,6 +163,7 @@ export interface components {
155163 cache_write ?: components [ "schemas" ] [ "PricingTier" ] [ ] ;
156164 input ?: components [ "schemas" ] [ "PricingTier" ] [ ] ;
157165 output ?: components [ "schemas" ] [ "PricingTier" ] [ ] ;
166+ pricing_mode ?: components [ "schemas" ] [ "PricingMode" ] ;
158167 } ;
159168 /**
160169 * @description Vertex region identifiers
@@ -188,6 +197,7 @@ export type ModelConfig = components['schemas']['ModelConfig'];
188197export type ModelParam = components [ 'schemas' ] [ 'ModelParam' ] ;
189198export type ModelParamKey = components [ 'schemas' ] [ 'ModelParamKey' ] ;
190199export type ModelParamType = components [ 'schemas' ] [ 'ModelParamType' ] ;
200+ export type PricingMode = components [ 'schemas' ] [ 'PricingMode' ] ;
191201export type PricingTier = components [ 'schemas' ] [ 'PricingTier' ] ;
192202export type Provisioning = components [ 'schemas' ] [ 'Provisioning' ] ;
193203export type Status = components [ 'schemas' ] [ 'Status' ] ;
0 commit comments