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(utils): reject an untranslatable tool_choice with a 400 instead of a 500
76488be mateo-berri committed 2 months ago
fix(cost): carry image and video input tokens through the Responses usage bridge
785c6cf Marty Sullivan committed 3 months ago
Merge pull request #41173 from BerriAI/litellm_realtime_health_check_credential_name
9496f16 Mateo Wang committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_unified_key_policy_hook
1f2d050 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_fix_ocr_native_multipage_pdf
7c0cca4 mateo-berri committed 2 months ago
fix(guardrails): tolerate a model-less request when translating Anthropic response context
43ae9af yucheng committed 2 months ago
fix(guardrails): give post-call scans the scoped request conversation and tools
8e25720 yucheng committed 2 months ago
test(proxy): record custom tokenizer loads with a mock instead of a mutable list
b64e430 yassin committed 2 months ago
fix(realtime): send openai and xai health check keys as bearer tokens
87b6304 mateo-berri committed 2 months ago
fix(utils): cache custom HuggingFace tokenizers across /utils/token_counter requests
0c611e6 yassin committed 2 months ago
Merge pull request #40915 from BerriAI/litellm_internal_copy_37075
3ed6c19 Mateo Wang committed 2 months ago
Merge pull request #41168 from BerriAI/litellm_bedrock_wif_session_policy_coverage
c274fd8 Mateo Wang committed 2 months ago
refactor(realtime): freeze the empty credential mapping in the health check
5969fbb mateo-berri committed 2 months ago
refactor(utils): set converted-stream logging flags inline instead of mutating a helper parameter
5aa5c09 yucheng committed 2 months ago
fix(vertex-live): report repeated search queries once per grounded turn
0770f66 mateo-berri committed 2 months ago
fix(caching): replay agentic loop follow-up cache hits as plain objects
496c2a5 yucheng committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_realtime_health_check_credential_name
1771255 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/main' into litellm_bedrock_wif_session_policy_coverage
d5938ff mateo-berri committed 2 months ago
fix(proxy): attach litellm_call_id to client disconnect log record
1b474b0 yucheng committed 2 months ago
Merge pull request #41191 from BerriAI/litellm_router_test_cap_resets_per_fallback_hop
80b9ed4 Mateo Wang committed 2 months ago
test(router): cover passthrough stream_timeout without patching proxy globals
efb2bcd clonylu committed 2 months ago
fix(proxy): fall back to request data when logging object has no call id
0a8eb56 Devin AI committed 2 months ago
Merge pull request #40984 from BerriAI/litellm_anthropic_guardrail_system_and_tool_use
e5cb8b7 Mateo Wang committed 2 months ago
style: drop explanatory docstrings from converted-stream helpers and tests
ce45d6a yucheng committed 2 months ago
fix(caching): defer cache-hit callbacks by replayed result type, not request flags
621db91 yucheng committed 2 months ago
fix(caching): replay cache hits for converted streams as streams
8b86362 yucheng committed 2 months ago
fix(utils): log converted streams as streams so spend tracking works
95ef538 yucheng committed 2 months ago
fix(router): honor stream_timeout on the SDK-native passthrough route
163c0f3 clonylu committed 2 months ago
fix(proxy): include litellm_call_id in LLM API exception logs
bc17459 Devin AI committed 2 months ago
test(router): type the retry-cap tests this PR adds or touches
1b040af mateo-berri committed 2 months ago