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
refactor(proxy): resolve supported_openai_params aliases via Router.resolved_litellm_models
11a7471 mateo-berri committed 2 months ago
fix(anthropic_messages): dispatch deferred spend logging when the client disconnects mid-relay
0e78c5b mateo-berri committed 2 months ago
merge: litellm_internal_staging into litellm_fix_nova_sonic_realtime_user_asr_usage
8a6f47a mateo-berri committed 2 months ago
Merge pull request #38801 from BerriAI/devin_ai_1788036971-stale-cost-map-sources
c03a38d Mateo Wang committed 2 months ago
fix(azure_ai): only reclassify as azure when api_base is a classic Azure OpenAI endpoint
1072de9 mateo-berri committed 2 months ago
test(newrelic): cover static default_team_settings per-team routing (#38857)
30f3228 yucheng-berri committed 2 months ago
fix(docker): bump wolfi-base for glibc 2.44 and pin apk python to 3.13 in migrations image
3947374 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_pr36008_head
6e59ce1 mateo-berri committed 2 months ago
Merge pull request #38772 from BerriAI/litellm_claude_md_test_behavior_not_structure
d6cce13 Mateo Wang committed 2 months ago
fix(anthropic): resolve TRY300 lint violation and ratchet budgets after litellm_internal_staging merge
2f50988 nuernber committed 2 months ago
fix(proxy): deliver budget alerts on webhook-only alerting and accept ALERTING_WEBHOOK_URL (#38441)
f079e40 devin-ai-integration[bot] committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_bedrock_messages_disconnect_billing
b5affa6 nuernber committed 2 months ago
docs(constants): clarify which env var the cap=0 fallback note applies to
8e92f98 nuernber committed 2 months ago
test(anthropic): cover ANTHROPIC_MESSAGES_MAX_DETACHED_STREAM_DRAINS=0 fallback to partial billing
79fd2f4 nuernber committed 2 months ago
test(anthropic): fix PT012 lint violation in upstream-error regression test
e1fece5 nuernber committed 2 months ago
chore: ratchet down lint/type budgets after disconnect-billing merge fix
b2df72f nuernber committed 2 months ago
Merge pull request #38942 from BerriAI/litellm_lite_claude_enable_tool_search-8eee
32291c9 Mateo Wang committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_bedrock_messages_disconnect_billing
95a2586 nuernber committed 2 months ago
fix(router): copy kwargs instead of popping target order
f7b1cc1 Emerson Gomes committed 2 months ago
docs(cost): state that a naive off-peak current_time is read as UTC
cc3ea1f Srivatsa03 committed 3 months ago
fix(cost): treat an equal-ended off-peak window as the whole day
27aefad Srivatsa03 committed 3 months ago
fix(cost): apply off-peak rates on the tiered-pricing path
4f174ff Srivatsa03 committed 3 months ago
test(cost): move off-peak tests beside the related cost tests
d302301 Srivatsa03 committed 3 months ago
refactor(cost): conform off-peak pricing to current lint budgets
c813386 Srivatsa03 committed 3 months ago
fix(cost): evaluate off-peak windows in UTC for timezone-aware inputs
f2c6635 Srivatsa03 committed 3 months ago
feat(cost): support time-based off-peak pricing in cost calculation
9fc77f1 Srivatsa03 committed 4 months ago
fix(router): keep order fallback on the requested order level
bd0b9c7 Emerson Gomes committed 2 months ago
fix(proxy): avoid NotRequired access on litellm_params model
ba817aa Devin AI committed 2 months ago
fix(proxy): resolve router model aliases in /utils/supported_openai_params
1bf3ab5 Devin AI committed 2 months ago