diff --git a/ui/litellm-dashboard/src/components/top_key_view.tsx b/ui/litellm-dashboard/src/components/top_key_view.tsx index 39e66f7f77..65fefbc906 100644 --- a/ui/litellm-dashboard/src/components/top_key_view.tsx +++ b/ui/litellm-dashboard/src/components/top_key_view.tsx @@ -162,7 +162,10 @@ const TopKeyView: React.FC = ({ topKeys, accessToken, userID, u const spendColumn = { header: "Spend (USD)", accessorKey: "spend", - cell: (info: any) => `$${formatNumberWithCommas(info.getValue(), 2)}`, + cell: (info: any) => { + const value = info.getValue(); + return value > 0 && value < 0.01 ? '<$0.01' : `$${formatNumberWithCommas(value, 2)}`; + }, } const columns = showTags