diff --git a/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsx b/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsx index 658d55b12d8..01eafa4d534 100644 --- a/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsx +++ b/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsx @@ -84,17 +84,11 @@ const ResponseMetrics: React.FC = ({ timeToFirstToken, tot )} - {usage && ( - + {usage?.cost !== undefined && ( +
- {usage.cost !== undefined ? `$${usage.cost.toFixed(6)}` : "Not Tracked"} + ${usage.cost.toFixed(6)}
)}