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(gemini): keep the 2048 cache minimum on Gemini 2.5 Pro only, per Google's live cachedContents API
2303379 mateo-berri committed 2 months ago
fix(anthropic): keep cache_control for Gemini targets on /v1/messages and normalize Anthropic ttl units
3289e22 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_llm_guard_proxy_call_types
31ec848 yucheng committed 2 months ago
fix(batches): honor deployment OCR page pricing in batch cost and answer 400 for unsupported Mistral file purposes
f89ca64 mateo-berri committed 2 months ago
Merge pull request #41685 from BerriAI/litellm_prompt_injection_llm_api_check_dispatch
8afbc51 yucheng-berri committed 2 months ago
fix(policy_engine): keep the per-choice rebuilt response's choices a list so legacy hook rewrites survive the model_dump round-trip
4fe1549 mateo-berri committed 2 months ago
Merge branch 'main' into feat/gemini-cache-control-pass-through
6019e45 mateo-berri committed 2 months ago
fix(policy_engine): fail open when an unended Messages stream has no text delta to carry the rewrite
cb80e87 mateo-berri committed 2 months ago
Merge pull request #41930 from BerriAI/litellm_mat602_upstream_500_error_type
5611607 Mateo Wang committed 2 months ago
Merge pull request #40399 from adssoccer1/feat/websearch-multi-query-schema
0a792c0 Mateo Wang committed 2 months ago
fix(mcp): retain wire aliases in guardrail inspection payloads
c91ca90 Joshua Valluru committed 2 months ago
fix(policy_engine): deliver guardrail text rewrites on multi-choice, unfinished, and envelope-less streams
b3d9ba9 mateo-berri committed 2 months ago
fix(proxy): keep a config-owned key's resolved value across a database reload
c9158fc Yuneng Jiang committed 2 months ago
Merge pull request #41843 from BerriAI/litellm_lit8064_unpin_derived_pricing
4eb13a0 Mateo Wang committed 2 months ago
fix(mcp): preserve session expiry signals and scope dependency CI
f5ab563 Joshua Valluru committed 2 months ago
test: drop the docstring that restated the payload test's name
5f6ffdc mateo-berri committed 2 months ago
chore(proxy): keep the new config-owned refusals inside the LIT002 ceiling
3d2ec85 Yuneng Jiang committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_settings_store_immutable
3a480a5 Yuneng Jiang committed 2 months ago
fix(proxy): refuse runtime writes to config-owned settings
a987efc Yuneng Jiang committed 2 months ago
Merge pull request #41564 from BerriAI/litellm_responses_bridge_message_item_lit4622
b7f0746 Mateo Wang committed 2 months ago
fix(proxy): enforce the unified batch model grant before the DB shortcut and skip it for registry-routed vector store models
5783a38 mateo-berri committed 2 months ago
fix(exceptions): keep internal_server_error as the public type of an upstream 500
ddac683 mateo-berri committed 2 months ago
fix(mcp): preserve legacy behavior on SDK2 and streamline verification
aea13ee Joshua Valluru committed 2 months ago
Merge pull request #41924 from BerriAI/litellm_role_permissions_normalization
12ddb35 yuneng-jiang committed 2 months ago
ci: skip the integration matrix during migration-qualification pipelines
2ee6fb5 Yuneng Jiang committed 2 months ago
test(e2e): cover MCP OAuth SSO and cold restart acceptance
7f4dd4e Joshua Valluru committed 2 months ago
fix(mistral): accept user_data as the OCR file purpose and keep OCR cost warnings single-line
f3b198c mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_mistral_ocr_batches
fb76b67 mateo-berri committed 2 months ago
Merge pull request #41918 from BerriAI/litellm_websearch_followup_api_base
faed57f Mateo Wang committed 2 months ago