The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
port less than 1 cent to spend column
DrQuacksd303bf6743a2
diff --git a/ui/litellm-dashboard/src/components/top_key_view.tsx b/ui/litellm-dashboard/src/components/top_key_view.tsxindex 39e66f7f77c..65fefbc9069 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<TopKeyViewProps> = ({ topKeys, accessToken, userID, uconst 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