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: assert LangSmith periodic flush by observing a batch send
8a7dc64 mateo committed 2 months ago
test: deflake two tests whose shared-state leaks failed once and passed on CI rerun
bd5f066 mateo committed 2 months ago
fix(responses): read reasoning support from the cost map instead of model-name rules
d992937 mateo-berri committed 2 months ago
test(e2e): widen the cooldown propagation window to 15s and trim the registry rows to the surface the cells drive
038a7c6 mateo-berri committed 2 months ago
fix(anthropic): price recovered tokens when a /v1/messages client disconnects mid-stream
eb9bece mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_fix_responses_reasoning_drop_params
832a054 mateo-berri committed 2 months ago
fix(realtime): close a rejected client before releasing its budget reservation
37722eb mateo-berri committed 2 months ago
fix(realtime): release the budget reservation when a session is rejected before the relay starts
5a35e6d mateo-berri committed 2 months ago
test(e2e): gate the prompt-cache cell behind an opt-in marker and take ten shuffle picks
6de9087 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_lit_7022_azure_ai_passthrough_config
6ed7269 mateo-berri committed 2 months ago
refactor(passthrough): inject the streaming prompt-token counter instead of a default-image flag
2f981d1 mateo-berri committed 2 months ago
fix(azure_ai): relay from the Foundry root and log non-chat relays for spend tracking
df6fb9e mateo-berri committed 2 months ago
fix(router): rewrite the passthrough model group as a whole path segment
3f69584 mateo-berri committed 2 months ago
fix(test-quality-gate): keep a termination signal the parent already ignores ignored
952f082 mateo-berri committed 2 months ago
refactor(batches): drop docstrings restating the org fallbacks
95d721f mateo-berri committed 2 months ago
Merge pull request #39841 from BerriAI/litellm_gate_openai_ws_passthrough
c52b537 Mateo Wang committed 2 months ago
fix(test-quality-gate): tear the base worktree down on SIGTERM and SIGHUP
2d2b5da mateo-berri committed 2 months ago
fix(batches): mask api base credentials on batch cost rows
814c151 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_gate_openai_ws_passthrough
5c80e30 mateo-berri committed 2 months ago
refactor(proxy): build the OpenAI websocket refusal frame from a TypedDict
aca1c54 mateo-berri committed 2 months ago
fix(realtime): settle the budget reservation only for sessions the success log does not own
1fe87e8 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_ui_lint_inline_object_budget
05c4e16 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_async_remote_image_fetch
59e000d mateo-berri committed 2 months ago
fix(azure_ai): count relayed image prompt tokens without fetching the image
bbbdccb mateo-berri committed 2 months ago
fix(check): trigger the test-tree checks on the gate script and drop the scope comment
e3366dd mateo-berri committed 2 months ago
fix(realtime): release the budget reservation on a failed session and scrub relayed close details
af3ddb4 mateo-berri committed 2 months ago
fix(image_handling): answer every SSRF rejection with one message so error text cannot probe internal hostnames
8275549 mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_batch_ui_logs
ed2408f mateo-berri committed 2 months ago
fix(check): run CI's whole-tree test ruff and widen the test-tree trigger
d229622 mateo-berri committed 2 months ago