{{define "admin_quotas"}}
What each organization, team and project may use · spend over the last {{.Since}}
{{template "nav" .Nav}}{{.Error}}
{{end}} {{if .Message}}{{.Message}}
{{end}} {{if .Rows}} {{/* The tree is the interface. A quota belongs to a branch, so the form to set one opens on that branch rather than asking somebody to name it again in a box at the bottom. */}}| Where | Requests/min | Tokens/min | Budget | Spent | |
|---|---|---|---|---|---|
|
{{.Path}} {{.Scope}}
{{if .Models}} only
{{else if .ModelsFrom}}{{.Models}}models limited by {{.ModelsFrom}} {{end}}
{{if .Shadowed}}
{{/* A value that is written here and never reached. Resolution takes the
most restrictive along the chain, so without saying so the page would
show a number as though it applied. */}}
{{.Shadowed}} {{end}}
|
{{template "quota-value" dict "Own" .RPM "Up" .RPMUp "From" .RPMFrom}} | {{template "quota-value" dict "Own" .TPM "Up" .TPMUp "From" .TPMFrom}} | {{if .Budget}}{{.Budget}}{{if .Period}}/{{.Period}}{{end}} {{else}}{{template "quota-value" dict "Own" "" "Up" .BudgetUp "From" .BudgetFrom}}{{end}} | {{.Spend}} {{if .HasPct}} {{.Percent}}%{{end}} | {{if .Editing}}close {{else}}{{if .HasAny}}change{{else}}set{{end}}{{end}} |
60 ↑ is held by a limit set higher up — hover it to see where. A value set here is in normal type.
{{else}}Nothing to give a quota to yet. Make an organization on the people page first.
{{end}}Along a branch the most restrictive value wins, so a team cannot raise what its organization set and a project cannot raise its team's. Only an organization's own limit is bounded by nothing. Model lists intersect: a project cannot allow a model its team withheld.
Per-key limits are not set here: a key is bounded by its project, and
putting every caller's throughput one click from an admin session is more
than this page should do — llmgw keys limits --scope key.