From 575b09f834298e973261569558e2c66bc38a904d Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Wed, 19 Nov 2025 23:18:38 -0500 Subject: [PATCH] Show zero price for free models (#9419) --- webview-ui/src/components/settings/ModelInfoView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webview-ui/src/components/settings/ModelInfoView.tsx b/webview-ui/src/components/settings/ModelInfoView.tsx index 505a302eec..167ce85e3d 100644 --- a/webview-ui/src/components/settings/ModelInfoView.tsx +++ b/webview-ui/src/components/settings/ModelInfoView.tsx @@ -69,13 +69,13 @@ export const ModelInfoView = ({ ].filter(Boolean) const priceInfoItems = [ - modelInfo?.inputPrice !== undefined && modelInfo.inputPrice > 0 && ( + modelInfo?.inputPrice !== undefined && ( <> {t("settings:modelInfo.inputPrice")}:{" "} {formatPrice(modelInfo.inputPrice)} / 1M tokens ), - modelInfo?.outputPrice !== undefined && modelInfo.outputPrice > 0 && ( + modelInfo?.outputPrice !== undefined && ( <> {t("settings:modelInfo.outputPrice")}:{" "} {formatPrice(modelInfo.outputPrice)} / 1M tokens