{"record":{"id":"a2cdacb35ead917c","repo":"BerriAI/litellm","slug":"no-deployments-available-crossed-budget-deploy","errorCode":null,"errorMessage":"No deployments available - crossed budget: {deployment_above_budget_info}","messagePattern":"No deployments available - crossed budget: (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/router_strategy/budget_limiter.py","lineNumber":183,"sourceCode":"\n            (\n                potential_deployments,\n                deployment_above_budget_info,\n            ) = self._filter_out_deployments_above_budget(\n                healthy_deployments=healthy_deployments,\n                provider_configs=provider_configs,\n                deployment_configs=deployment_configs,\n                deployment_providers=deployment_providers,\n                spend_map=spend_map,\n                potential_deployments=potential_deployments,\n                request_tags=_get_tags_from_request_kwargs(\n                    request_kwargs=request_kwargs,\n                    metadata_variable_name=get_metadata_variable_name_from_kwargs(request_kwargs or {}),\n                ),\n            )\n\n            if len(potential_deployments) == 0:\n                raise ValueError(\n                    f\"{RouterErrors.no_deployments_with_provider_budget_routing.value}: {deployment_above_budget_info}\"\n                )\n\n            return potential_deployments\n        else:\n            return healthy_deployments\n\n    def _filter_out_deployments_above_budget(\n        self,\n        potential_deployments: list[dict[str, Any]],\n        healthy_deployments: list[dict[str, Any]],\n        provider_configs: dict[str, GenericBudgetInfo],\n        deployment_configs: dict[str, GenericBudgetInfo],\n        deployment_providers: list[str | None],\n        spend_map: dict[str, float],\n        request_tags: list[str],\n    ) -> tuple[list[dict[str, Any]], str]:\n        \"\"\"","sourceCodeStart":165,"sourceCodeEnd":201,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/router_strategy/budget_limiter.py#L165-L201","documentation":"Budget-limiter routing result: every healthy deployment was filtered out because its current spend exceeds the configured budget (max_budget/budget_duration); the per-deployment over-budget details are included so the operator can see which limits tripped.","triggerScenarios":"Thrown at litellm/router_strategy/budget_limiter.py:183 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Wait for the budget window to reset, raise the deployment budgets, or add more deployments."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}