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(anthropic adapter): stop indexing choices[0] on choiceless streaming chunks
0b809cf Devin AI committed 3 months ago
refactor(proxy): flatten the pricing-metric check to avoid recursion
074b37b mateo committed 3 months ago
fix(proxy): treat non-token pricing as priced and propagate the unpriced-model toggle across workers
84c41dc mateo committed 3 months ago
Merge pull request #35292 from BerriAI/litellm_lit4512_messages_guardrail_info
81ff7cb Mateo Wang committed 3 months ago
fix(policy_engine): warn that the config-defined policy reactivates when all DB versions are deleted
b42ef46 mateo-berri committed 3 months ago
feat(proxy): add a generic list contract for management/v1 entity lists
a685cc1 Yuneng Jiang committed 3 months ago
feat(spend-logs): record when a spend log row is the auto-router's own classifier call (#35300)
2dbcb9a tin-berri committed 3 months ago
fix: give ComplexityRouter LLM classifier prior-turn context (LIT-4981) (#35185)
c8bec20 tin-berri committed 3 months ago
fix(policy_engine): restore config policy immediately when its DB override is removed and keep same-named DB drafts reachable in the UI
35f770f mateo-berri committed 3 months ago
feat(ui): add sorting, filtering and search to the budgets page
1d40f2a Yuneng Jiang committed 3 months ago
fix(responses): map all documented in-stream error codes to real HTTP statuses
43fad50 mateo-berri committed 3 months ago
fix(anthropic): split mixed stream chunks by payload kind (#35289)
1018d18 yucheng-berri committed 3 months ago
Merge pull request #35259 from BerriAI/litellm_config_guardrail_info_lookup
0303700 Mateo Wang committed 3 months ago
fix(ui): let the internal user and org forms save sub-cent budgets (#35302)
7d97bbc ryan-crabbe-berri committed 3 months ago
fix(guardrails/headroom): stop compressing the turn the model must act on (#35294)
b408b1d tin-berri committed 3 months ago
test(e2e): skip the batch rate-limiter spend-row test pending LIT-5027 (#35301)
8ccbc3e ryan-crabbe-berri committed 3 months ago
Merge pull request #35278 from BerriAI/litellm_v3_limiter_contextvar_stash
f0d1362 Mateo Wang committed 3 months ago
Merge pull request #35290 from BerriAI/litellm_stream_usage_by_default
f211341 Mateo Wang committed 3 months ago
fix(proxy): resolve team-alias models in the stream usage support gate
c0de87d mateo-berri committed 3 months ago
feat(mcp): extend keyless gateway OAuth flow to per-server MCP URL paths (#34856)
79d4962 tin-berri committed 3 months ago
fix(logging): bind litellm_metadata by reference in function_setup so guardrail info reaches spend logs
899ed67 Yucheng Zhu committed 3 months ago
refactor(proxy): use a walrus assignment in the deployment model gate
0732122 mateo-berri committed 3 months ago
Merge pull request #35174 from BerriAI/litellm_fix_fireworks_kimi_output_limits
c3da121 Mateo Wang committed 3 months ago
fix(proxy): gate default stream usage injection on provider support and neutralize client-sent strip marker
a770b43 mateo-berri committed 3 months ago
Merge pull request #35260 from BerriAI/litellm_messages_streaming_post_call_guardrails
8e28765 Mateo Wang committed 3 months ago
fix(proxy): request stream usage upstream by default and strip it from client streams
43efd02 mateo-berri committed 3 months ago
Merge pull request #35282 from BerriAI/litellm_fix_embedding_cache_provider
d5dc9d1 Mateo Wang committed 3 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_/jovial-heisenberg-68775c
59524a3 Yuneng Jiang committed 3 months ago
fix(tag-management): drop unsupported prisma select kwarg from key lookup
3559232 Yuneng Jiang committed 3 months ago