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): register thinking-binding-controls-2026-08-01 in beta headers config
c19a199 Chloe Lu committed 2 months ago
Merge pull request #41188 from BerriAI/litellm_spend_reconciliation
81863c1 yuneng-jiang committed 2 months ago
Merge pull request #41186 from BerriAI/litellm_statusline_router_cost_label
feab83a tin-berri committed 2 months ago
fix(router): preserve session model choice within each complexity tier
8134043 Tin Chi Lo committed 2 months ago
fix(gemini): map minimal thinking to low for Gemini 3.7 and 3.8 Flash
e7454e5 Devin AI committed 2 months ago
fix(guardrails): validate tool_use rewrites before writing text rewrites back
92714ca mateo-berri committed 2 months ago
fix(router): ignore planted request_retry_count seeds and cover the rust OCR cap path
f80cb5c mateo-berri committed 2 months ago
Merge pull request #41194 from BerriAI/litellm_stream_tool_contract
7e3ca14 yuneng-jiang committed 2 months ago
feat(auto-router): allow opted-in team members to manage their routers
109ca70 Tin Chi Lo committed 2 months ago
Merge pull request #41072 from BerriAI/litellm_lit5201_provider_split
4805c6d tin-berri committed 2 months ago
Merge pull request #40989 from BerriAI/litellm_responses_bridge_hoist_additional_tools
1ce66e9 Mateo Wang committed 2 months ago
Merge pull request #40994 from BerriAI/litellm_sdk_exception_body_headers
b52de16 Mateo Wang committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_fix_nonstream_parallel_slot_release
ce4af05 Elif Naz Ozdamar committed 2 months ago
fix(guardrails): reject tool_use rewrites that are not JSON objects
2bf44ed mateo-berri committed 2 months ago
fix(router): count num_retries_per_request across fallback hops
aaf9246 mateo-berri committed 2 months ago
Merge pull request #40228 from AaronHowell/litellm_fix_responses_credentials_affinity
c93708b Mateo Wang committed 2 months ago
fix(exceptions): keep repeated litellm_proxy response headers on the rebuilt response
9fb94ea mateo-berri committed 2 months ago
fix(responses): classify streamed tool calls on the chat name and strip guardrail edits around the grammar block
e3152c0 mateo-berri committed 2 months ago
test(e2e): verify streamed answers and tool continuation
7a7770d Yuneng Jiang committed 2 months ago
test(proxy): drop the reformat-only diff of the request processing tests
62b2b36 mateo-berri committed 2 months ago
Merge pull request #39050 from BerriAI/litellm_lit6314_guardrail_metadata_transfer
9158822 yucheng-berri committed 2 months ago
test(router): assert num_retries_per_request as a per-group cap that resets per fallback hop
6764ab2 mateo-berri committed 2 months ago
Merge pull request #41172 from BerriAI/litellm_azure_spend_log_zero_cost
a78b24c Mateo Wang committed 2 months ago
test(spend): preserve multi-day coverage and immutable assertions
80d804d Yuneng Jiang committed 2 months ago