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
chore: sync schema.prisma copies from root
github-actions[bot]183a782e5711
diff --git a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma b/litellm-proxy-extras/litellm_proxy_extras/schema.prismaindex 2bb850139a2..48d41edffbd 100644--- a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma+++ b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma@@ -29,6 +29,7 @@ model LiteLLM_BudgetTable {keys LiteLLM_VerificationToken[] // multiple keys can have the same budgetend_users LiteLLM_EndUserTable[] // multiple end-users can have the same budgettags LiteLLM_TagTable[] // multiple tags can have the same budget+ model_access_groups LiteLLM_ModelAccessGroupBudgetTable[] // multiple model access groups can have the same budgetteam_membership LiteLLM_TeamMembership[] // budgets of Users within a Teamorganization_membership LiteLLM_OrganizationMembership[] // budgets of Users within a Organization}@@ -585,6 +586,20 @@ model LiteLLM_EndUserTable {blocked Boolean @default(false)}+// Budget and shared spend for a model access group. The groups themselves are not rows anywhere:+// they are free-text strings in LiteLLM_ProxyModelTable.model_info.access_groups, so a row here+// exists only once someone gives that group a budget.+model LiteLLM_ModelAccessGroupBudgetTable {+ access_group_name String @id+ spend Float @default(0.0)+ budget_id String?+ litellm_budget_table LiteLLM_BudgetTable? @relation(fields: [budget_id], references: [budget_id])+ created_at DateTime @default(now()) @map("created_at")+ created_by String?+ updated_at DateTime @default(now()) @updatedAt+ updated_by String?+}+// Track tags with budgets and spendmodel LiteLLM_TagTable {tag_name String @iddiff --git a/litellm/proxy/schema.prisma b/litellm/proxy/schema.prismaindex 2bb850139a2..48d41edffbd 100644--- a/litellm/proxy/schema.prisma+++ b/litellm/proxy/schema.prisma@@ -29,6 +29,7 @@ model LiteLLM_BudgetTable {keys LiteLLM_VerificationToken[] // multiple keys can have the same budgetend_users LiteLLM_EndUserTable[] // multiple end-users can have the same budgettags LiteLLM_TagTable[] // multiple tags can have the same budget+ model_access_groups LiteLLM_ModelAccessGroupBudgetTable[] // multiple model access groups can have the same budgetteam_membership LiteLLM_TeamMembership[] // budgets of Users within a Teamorganization_membership LiteLLM_OrganizationMembership[] // budgets of Users within a Organization}@@ -585,6 +586,20 @@ model LiteLLM_EndUserTable {blocked Boolean @default(false)}+// Budget and shared spend for a model access group. The groups themselves are not rows anywhere:+// they are free-text strings in LiteLLM_ProxyModelTable.model_info.access_groups, so a row here+// exists only once someone gives that group a budget.+model LiteLLM_ModelAccessGroupBudgetTable {+ access_group_name String @id+ spend Float @default(0.0)+ budget_id String?+ litellm_budget_table LiteLLM_BudgetTable? @relation(fields: [budget_id], references: [budget_id])+ created_at DateTime @default(now()) @map("created_at")+ created_by String?+ updated_at DateTime @default(now()) @updatedAt+ updated_by String?+}+// Track tags with budgets and spendmodel LiteLLM_TagTable {tag_name String @id