Skip to content

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]

user api key auth rpm_limit_per_model

Ishaan Jaffa6a4b944ad95
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index 94428c7feba..2eab4a66d0b 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -1337,6 +1337,8 @@ class UserAPIKeyAuth(
] = None
allowed_model_region: Optional[Literal["eu"]] = None
parent_otel_span: Optional[Span] = None
+ rpm_limit_per_model: Optional[Dict[str, int]] = None
+ tpm_limit_per_model: Optional[Dict[str, int]] = None
@model_validator(mode="before")
@classmethod