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
test(perf): measure SpendLog-backed UI query latency (#46955)
a6245c1 Kerry Lu committed 1 month ago
fix(bedrock): take the 1,050,000 context window from the Daybreak Mantle model cards (#47211)
7db8fc8 berriai-litellm-provider-info-sync[bot] committed 1 month ago
fix(proxy)!: end a chat completions stream with an error event when a guardrail blocks mid-stream (#46953)
68a8b12 Mateo Wang committed 1 month ago
test(baseten): annotate test locals with Final (#47205)
5202360 ryan-crabbe-berri committed 1 month ago
feat(ui): show gateway URL and agent setup instructions after creating a key (#47199)
4a8b475 ishaan-berri committed 1 month ago
fix(bedrock): take the 200K context window from the Claude Sonnet 4 model card (#47202)
d5a8c5f berriai-litellm-provider-info-sync[bot] committed 1 month ago
fix(baseten): forward reasoning_effort to Baseten Model API (#40152)
1333526 Yousef Joe committed 1 month ago
feat(count_tokens)!: configurable token_count_framing and token_count_model, count source in the response (#46777)
75faaea Mateo Wang committed 1 month ago
fix(batches): preserve spend across malformed output and metadata failures (#47184)
3fb95c8 joshua-berri committed 1 month ago
fix(bedrock): add the July 7, 2026 EOL date to the Llama 3.1 405B and Llama 3.2 rows (#47196)
6c68c2c berriai-litellm-provider-info-sync[bot] committed 1 month ago
fix(bedrock): send native structured output first on Opus 4.8 and Sonnet 5 and fall back to the json tool when Bedrock rejects it (#47100)
52f5a28 Mateo Wang committed 1 month ago
fix(rag)!: use team provider credentials and allow viewer and JWT team access (#45497)
c58fc0c Shivam Rawat committed 1 month ago
feat(openinfer): add OpenInfer as an OpenAI-compatible provider (#41034)
e2295b5 Aayush Jain committed 1 month ago
fix(proxy): count the whole minor line in the upgrade notice for patch releases (#46942)
8b442f0 Misbah Syed committed 1 month ago
fix(router)!: bound fake-streamed calls by the request timeout, not stream_timeout (#47162)
16645cc Mateo Wang committed 1 month ago
fix(ui): take the dashboard's user role and identity from the server (#47025)
4bafebb yuneng-jiang committed 1 month ago
fix(router)!: stop a chat-mode Mantle deployment from rewriting the shared Responses routing row (#46263)
897dda7 Mateo Wang committed 1 month ago
fix(logging): keep root logger INFO lines when json_logs is on and LITELLM_LOG is set (#47175)
fc69f98 Kerry Lu committed 1 month ago
test(mcp): replace the live Linear MCP OAuth e2e tests with integration coverage (#47154)
44fcbc3 yuneng-jiang committed 1 month ago
fix: handle missing choice indices in streamed output recording (#46947)
b3c0f34 yucheng-berri committed 1 month ago
fix(router): read an application profile's base model from metadata on a cache hit (#47144)
1e3641a yuneng-jiang committed 1 month ago
fix(count_tokens)!: answer 400 for Vertex partner models without a count API and OpenAI-shaped provider errors on /v1/responses/input_tokens (#47163)
ef1d395 Mateo Wang committed 1 month ago
test(e2e): hold failing-request RSS to a loose ceiling over two measured batches (#47170)
e0514d9 yuneng-jiang committed 1 month ago
test(integration): report uncollected shard files as collection errors instead of crashing xdist (#47075)
159f185 yuneng-jiang committed 1 month ago
test(caching): assert sync cache-hit logging without depending on thread order (#47093)
77c2ac1 yuneng-jiang committed 1 month ago
fix(proxy): warn at boot when a config environment_variables key replaces a value already set in the process environment (#47165)
1552b5b Kerry Lu committed 1 month ago
fix(tests): wait for every thread of a killed worker before treating it as gone (#47148)
0431e75 yuneng-jiang committed 1 month ago
test(e2e): enable prometheus_system on the redis chaos proxy config (#47160)
519906e yuneng-jiang committed 1 month ago
test(integration): run the bedrock mantle prompt cache and output limit wire tests on their own proxy (#47152)
603ba6f yuneng-jiang committed 1 month ago
fix(spend_logs): persist user email in spend log metadata so it shows in UI request logs (#41150)
4273996 devin-ai-integration[bot] committed 1 month ago