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
Commits on main
fix(guardrails): never map empty guardrail names onto a sibling id
937179b yucheng committed 2 months ago
fix(guardrails): skip malformed guardrail entries instead of failing the usage batch
586d51f yucheng committed 2 months ago
Merge pull request #41116 from BerriAI/litellm_auto_router_session_api_access
2cad7a4 tin-berri committed 2 months ago
fix(proxy): leave the realtime max_parallel_requests slot to the limiter failure callback when a refusal was logged
abc85ba yassin committed 2 months ago
fix(auth): evict the membership cache entry when invalidation lands during the cache write
91c964a yassin committed 2 months ago
fix(guardrails): coalesce usage index rows per request and guardrail, keeping policy linkage
7ebb169 yucheng committed 2 months ago
Merge pull request #41107 from BerriAI/litellm_hide_credentials_hint_when_ui_password_set
161ae2f Yassin Kortam committed 2 months ago
Merge pull request #41118 from BerriAI/litellm_prometheus_proxy_provider_fallback_constant
43c3dbb Yassin Kortam committed 2 months ago
Merge pull request #40930 from BerriAI/litellm_flat_retry_records
97ddb94 Yassin Kortam committed 2 months ago
fix(guardrails): key not_run index rows by the sibling evaluation's guardrail_id
c3f52fe yucheng committed 2 months ago
fix(cli): show routed models and session stats for LLM API keys
3177c37 Tin Chi Lo committed 2 months ago
fix(proxy): move credentials hint helper into a leaf html_forms module to clear CodeQL cyclic import
c8440b5 yassin committed 2 months ago
Merge pull request #40817 from BerriAI/litellm_redis_timeout_log_throttle
856aedd Yassin Kortam committed 2 months ago
refactor(prometheus): source PROXY_LLM_PROVIDER_FALLBACK from litellm.constants
9a62a5e yassin committed 2 months ago
Merge pull request #41115 from BerriAI/litellm_fix_wrapper_async_double_sync_success_handler_main
ab09abc Yassin Kortam committed 2 months ago
Merge pull request #41114 from BerriAI/litellm_model_info_skip_jsonable_encoder_main
9635222 Yassin Kortam committed 2 months ago
fix(proxy): keep JWT agent binding through AUTO_REGISTER key creation
4435aa6 yassin committed 2 months ago
fix(proxy): import UserNotFoundError in grants resolver from the types module
336ead5 yassin committed 2 months ago
fix(proxy): leave the realtime max_parallel slot to the success callback when one is enqueued
1b31be1 yassin committed 2 months ago
fix(auth): drop in-flight membership load on invalidation so it cannot repopulate the cache
4ac168b yassin committed 2 months ago
chore(constants): drop the restating comment above the Bedrock realtime scope keys
d7900df yassin committed 2 months ago
fix(proxy): define UserNotFoundError in an import-free types module so no importer sits in the CodeQL cycle
4fee71b yassin committed 2 months ago
test(caching): wrap the DualCache fixture line to the 120 character limit
a4e34d6 yassin committed 2 months ago
Merge pull request #41059 from BerriAI/litellm_prometheus_pre_call_rate_limit_api_provider
34fe9f7 Yassin Kortam committed 2 months ago
fix(proxy): report parent org models on /team/info only to team managers
2d3b63f ryan committed 2 months ago
fix(caching): keep generic add_cache failures at ERROR unless the backend is Redis
bea22df yassin committed 2 months ago
fix(proxy): resolve CodeQL findings on team list, sanitize log args and move UserNotFoundError out of the import cycle
9e870ff yassin committed 2 months ago
fix(bedrock/realtime): declare the client websocket scope as a protocol attribute
21cd52d yassin committed 2 months ago
fix(router): import retry helpers inside their functions to break CodeQL import cycles
10be7e0 yassin committed 2 months ago