{children}
{aside}{plan.name}
{plan.description}
{plan.isContactSales ? null : ({plan.credits}
of usage included
{isOnTrial || isBrainTrialEnded || (isCompanyBrain && currentPlan === "scale") ? "Scale plan" : hasPaidPlan ? `${planDisplayNames[currentPlan]} plan` : "Free plan"}
{isPlanCanceling ? `Cancels on ${cancelEndsLabel}${cancelEndsDays !== null ? ` · ${cancelEndsDays} day${cancelEndsDays !== 1 ? "s" : ""} left` : ""}.${isCompanyBrain ? "" : " You'll move to Free after that."}` : isOnTrial ? [ trialEndsLabel ? `Ends ${trialEndsLabel}${trialDaysLeft != null ? ` · ${trialDaysLeft} day${trialDaysLeft !== 1 ? "s" : ""} left` : ""}` : null, trialCredits != null ? `$${trialCredits} trial credits` : null, ] .filter(Boolean) .join(" · ") : isBrainTrialEnded ? "Trial ended. Activate Scale to restore access." : hasPaidPlan ? "Expanded memory, connections, and usage for this workspace." : "Upgrade when you need more workspace usage and integrations."}
{isBrainTrialEnded ? ({isOnTrial ? "Trial credit usage" : "Plan usage"}
{formatUsd(usdSpent)} {usdIncluded > 0 ? ( {" "} / {formatUsd(usdIncluded)} ) : null} {planUsagePct < 1 && planUsagePct > 0 ? "< 1" : Math.round(planUsagePct)} % used
{isOnTrial ? "Credits apply for the trial period" : daysRemaining !== null ? `Resets in ${daysRemaining} day${daysRemaining !== 1 ? "s" : ""}` : "Usage resets with your billing cycle"}
Trial credits
{formatUsd(creditRemaining)} remaining {usdIncluded > 0 ? ( {" "} of {formatUsd(usdIncluded)} ) : trialCredits != null ? ( {" "} of {formatUsd(trialCredits)} ) : null}
Company Brain trials include{" "} ${trialCredits ?? 200} {" "} in usage credits. Paid Scale includes $600/mo. Top-ups are available after you activate.
Top-up credits
{creditRemaining > 0 ? `${formatUsd(creditRemaining)} available` : "No top-up credits yet"}
Optional add-on that{" "} rolls over {" "} month-to-month, separate from your monthly usage above.
No invoices yet