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_user Data Source
Retrieves information about an existing LiteLLM user by ID
Example Usage
data "litellm_user" "alice" {
user_id = "alice-user-id"
}
output "alice_email" {
value = data.litellm_user.alice.user_email
}
Argument Reference
user_id(Required) - ID of the user to retrieve
Attribute Reference
id- The user IDuser_email- Email address of the useruser_alias- Descriptive name for the useruser_role- Role of the user on the proxyteams- List of team IDs the user belongs tomodels- Models the user is allowed to callmax_budget- Maximum budget in USD for the userspend- Current spend in USD for the userbudget_duration- Budget reset period for the usertpm_limit- Tokens per minute limitrpm_limit- Requests per minute limitmax_parallel_requests- Maximum number of parallel requestsmetadata- Map of metadata for the usermodel_max_budget- JSON string of per-model budget config