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(spend): compare auto-router targets by deployment identity (#40206)
1a6aa98 tin-berri committed 2 months ago
test(http_handler): parametrize the anchor tests over every streaming send
ffa08e1 Maximilian Roos committed 2 months ago
fix(azure_ai): price streamed Responses relays from their terminal event
13db79d mateo-berri committed 2 months ago
test(http_handler): cover the anchor in the tree Codecov measures
6e6ab5c Maximilian Roos committed 2 months ago
test(azure_ai): charge the router fee over cached prompt tokens too
3cadf2f mateo-berri committed 2 months ago
fix(azure_ai): drop gpt-chat-latest effort levels, test prices via calculator
5706952 mateo-berri committed 2 months ago
fix(proxy): run prompt caching counts and custom tokenizer loads off the event loop
d202885 mateo-berri committed 2 months ago
fix(init): keep non-flag LITELLM_DROP_PARAMS values on with a warning
704013d mateo-berri committed 2 months ago
fix(files): only proxy admin keys may delete raw cloud storage file ids
9fcc64f mateo-berri committed 2 months ago
fix(http_handler): keep a handler alive while a response it issued is still reading
5972227 Maximilian Roos committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_lit_7022_azure_ai_passthrough_config
9666a21 mateo-berri committed 2 months ago
fix(azure): price streamed Responses relays and keep a full-URL api_base from doubling the native path
52e9cfe mateo-berri committed 2 months ago
fix(passthrough): bound azure relays to the key's model group and reject foreign deployment segments
1de369a mateo-berri committed 2 months ago
refactor(guardrails): drop the unused rewrites_streamed_output hook
08b60c4 mateo-berri committed 2 months ago
fix(policy_engine): keep a policy-added guardrail's other stages when a pipeline steps it
d08a177 mateo-berri committed 2 months ago
fix(policy_engine): record a streaming pipeline step once and in the applied guardrails header
91fc1b2 mateo-berri committed 2 months ago
fix(policy_engine): run iterator-hook guardrails whose post_call pipeline cannot stream
69d2ac1 mateo-berri committed 2 months ago
fix(azure_ai): charge the router fee once for any router name and price grok-4-20 cache reads
55c10c1 mateo-berri committed 2 months ago
fix(router): count deployment itpm reservations off the event loop
83d500b mateo-berri committed 2 months ago
Merge upstream/main into bugfix/http-handler-del-closes-streaming-client
aa759ef Maximilian Roos committed 2 months ago
fix(files): keep the SDK listing a list and build the OpenAI page at the proxy route
5f4d667 mateo-berri committed 2 months ago
fix(azure_ai): keep the request_model keyword on cost_per_token
c02f2dc mateo-berri committed 2 months ago
fix(drop_params): warn when a deployment or env drop_params value is not a flag
d594b93 mateo-berri committed 2 months ago
fix(files): page every provider listing, answer deleted true for managed ids, and skip S3 walks for purposes Bedrock never stores
91391c1 mateo-berri committed 2 months ago
fix(azure_ai): charge the Model Router fee once and correct catalog limits
415bdbf mateo-berri committed 2 months ago
Merge pull request #39668 from BerriAI/litellm_lit6899_vertex_batch_tuned_endpoints
9dbfb06 Mateo Wang committed 2 months ago
Merge pull request #40195 from BerriAI/litellm_remove_static_cost_map_tests
ecd8bab Mateo Wang committed 2 months ago