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): drop every invalid metadata field before raising so failure hooks never see them
a21de07 mateo-berri committed 3 months ago
test(proxy): give the x-litellm-model fallback test deterministic openai env creds
73ae9c6 mateo-berri committed 3 months ago
Merge pull request #37200 from BerriAI/litellm_bump_sqlparse_osv
f04b1da Mateo Wang committed 3 months ago
fix(proxy): retire terminal batches whose advertised output file 404s instead of retrying
2f9d331 mateo-berri committed 3 months ago
fix(proxy): keep ProxyException status codes on /v1/moderations instead of wrapping into 500
f3b0cdc mateo-berri committed 3 months ago
fix(proxy): bill cancelled and failed batches that still produced an output file
2198410 mateo-berri committed 3 months ago
fix(proxy): keep ProxyException status codes on /v1/messages instead of wrapping into 500
c894697 mateo-berri committed 3 months ago
Merge pull request #37199 from BerriAI/litellm_lit5657_batches_400_missing_fields
badd737 Mateo Wang committed 3 months ago
fix(proxy): enforce batch list limit bounds on managed passthrough listings
6e55a21 mateo-berri committed 3 months ago
test: cover soft budget row creation and windows without max_budget
4e3e7d8 Thijmen Stavenuiter committed 3 months ago
fix(proxy): return 400 for non-object metadata and litellm_metadata instead of silent drop or 500
57e1bf4 mateo-berri committed 3 months ago
Merge branch 'litellm_internal_staging' of https://github.com/BerriAI/litellm into key-budget-window-usage
c7abb51 Thijmen Stavenuiter committed 3 months ago
fix(proxy): return 404 instead of 500 for unresolvable batch and file ids on /v1/batches
4a7dfd7 mateo-berri committed 3 months ago
style: apply ruff format to budget limits comprehension
ffd23ab Thijmen Stavenuiter committed 3 months ago
test(e2e): replay a real tool-search assistant turn back to Bedrock Invoke (#36856)
d5b91b9 Yassin Kortam committed 3 months ago
fix(batches): count failures reported only in the batch error file
02cf319 mubashir1osmani committed 3 months ago
fix(proxy): return 400 naming the missing required param on POST /v1/batches
e4ce526 mateo-berri committed 3 months ago
fix(proxy): reject out-of-range limit on GET /v1/batches with OpenAI-parity 400
f55a193 mateo-berri committed 3 months ago
fix(proxy): registry caches stop per-request tag and end-user Postgres reads in auth (#36801)
ad6a3a7 ryan-crabbe-berri committed 3 months ago
fix: cap /v2/key/info batch size to bound spend-log query fan-out
9b30e73 Thijmen Stavenuiter committed 3 months ago
fix(gemini): price gemini 3.6 flash at Google's introductory rates on every service tier
94a29e0 mateo committed 3 months ago
fix(ocr): validate body req_format in the proxy endpoint and run its tests in CI
1e1a2b6 mateo committed 3 months ago
fix(bedrock): preserve cache token usage when invocationMetrics replace the usage block (#36878)
3b6ae75 Brian Cox committed 3 months ago
fix(azure): rename max_tokens to max_completion_tokens for gpt-5-chat deployments (#36857)
9b7ed77 Yassin Kortam committed 3 months ago
feat(bedrock): forward LiteLLM identity and metadata into Bedrock requestMetadata (#36861)
ee08b63 Yassin Kortam committed 3 months ago
fix(guardrails): scan text on /guardrails/apply_guardrail for Azure Content Safety (#36894)
1139012 yucheng-berri committed 3 months ago
feat(ocr): add req_format=native to return Azure Document Intelligence's own analyzeResult payload
57d739b mateo committed 3 months ago