Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(pricing): regenerate model prices schema for flex long-context fields

mateo-berri1c36f529aa54
diff --git a/model_prices_and_context_window.schema.json b/model_prices_and_context_window.schema.json
index 988f56655fc..882f514b199 100644
--- a/model_prices_and_context_window.schema.json
+++ b/model_prices_and_context_window.schema.json
@@ -99,6 +99,11 @@
"minimum": 0,
"description": "Rate applied once the prompt exceeds the token threshold in the field name."
},
+ "cache_creation_input_token_cost_above_272k_tokens_flex": {
+ "type": "number",
+ "minimum": 0,
+ "description": "Flex service-tier rate for the same-named base field."
+ },
"cache_creation_input_token_cost_flex": {
"type": "number",
"minimum": 0,
@@ -133,6 +138,11 @@
"minimum": 0,
"description": "Rate applied once the prompt exceeds the token threshold in the field name."
},
+ "cache_read_input_token_cost_above_272k_tokens_flex": {
+ "type": "number",
+ "minimum": 0,
+ "description": "Flex service-tier rate for the same-named base field."
+ },
"cache_read_input_token_cost_above_272k_tokens_priority": {
"type": "number",
"minimum": 0,
@@ -262,6 +272,11 @@
"minimum": 0,
"description": "Rate applied once the prompt exceeds the token threshold in the field name."
},
+ "input_cost_per_token_above_272k_tokens_flex": {
+ "type": "number",
+ "minimum": 0,
+ "description": "Flex service-tier rate for the same-named base field."
+ },
"input_cost_per_token_above_272k_tokens_priority": {
"type": "number",
"minimum": 0,
@@ -434,6 +449,11 @@
"minimum": 0,
"description": "Rate applied once the prompt exceeds the token threshold in the field name."
},
+ "output_cost_per_token_above_272k_tokens_flex": {
+ "type": "number",
+ "minimum": 0,
+ "description": "Flex service-tier rate for the same-named base field."
+ },
"output_cost_per_token_above_272k_tokens_priority": {
"type": "number",
"minimum": 0,