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(proxy): only create Router when models or search_tools exist (#20661)
5fb7644 shin-bot-litellm committed 9 months ago
perf: move async/sync callback separation from per-request to registration time
aaaf7f3 Ryan Crabbe committed 9 months ago
fix: include cache_creation_token_details in cost guard to prevent undercharging ephemeral tokens
1d8e3a6 Ryan Crabbe committed 9 months ago
perf: skip output cost lookups when no audio/reasoning/image tokens
eab8bb4 Ryan Crabbe committed 9 months ago
perf: skip cost component calculations when usage values are zero
00a1ba7 Ryan Crabbe committed 9 months ago
perf: skip threshold pricing loop for models without threshold keys
b96fdda Ryan Crabbe committed 9 months ago
Revert "perf: skip enterprise callback check when no dynamic disabling config…" (#20659)
14e2714 Ishaan Jaff committed 9 months ago
fix(tests): Add missing mocks for MCP IP filtering and updated APIs (#20652)
1477b4b shin-bot-litellm committed 9 months ago
perf: skip enterprise callback check when no dynamic disabling configured (#20449)
ffc6af3 ryan-crabbe committed 9 months ago
Merge pull request #20653 from BerriAI/litellm_deleted_table_soft_budget
fe30e8a yuneng-jiang committed 9 months ago
perf: guard debug f-string in update_environment_variables to avoid evaluation when disabled (#20360)
862f0de ryan-crabbe committed 9 months ago
perf: replace enum construction with frozenset lookup in _is_streaming_request (#20302)
14c2b5d ryan-crabbe committed 9 months ago
perf: guard debug log f-strings and remove redundant dict copy in hot path (#19961)
606b9be ryan-crabbe committed 9 months ago
perf: Optimize get_litellm_params with sparse kwargs extraction (#19884)
616350f ryan-crabbe committed 9 months ago
perf: add early-exit guards in completion_cost for unused features (#20020)
874bafb ryan-crabbe committed 9 months ago
fix(tests): Fix flaky container and scientific notation tests (#20650)
df299d3 shin-bot-litellm committed 9 months ago
perf: optimize get_standard_logging_metadata with set intersection (#19685)
8c70516 ryan-crabbe committed 9 months ago
fix(tests): Fix sendgrid email tests to properly mock httpx client (#20628)
9eb7157 shin-bot-litellm committed 9 months ago