From 04833e4afb812d52d1eb2c83032979a69b586afd Mon Sep 17 00:00:00 2001 From: roasted-penguin <43606521+roasted-penguin@users.noreply.github.com> Date: Thu, 5 Nov 2026 12:31:47 +0900 Subject: [PATCH] fix(model-catalog): mirror cache_storage_cost_per_token_per_hour in ModelInfoFields ModelInfoFields lists the fields Python's ModelInfoBase(...) copies, and get_model_info_helper now copies cache_storage_cost_per_token_per_hour right before off_peak_pricing, so the mirror gets the same field in the same place. --- litellm-rust/crates/model-catalog/src/model_info.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm-rust/crates/model-catalog/src/model_info.rs b/litellm-rust/crates/model-catalog/src/model_info.rs index afbbfec59e6..2e0ca7805d2 100644 --- a/litellm-rust/crates/model-catalog/src/model_info.rs +++ b/litellm-rust/crates/model-catalog/src/model_info.rs @@ -58,6 +58,7 @@ pub struct ModelInfoFields { pub cache_creation_input_token_cost_above_12hr_ultrafast: Option, pub cache_creation_input_token_cost_above_12hr_above_272k_tokens_batches: Option, pub cache_creation_input_token_cost_above_12hr_above_272k_tokens_ultrafast: Option, + pub cache_storage_cost_per_token_per_hour: Option, pub off_peak_pricing: Option, pub input_cost_per_character: Option, pub input_cost_per_token_above_128k_tokens: Option,