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
litellm_budgets Data Source
Retrieves all budgets configured on the LiteLLM proxy
Example Usage
data "litellm_budgets" "all" {}
output "budget_ids" {
value = data.litellm_budgets.all.ids
}
Argument Reference
This data source takes no arguments
Attribute Reference
budgets- All budgets configured on the proxy. Each entry has:budget_id- The budget IDmax_budget- Hard budget limit in USDsoft_budget- Soft budget limit in USD that triggers alertsmax_parallel_requests- Maximum concurrent requests allowed for this budgettpm_limit- Maximum tokens per minute allowed for this budgetrpm_limit- Maximum requests per minute allowed for this budgetbudget_duration- Budget reset periodmodel_max_budget- JSON string of per-model budget configbudget_reset_at- Datetime when the budget is reset
ids- IDs of all budgets configured on the proxy