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): retrieve model-routed file ids from the deployment's provider
2e5f5a9 mubashir1osmani committed 2 months ago
fix(rate_limiter): attach v3 priority rate limit headers on /v1/messages (#37228)
264fc82 devin-ai-integration[bot] committed 2 months ago
fix(convert_dict_to_response): name the non-list choices type in the converter error
cbeac27 mateo-berri committed 2 months ago
fix(bedrock): forward aws_session_tags in batch cancel
d909c10 ryan-crabbe-berri committed 2 months ago
feat(batches): support Mistral files/batches and per-page OCR batch cost tracking
2333376 mubashir1osmani committed 2 months ago
fix(proxy): keep a body litellm_session_id in SpendLogs under missing_session_id omit (#40379)
2488f84 devin-ai-integration[bot] committed 2 months ago
test(e2e): every spend row a virtual key writes joins its token across all write paths
3020a13 mateo-berri committed 2 months ago
fix(azure): default max_retries to DEFAULT_MAX_RETRIES with regression tests
830ee2d mateo-berri committed 2 months ago
fix(azure): respect DEFAULT_MAX_RETRIES in initialize_azure_sdk_client
5e7cb89 Praveena committed 3 months ago
fix(responses): echo a named tool_choice in the Responses API shape on the chat-completions bridge
cce1d20 mateo-berri committed 2 months ago
test(guardrails): cover streamed tool-call name rewrites on chat and Messages
0a053d2 mateo-berri committed 2 months ago
test(token_counter): type the project ITPM lag test's request body
babf18f mateo-berri committed 2 months ago
Merge pull request #40329 from BerriAI/litellm_hosted_vllm_image_edit
9315f5d Mateo Wang committed 2 months ago
test(proxy): give the pipeline-managed native hook audit test its chat completions route
354365e mateo-berri committed 2 months ago
test(ui): derive reasoning-effort assertion from the anthropic preset (#40456)
2c836f4 cursor[bot] committed 2 months ago
fix(anthropic): request encrypted reasoning only where the Responses provider returns it
f49ebc9 mateo-berri committed 2 months ago
Merge pull request #40116 from BerriAI/litellm_disable_env_credential_login
f2eacc3 Oliver Jensen committed 2 months ago
fix(streaming_handler): replay a cached completion with no choices as an empty stream
29af8b7 mateo-berri committed 2 months ago
test(cost): assert gpt-4o-mini keeps chat web search off while the flat search fee still matches its alias
b89c324 mateo-berri committed 2 months ago
Merge pull request #40274 from BerriAI/litellm_post_call_pipeline_background_responses
11b31c1 Mateo Wang committed 2 months ago
fix(bedrock): honor the json_mode kwarg on invoke Nova structured output and keep gpt-4o-mini off chat web search
5bdf457 mateo-berri committed 2 months ago
fix(proxy): warn at submit when a body-selected post_call policy is deferred
c5e93af mateo-berri committed 2 months ago
fix(mcp): report resolved upstream authentication in debug headers
feeda1a Joshua Valluru committed 2 months ago
fix(guardrails): scan and rewrite Responses custom_tool_call output items
a9cce4f mateo-berri committed 2 months ago
fix(mcp): challenge gateway-owned per-server authentication
1bcb587 Joshua Valluru committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_legacy_hook_streaming_pipeline_step
8ecd9c1 mateo-berri committed 2 months ago
test(proxy): type the background retrieval governance tests
c4bd376 mateo-berri committed 2 months ago
test(databricks): pin the streamed reasoning delta shape and alias
fe242f8 mateo-berri committed 2 months ago
Merge pull request #40444 from BerriAI/litellm_annotate_strict_budget_helpers
f529d6d Mateo Wang committed 2 months ago
test(convert_dict_to_response): keep the regression test locals final and comment-free
f3a2844 mateo-berri committed 2 months ago