Skip to content

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]

default to 7 days (#12917)

tanjiroec2c5b3d074f
diff --git a/ui/litellm-dashboard/src/components/new_usage.tsx b/ui/litellm-dashboard/src/components/new_usage.tsx
index 9b55f05abca..251e51b7b90 100644
--- a/ui/litellm-dashboard/src/components/new_usage.tsx
+++ b/ui/litellm-dashboard/src/components/new_usage.tsx
@@ -83,7 +83,7 @@ const NewUsagePage: React.FC<NewUsagePageProps> = ({
// Add date range state
const [dateValue, setDateValue] = useState<DateRangePickerValue>({
- from: new Date(Date.now() - 28 * 24 * 60 * 60 * 1000),
+ from: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
to: new Date(),
});