From aa9454f2704402c2289fa940982afd6e2cc64c8c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 28 Mar 2026 11:43:12 +0000 Subject: [PATCH] fix: restore xai pricing cache fallback --- src/gateway/model-pricing-cache-state.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gateway/model-pricing-cache-state.ts b/src/gateway/model-pricing-cache-state.ts index 69027343b59..b5250ca5601 100644 --- a/src/gateway/model-pricing-cache-state.ts +++ b/src/gateway/model-pricing-cache-state.ts @@ -69,9 +69,7 @@ export function getCachedGatewayModelPricing(params: { if (!shouldNormalizeCachedPricingLookup(provider)) { return undefined; } - const normalized = normalizeModelRef(provider, model, { - allowPluginNormalization: false, - }); + const normalized = normalizeModelRef(provider, model); const normalizedKey = modelPricingCacheKey(normalized.provider, normalized.model); return normalizedKey ? cachedPricing.get(normalizedKey) : undefined; }