From c887a0893901394edea663639c684757334c1e38 Mon Sep 17 00:00:00 2001 From: Shreshth Kharbanda Date: Fri, 25 Sep 2026 15:36:59 -0700 Subject: [PATCH] fix(pricing): leave the reference pixel key undescribed in the generated schema The cost map guard runs main's schema generator against the PR's files, so a description added in the same PR can never match. The key keeps its Terraform and Rust docs --- ci_cd/generate_model_prices_schema.py | 1 - model_prices_and_context_window.schema.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ci_cd/generate_model_prices_schema.py b/ci_cd/generate_model_prices_schema.py index 7b9e6f9d62a..8eec07dadda 100644 --- a/ci_cd/generate_model_prices_schema.py +++ b/ci_cd/generate_model_prices_schema.py @@ -222,7 +222,6 @@ COST_DESCRIPTIONS: dict[str, str] = { "cache_read_input_token_cost": "USD per prompt token served from the provider's prompt cache.", "input_cost_per_token_batches": "USD per prompt token via the provider's batch API.", "output_cost_per_token_batches": "USD per generated token via the provider's batch API.", - "input_cost_per_reference_pixel": "USD per billable pixel of the reference images sent with an image edit (Azure AI FLUX.2 counts them in whole 1024x1024 megapixels).", } diff --git a/model_prices_and_context_window.schema.json b/model_prices_and_context_window.schema.json index c38adc685ed..a05a6e56514 100644 --- a/model_prices_and_context_window.schema.json +++ b/model_prices_and_context_window.schema.json @@ -330,8 +330,7 @@ }, "input_cost_per_reference_pixel": { "type": "number", - "minimum": 0, - "description": "USD per billable pixel of the reference images sent with an image edit (Azure AI FLUX.2 counts them in whole 1024x1024 megapixels)." + "minimum": 0 }, "input_cost_per_request": { "type": "number",