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
Merge pull request #37887 from BerriAI/litellm_ruff_no_assert_in_except
dd64331 ryan-crabbe-berri committed 3 months ago
fix(redis): reset only the failed node on a cluster client timeout, not the whole client (#37863)
91f2382 Yassin Kortam committed 3 months ago
feat(ui): add per-key Savings tab to key detail page (#37693)
0c50286 tin-berri committed 3 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into drive-37552
277ed88 mateo-berri committed 3 months ago
test: keep a real assertion where the tolerance handler lost its last one
6266b3d ryan-crabbe-berri committed 3 months ago
chore(ci): ratchet TQ004 to the 757 raw env writes this branch leaves
02fd2e5 ryan-crabbe-berri committed 3 months ago
fix(ui): drive auto-router usage from the shared cost-optimization time picker (#37871)
9821b45 tin-berri committed 3 months ago
test: wrap the raising call, not the print that follows it
4d8346a ryan-crabbe-berri committed 3 months ago
fix(router): don't log 'Could not identify azure model' when the deployment name resolves from the cost map (#37869)
04113aa tin-berri committed 3 months ago
test: reject assertions on a caught error inside except (ruff PT017)
243ed43 ryan-crabbe-berri committed 3 months ago
fix(vertex_ai): convert messages to contents in gemini count_tokens (#36981)
52e181d Sai Likhith Kanuparthi committed 3 months ago
fix(guardrails): run policy pipelines when the caller sends its own metadata (/v1/messages, Claude Code) (#36889)
f48d219 devin-ai-integration[bot] committed 3 months ago
Merge pull request #37878 from BerriAI/litellm_ruff_no_duplicate_definitions
ed02a12 ryan-crabbe-berri committed 3 months ago
fix(model-costs): apply GPT-5.6 Sol promotional pricing cut
e6a6016 Mubashir Osmani committed 3 months ago
fix(responses): map Bedrock Mantle context overflow to ContextWindowExceededError (#37862)
bb99f57 Yassin Kortam committed 3 months ago
fix(mcp): deny the interactive dcr_bridge authorize for a user without server access (#37865)
6a75bbd tin-berri committed 3 months ago
Merge pull request #37875 from BerriAI/litellm_/revert-pr-37554-migration-5af8ea
f6c19ea yuneng-jiang committed 3 months ago
test: enforce F811 so a duplicate definition cannot silently replace the first
e9d40a8 ryan-crabbe-berri committed 3 months ago
Merge pull request #37876 from BerriAI/litellm_/migrations-code-owner-c09d78
247eaaa yuneng-jiang committed 3 months ago
chore(codeowners): own the proxy-extras migrations directory
6f73e5f Yuneng Jiang committed 3 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_/revert-pr-37554-migration-5af8ea
cce6562 Yuneng Jiang committed 3 months ago
fix(ptu): never retract a flat charge for a deployment the run cannot see (#37793)
0a5fa4f yucheng-berri committed 3 months ago
revert(spend-logs): drop the endTime backfill migration for spend log timestamps
34c0c70 Yuneng Jiang committed 3 months ago
fix(ptu): require an operator-declared id on a config.yaml reservation (#37794)
8122cfc yucheng-berri committed 3 months ago
fix(proxy): scan batch records with the content hooks that are not guardrails (#37786)
d4a3277 yucheng-berri committed 3 months ago
fix(proxy): read batch records the same way the upload validation does (#37776)
01a32a3 yucheng-berri committed 3 months ago
test(lint): clear the two PT011/PT012 violations left on the test tree (#37864)
ae1eea1 tin-berri committed 3 months ago
fix: omit thinking.type=disabled for always-on thinking Claude models (#37510)
4307b34 tin-berri committed 3 months ago
fix(responses): preserve Bedrock Mantle validation status (#36580)
c166225 Ruiming Zhao committed 3 months ago