forked from phoenix/litellm-mirror
(feat) track spend key-model, user-model, team-model
This commit is contained in:
parent
2c9d142e42
commit
d65c6d3869
3 changed files with 31 additions and 1 deletions
|
@ -24,6 +24,8 @@ model LiteLLM_TeamTable {
|
|||
budget_reset_at DateTime?
|
||||
created_at DateTime @default(now()) @map("created_at")
|
||||
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
model_spend Json @default("{}")
|
||||
model_max_budget Json @default("{}")
|
||||
}
|
||||
|
||||
// Track spend, rate limit, budget Users
|
||||
|
@ -41,6 +43,8 @@ model LiteLLM_UserTable {
|
|||
budget_duration String?
|
||||
budget_reset_at DateTime?
|
||||
allowed_cache_controls String[] @default([])
|
||||
model_spend Json @default("{}")
|
||||
model_max_budget Json @default("{}")
|
||||
}
|
||||
|
||||
// Generate Tokens for Proxy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue