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(ci): keep cost map schema generated by the base branch generator

kerrybf1bdb304567
diff --git a/ci_cd/generate_model_prices_schema.py b/ci_cd/generate_model_prices_schema.py
index ee0e7f22eb1..ab29b70bdd4 100644
--- a/ci_cd/generate_model_prices_schema.py
+++ b/ci_cd/generate_model_prices_schema.py
@@ -172,10 +172,7 @@ COST_DESCRIPTIONS: dict[str, str] = {
),
"cache_creation_input_token_cost": "USD per token written to the provider's prompt cache.",
"cache_read_input_token_cost": "USD per prompt token served from the provider's prompt cache.",
- "input_cost_per_audio_token_batches": "USD per audio prompt token via the provider's batch API.",
- "input_cost_per_image_token_batches": "USD per image prompt token via the provider's batch API.",
"input_cost_per_token_batches": "USD per prompt token via the provider's batch API.",
- "input_cost_per_video_token_batches": "USD per video prompt token via the provider's batch API.",
"output_cost_per_token_batches": "USD per generated token via the provider's batch API.",
}
diff --git a/model_prices_and_context_window.schema.json b/model_prices_and_context_window.schema.json
index b7e0a9fd414..c2490041cf7 100644
--- a/model_prices_and_context_window.schema.json
+++ b/model_prices_and_context_window.schema.json
@@ -251,8 +251,7 @@
},
"input_cost_per_audio_token_batches": {
"type": "number",
- "minimum": 0,
- "description": "USD per audio prompt token via the provider's batch API."
+ "minimum": 0
},
"input_cost_per_audio_token_priority": {
"type": "number",
@@ -283,8 +282,7 @@
},
"input_cost_per_image_token_batches": {
"type": "number",
- "minimum": 0,
- "description": "USD per image prompt token via the provider's batch API."
+ "minimum": 0
},
"input_cost_per_pixel": {
"type": "number",
@@ -391,8 +389,7 @@
},
"input_cost_per_video_token_batches": {
"type": "number",
- "minimum": 0,
- "description": "USD per video prompt token via the provider's batch API."
+ "minimum": 0
},
"input_dbu_cost_per_token": {
"type": "number",