+
+ When a model exceeds its per-model budget, requests automatically reroute to fallback models
+
+
}>
+ Add Budget Fallback
+
+
+ );
+ }
+
+ return (
+
+
+ When a model exceeds its per-model budget, requests automatically reroute to fallback models
+
+ {entries.map((entry) => {
+ const availablePrimaryOptions = availableModels.filter(
+ (m) => m === entry.primaryModel || !usedPrimaryModels.has(m),
+ );
+ const availableFallbackOptions = availableModels.filter((m) => m !== entry.primaryModel);
+
+ return (
+
+
+
+
+
+
+
+
+
+
+ IF BUDGET EXCEEDED, TRY
+
+
+
+
+
+
+
+ );
+ })}
+
}>
+ Add Budget Fallback
+
+
+ );
+}
diff --git a/ui/litellm-dashboard/src/components/key_team_helpers/key_list.tsx b/ui/litellm-dashboard/src/components/key_team_helpers/key_list.tsx
index 60568da48ed..99fe23792d6 100644
--- a/ui/litellm-dashboard/src/components/key_team_helpers/key_list.tsx
+++ b/ui/litellm-dashboard/src/components/key_team_helpers/key_list.tsx
@@ -97,6 +97,7 @@ export interface KeyResponse {
agent_access_groups?: string[];
};
access_group_ids?: string[];
+ budget_fallbacks?: Record