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(e2e/ui): cover key budget window, non-admin model scope edit, and key blocking (#40027)
b315107 yuneng-jiang committed 2 months ago
test(e2e/ui): cover team-scoped model visibility, re-editing litellm params, and model health checks (#40039)
0721163 yuneng-jiang committed 2 months ago
test(mcp): cover server notifications during tool listing
7b6ef92 Joshua Valluru committed 2 months ago
test(gemini-live): assert grounding counters on the emitted response.done event
228d87d Marty Sullivan committed 2 months ago
style(cost): collapse a getattr call that fits the line limit
4e51ff8 Marty Sullivan committed 2 months ago
test(cost-map): clear LITELLM_LOCAL_MODEL_COST_MAP in register_model url test
9a721ab kerry committed 2 months ago
fix(policy_engine): keep legacy hooks off streams their route cannot assemble and off guardrails with their own iterator hook
8d040d8 mateo-berri committed 2 months ago
fix(bedrock): forward raw reasoning_effort to DeepSeek V3, drop it only for R1
dd707da mateo-berri committed 2 months ago
Merge branch 'litellm_internal_staging' into litellm_fix_bedrock_deepseek_thinking_leak
738896d mateo-berri committed 2 months ago
chore(vertex-live): drop a comment that restated the helper's docstring
6c83484 Marty Sullivan committed 2 months ago
fix(cost): carry grounding counters through the Responses usage bridge
6d71e33 Marty Sullivan committed 2 months ago
fix(vertex-live): resolve a Live setup model before logging reads it
9580b89 Marty Sullivan committed 2 months ago
fix(gemini-live): count grounding requests so Live sessions carry their query fee
b1262b0 Marty Sullivan committed 2 months ago
test(vertex-live): type the session helpers in the Live passthrough tests
22e7c7a Marty Sullivan committed 2 months ago
fix(vertex-live): sum tool-use prompt tokens across a session's turns
b051aa7 Marty Sullivan committed 2 months ago
refactor(vertex-live): type the usage helpers without Any
da73896 Marty Sullivan committed 2 months ago
fix(vertex-live): bill every modality on the /vertex_ai/live passthrough
e2b4128 Marty Sullivan committed 2 months ago
fix(anthropic): replay OpenAI encrypted reasoning byte for byte behind /v1/messages
2bca7ff mateo-berri committed 2 months ago
fix(token_counter): bound offloaded token counts with a dedicated capacity limiter
b5d40be mateo-berri committed 2 months ago
fix(azure_ai): honour global drop_params for image params MAI cannot serve
8e3052f mateo-berri committed 2 months ago
fix(hosted_vllm): reject image edit params vLLM-Omni ignores
c66ae07 mateo-berri committed 2 months ago
Merge pull request #40189 from BerriAI/litellm_lit_3157_azure_ai_catalog_models
ee7c7e1 Mateo Wang committed 2 months ago
fix(ocr): bill request-level OCR pricing and fall back to the map without credits
2c77512 mateo-berri committed 2 months ago
fix(proxy): type the new pipeline tests and keep tag values out of the deferral warning
94f9230 mateo-berri committed 2 months ago
refactor(cost-map): share local-fallback and remote-accept paths
4179f08 kerry committed 2 months ago
fix(cost-map): keep register_model url fetch to a single attempt
536a85b kerry committed 2 months ago
fix(cost): read OCR pricing registered under the router deployment id
a29103c mateo-berri committed 2 months ago