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
chore: regenerate poetry.lock to match pyproject.toml (#21811)
22704b0 github-actions[bot] committed 9 months ago
Merge pull request #21003 from BerriAI/litellm_perf_skip_usage_roundtrip
336ecd6 ryan-crabbe committed 9 months ago
fix(tests): isolate auth in spend logs and vertex passthrough tests (#21810)
b281181 Ishaan Jaff committed 9 months ago
fix(test): replace flaky test_vertex_ai_gemini_audio_ogg with mocked version (#21807)
1ed5290 Ishaan Jaff committed 9 months ago
Merge pull request #20789 from ryan-crabbe/perf/cache-openai-init-params
da8f038 ryan-crabbe committed 9 months ago
Merge pull request #21213 from BerriAI/litellm_fix_streaming_connection_pool_leak
4c393de ryan-crabbe committed 9 months ago
Merge origin/main into litellm_fix_streaming_connection_pool_leak
5bcaeab Ryan Crabbe committed 9 months ago
Merge pull request #20354 from ryan-crabbe/perf/callback-registration-routing
53f3dfa ryan-crabbe committed 9 months ago
Merge origin/main into perf/callback-registration-routing
ea32ad7 Ryan Crabbe committed 9 months ago
fix(tests): replace asyncio.sleep(1) with event-based wait in metadata callback tests (#21805)
0267058 Ishaan Jaff committed 9 months ago
Merge pull request #20882 from ryan-crabbe/perf/optimize-model-dump-preserved-fields
f513971 ryan-crabbe committed 9 months ago
fix(tests): add missing start_db_health_watchdog_task mock (#21804)
daa682e Ishaan Jaff committed 9 months ago
Revert "fix(http_handler): bypass cache when shared_session is provided for aiohttp tracing (#20630)"
0b69c21 Ishaan Jaffer committed 9 months ago
Merge pull request #20374 from ryan-crabbe/perf/cache-access-groups
d7b3b2e ryan-crabbe committed 9 months ago
Merge pull request #20541 from ryan-crabbe/perf/cost-calculator-optimizations
4699514 ryan-crabbe committed 9 months ago
Merge pull request #20526 from ryan-crabbe/perf/add-litellm-data-to-request-optimizations
a8dbcb1 ryan-crabbe committed 9 months ago
Merge pull request #20448 from ryan-crabbe/perf/optimize-completion-cost
d04e5c6 ryan-crabbe committed 9 months ago
fix(migrations): add ensure_project_id migration + bump litellm-proxy-extras to 0.4.46 (#21800)
08ae43a Ishaan Jaff committed 9 months ago
perf: optimize completion_cost() — eliminate enum overhead, reduce function call indirection
dc2c835 Ryan Crabbe committed 9 months ago
Merge pull request #20593 from ryan-crabbe/perf/reuse-litellm-params
d8dda93 ryan-crabbe committed 9 months ago
Merge pull request #20440 from ryan-crabbe/perf/skip-duplicate-logging-payload
be016b6 ryan-crabbe committed 9 months ago
Merge pull request #20434 from ryan-crabbe/perf/prometheus-asgi-middleware
1ab1139 ryan-crabbe committed 9 months ago
test: add backwards compatibility tests for PrometheusAuthMiddleware
498dad0 Ryan Crabbe committed 9 months ago
perf: convert PrometheusAuthMiddleware from BaseHTTPMiddleware to pure ASGI
6ae2d6e Ryan Crabbe committed 9 months ago
fix: 2 failing CI tests in litellm_mapped_tests_proxy_part2 (#21797)
87feca0 Ishaan Jaff committed 9 months ago
fix(proxy): restore broad is_database_connection_error; add is_database_transport_error for reconnect (#21796)
a939fa3 Ishaan Jaff committed 9 months ago