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_project (Data Source)
Retrieves information about an existing LiteLLM project, including its budget settings
Example Usage
data "litellm_project" "ml_experiments" {
project_id = "4a422a4c-e246-4d02-a1eb-13e835cd0725"
}
output "project_spend" {
value = data.litellm_project.ml_experiments.spend
}
Argument Reference
The following arguments are supported:
project_id- (Required) Unique identifier of the project to retrieve
Attribute Reference
In addition to all arguments above, the following attributes are exported:
project_alias- Human-friendly name for the projectdescription- Description of the projectteam_id- The team ID this project belongs tobudget_id- Budget ID associated with this projectmodels- List of models the project can accessmax_budget- Maximum budget for this projectsoft_budget- Soft budget limit for warningsbudget_duration- Budget reset durationtpm_limit- Tokens per minute limitrpm_limit- Requests per minute limitmax_parallel_requests- Maximum parallel requests allowedblocked- Whether the project is blocked from making requestsspend- Current spend for the projectcreated_at- Timestamp when the project was createdupdated_at- Timestamp when the project was last updatedcreated_by- User that created the projectupdated_by- User that last updated the project