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(proxy): count failure and rate-limit input tokens off the event loop
dcd38ab mateo-berri committed 2 months ago
fix(passthrough): match image URL schemes case-insensitively when counting relayed prompt tokens
02b18b4 mateo-berri committed 2 months ago
feat(cost_map): say on the card that Last run is deployment-wide while provenance is per worker
0c6d4c5 mateo-berri committed 2 months ago
fix(drop_params): honor string values in litellm_params and the LITELLM_DROP_PARAMS env var
b7c2dec mateo-berri committed 2 months ago
chore(cost_calc): drop the query count section label comment
6076e9f mateo-berri committed 2 months ago
fix(bedrock): pass litellm_params into the Bedrock embedding call so drop_params reaches Marengo 3.0
a601c00 mateo-berri committed 2 months ago
fix(budget_reservation): exempt vertex and bedrock count-tokens routes from budget reservation
9c980b9 mateo-berri committed 2 months ago
fix(bedrock): reject Marengo 2.7-only and misplaced media params on 3.0 unless drop_params
80fea08 mateo-berri committed 2 months ago
fix(bedrock): answer 400 for a file id outside the configured bucket and keep S3 error bodies
d238e60 mateo-berri committed 2 months ago
refactor(passthrough): share the relay shape table and price FLUX 2 provider relays
12d9413 mateo-berri committed 2 months ago
test(azure_ai): move the Foundry catalog metadata test into the mapped azure_ai directory
95402cc mateo-berri committed 2 months ago
test(token_counter): type the parametrized cap test arguments
0d89873 mateo-berri committed 2 months ago
fix(token_counter): estimate over-cap strings from evenly spaced samples instead of the prefix
3829ebd mateo-berri committed 2 months ago
fix(cost_map): label the card's loaded_at as per-worker and cover the integrity-failure fallback
bb52fd4 mateo-berri committed 2 months ago
fix(bedrock): bill Marengo embeddings per request instead of per estimated token
86790a7 mateo-berri committed 2 months ago
fix(proxy): log budget reservation notice once at config load (#40167)
9bc9104 yucheng-berri committed 2 months ago
feat(complexity_router): add declarative custom dimensions to the heuristic scorer (#40156)
1761fe2 tin-berri committed 2 months ago
fix(azure_ai): price seven Foundry catalog names and charge the model router fee once
3b199cd mateo-berri committed 2 months ago
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_lit_5546_count_tokens_offload
486af36 mateo-berri committed 2 months ago
fix(azure_ai): cost embeddings, responses, images, and rerank relays instead of logging zero
17b7003 mateo-berri committed 2 months ago
fix(token_counter): release the GIL for HuggingFace counts and cap exact counting per string
170fece mateo-berri committed 2 months ago
fix(drop_params): honor string flags in litellm_settings and responses, and fail open on non-flag values
2f397fa mateo-berri committed 2 months ago
Merge pull request #39234 from BerriAI/litellm_fix_agent_mcp_grants
26d589c Mateo Wang committed 2 months ago
fix(azure): let the caller's api-version win over the deployment's on passthrough relays
c698dde mateo-berri committed 2 months ago