@model AiAdministrationViewModel @{ViewData["Title"]="AI policies and usage";ViewData["ShellClass"]="pd-workspace-full-width";}

AI policies and usage

Back to administration · Subscription administration

@if(TempData["AiMessage"] is string message){} @if(TempData["AiError"] is string error){

@error

}

Discretionary AI uses calendar UTC months. Annual billing also receives monthly allowances. Import processing is governed separately. Unconfigured operations and tiers are disabled. Credit values below are configurable policy, not subscription prices.

Subscription tiers

@foreach(var tier in Model.Tiers){

@tier.DisplayName

}

Operations

@foreach(var operation in Model.Operations){
@operation.DisplayName · @(operation.Enabled?"Enabled":"Disabled") · @operation.CreditCost credits

@operation.Description

@foreach(var field in new[]{("CreditCost","Credit cost",operation.CreditCost.ToString()),("MaxScope","Maximum scope items",operation.MaxScope.ToString()),("MaxRequests","Maximum provider HTTP requests, including retries",operation.MaxRequests.ToString()),("MaxTokens","Maximum conservative token budget across requests",operation.MaxTokens.ToString()),("MaxOutputTokens","Maximum output tokens per request",operation.MaxOutputTokens.ToString()),("MaxDurationSeconds","Maximum execution seconds",operation.MaxDurationSeconds.ToString())}){}
}

Account allowance override

An override replaces monthly credit capacity, without enabling an otherwise ineligible tier. It does not reset usage.

@foreach(var item in Model.Overrides){

Account @item.UserID · @item.MonthlyCredits credits/month · expires @item.ExpiryUtc.ToString("u") · @item.Reason

}

Usage over the last 31 days

@foreach(var row in Model.Summary){}
OperationAccountTierOperationsCredits consumedProvider requests
@row.OperationID@row.UserID@row.Tier@row.Operations@row.CreditsConsumed@row.ProviderRequests

Latest 200 reservations

Unknown token counts and costs are shown as unrecorded. Provider costs remain separate from author credits. Pending or failed requests may have incurred provider expenditure.

@foreach(var row in Model.Recent){}
UTCAccount / tierOperation / statusReserved / consumed / releasedProvider requestsInput / output tokensActual / estimated cost
@row.CreatedUtc.ToString("u")@row.UserID · @row.Tier@row.OperationID · @row.Status@row.CreditsReserved / @row.CreditsConsumed / @row.CreditsReleased@row.ProviderRequests@(row.InputTokens?.ToString()??"Unrecorded") / @(row.OutputTokens?.ToString()??"Unrecorded")
@row.UnknownUsageRequests requests with incomplete usage
@(row.ActualCost?.ToString()??"Unrecorded") / @(row.EstimatedCost?.ToString()??"Unrecorded") @row.CostCurrency