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
cz bump and migration
yuneng-jiang1f16b8c093fa
diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20260106155622_add_endpoint_to_daily_activity_tables/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20260106155622_add_endpoint_to_daily_activity_tables/migration.sqlnew file mode 100644index 00000000000..4ed7feb9ca0--- /dev/null+++ b/litellm-proxy-extras/litellm_proxy_extras/migrations/20260106155622_add_endpoint_to_daily_activity_tables/migration.sql@@ -0,0 +1,72 @@+-- DropIndex+DROP INDEX "LiteLLM_DailyAgentSpend_agent_id_date_api_key_model_custom__key";++-- DropIndex+DROP INDEX "LiteLLM_DailyEndUserSpend_end_user_id_date_api_key_model_cu_key";++-- DropIndex+DROP INDEX "LiteLLM_DailyOrganizationSpend_organization_id_date_api_key_key";++-- DropIndex+DROP INDEX "LiteLLM_DailyTagSpend_tag_date_api_key_model_custom_llm_pro_key";++-- DropIndex+DROP INDEX "LiteLLM_DailyTeamSpend_team_id_date_api_key_model_custom_ll_key";++-- DropIndex+DROP INDEX "LiteLLM_DailyUserSpend_user_id_date_api_key_model_custom_ll_key";++-- AlterTable+ALTER TABLE "LiteLLM_DailyAgentSpend" ADD COLUMN "endpoint" TEXT;++-- AlterTable+ALTER TABLE "LiteLLM_DailyEndUserSpend" ADD COLUMN "endpoint" TEXT;++-- AlterTable+ALTER TABLE "LiteLLM_DailyOrganizationSpend" ADD COLUMN "endpoint" TEXT;++-- AlterTable+ALTER TABLE "LiteLLM_DailyTagSpend" ADD COLUMN "endpoint" TEXT;++-- AlterTable+ALTER TABLE "LiteLLM_DailyTeamSpend" ADD COLUMN "endpoint" TEXT;++-- AlterTable+ALTER TABLE "LiteLLM_DailyUserSpend" ADD COLUMN "endpoint" TEXT;++-- CreateIndex+CREATE INDEX "LiteLLM_DailyAgentSpend_endpoint_idx" ON "LiteLLM_DailyAgentSpend"("endpoint");++-- CreateIndex+CREATE UNIQUE INDEX "LiteLLM_DailyAgentSpend_agent_id_date_api_key_model_custom__key" ON "LiteLLM_DailyAgentSpend"("agent_id", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name", "endpoint");++-- CreateIndex+CREATE INDEX "LiteLLM_DailyEndUserSpend_endpoint_idx" ON "LiteLLM_DailyEndUserSpend"("endpoint");++-- CreateIndex+CREATE UNIQUE INDEX "LiteLLM_DailyEndUserSpend_end_user_id_date_api_key_model_cu_key" ON "LiteLLM_DailyEndUserSpend"("end_user_id", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name", "endpoint");++-- CreateIndex+CREATE INDEX "LiteLLM_DailyOrganizationSpend_endpoint_idx" ON "LiteLLM_DailyOrganizationSpend"("endpoint");++-- CreateIndex+CREATE UNIQUE INDEX "LiteLLM_DailyOrganizationSpend_organization_id_date_api_key_key" ON "LiteLLM_DailyOrganizationSpend"("organization_id", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name", "endpoint");++-- CreateIndex+CREATE INDEX "LiteLLM_DailyTagSpend_endpoint_idx" ON "LiteLLM_DailyTagSpend"("endpoint");++-- CreateIndex+CREATE UNIQUE INDEX "LiteLLM_DailyTagSpend_tag_date_api_key_model_custom_llm_pro_key" ON "LiteLLM_DailyTagSpend"("tag", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name", "endpoint");++-- CreateIndex+CREATE INDEX "LiteLLM_DailyTeamSpend_endpoint_idx" ON "LiteLLM_DailyTeamSpend"("endpoint");++-- CreateIndex+CREATE UNIQUE INDEX "LiteLLM_DailyTeamSpend_team_id_date_api_key_model_custom_ll_key" ON "LiteLLM_DailyTeamSpend"("team_id", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name", "endpoint");++-- CreateIndex+CREATE INDEX "LiteLLM_DailyUserSpend_endpoint_idx" ON "LiteLLM_DailyUserSpend"("endpoint");++-- CreateIndex+CREATE UNIQUE INDEX "LiteLLM_DailyUserSpend_user_id_date_api_key_model_custom_ll_key" ON "LiteLLM_DailyUserSpend"("user_id", "date", "api_key", "model", "custom_llm_provider", "mcp_namespaced_tool_name", "endpoint");+diff --git a/litellm-proxy-extras/pyproject.toml b/litellm-proxy-extras/pyproject.tomlindex 7c11a04fca8..e9117dca73c 100644--- a/litellm-proxy-extras/pyproject.toml+++ b/litellm-proxy-extras/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "litellm-proxy-extras"-version = "0.4.16"+version = "0.4.17"description = "Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package."authors = ["BerriAI"]readme = "README.md"@@ -22,7 +22,7 @@ requires = ["poetry-core"]build-backend = "poetry.core.masonry.api"[tool.commitizen]-version = "0.4.16"+version = "0.4.17"version_files = ["pyproject.toml:version","../requirements.txt:litellm-proxy-extras==",diff --git a/pyproject.toml b/pyproject.tomlindex 3b09119a748..6b7d1a78673 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -59,7 +59,7 @@ websockets = {version = "^15.0.1", optional = true}boto3 = {version = "1.36.0", optional = true}redisvl = {version = "^0.4.1", optional = true, markers = "python_version >= '3.9' and python_version < '3.14'"}mcp = {version = "^1.21.2", optional = true, python = ">=3.10"}-litellm-proxy-extras = {version = "0.4.16", optional = true}+litellm-proxy-extras = {version = "0.4.17", optional = true}rich = {version = "13.7.1", optional = true}litellm-enterprise = {version = "0.1.27", optional = true}diskcache = {version = "^5.6.1", optional = true}diff --git a/requirements.txt b/requirements.txtindex 249b899b86b..41a7b56566f 100644--- a/requirements.txt+++ b/requirements.txt@@ -47,7 +47,7 @@ sentry_sdk==2.21.0 # for sentry error handlingdetect-secrets==1.5.0 # Enterprise - secret detection / masking in LLM requestscryptography==44.0.1tzdata==2025.1 # IANA time zone database-litellm-proxy-extras==0.4.16 # for proxy extras - e.g. prisma migrations+litellm-proxy-extras==0.4.17 # for proxy extras - e.g. prisma migrationsllm-sandbox==0.3.31 # for skill execution in sandbox### LITELLM PACKAGE DEPENDENCIESpython-dotenv==1.0.1 # for env