diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsx index 89061d9169..359f6691f2 100644 --- a/ui/litellm-dashboard/src/components/model_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/model_dashboard.tsx @@ -1196,9 +1196,15 @@ const ModelDashboard: React.FC = ({ wordBreak: "break-word", }} > - {model.input_cost || - model.litellm_params.input_cost_per_token || - null} + {model.input_cost + ? model.input_cost + : model.litellm_params.input_cost_per_token + ? ( + Number( + model.litellm_params.input_cost_per_token + ) * 1000000 + ).toFixed(2) + : null} = ({ wordBreak: "break-word", }} > - {model.output_cost || - model.litellm_params.output_cost_per_token || - null} + {model.output_cost + ? model.output_cost + : model.litellm_params.output_cost_per_token + ? ( + Number( + model.litellm_params.output_cost_per_token + ) * 1000000 + ).toFixed(2) + : null}