Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(credits): the wallet is a billing period, not a calendar month

purple68dc2c9f5bc2
diff --git a/src/components/auth/AccountPanel.tsx b/src/components/auth/AccountPanel.tsx
index fa5730c5..867b4322 100644
--- a/src/components/auth/AccountPanel.tsx
+++ b/src/components/auth/AccountPanel.tsx
@@ -215,9 +215,10 @@ export function AccountPanel() {
{licenseActive && quota ? (
<div className="space-y-2">
{/* One shared compute-credit wallet, chat, images, video and voice
- all draw from the same monthly budget. */}
+ all draw from the same budget. It refills on the subscription's
+ renewal date, not on the 1st (server migration 0027). */}
<Meter
- label="Cloud credits (this month)"
+ label="Cloud credits (this billing period)"
used={Number(quota.used.credits_used)}
limit={quota.limits.credits}
/>
diff --git a/src/components/create/experimental/CreditsMeter.tsx b/src/components/create/experimental/CreditsMeter.tsx
index cc11460c..17ee8345 100644
--- a/src/components/create/experimental/CreditsMeter.tsx
+++ b/src/components/create/experimental/CreditsMeter.tsx
@@ -69,7 +69,7 @@ export function CreditsMeter() {
return (
<Tooltip
- content={`${remaining} of ${limit} credits left this month. This ${kind === 'video' ? 'clip' : 'image'} uses ${cost}.`}
+ content={`${remaining} of ${limit} credits left this billing period. This ${kind === 'video' ? 'clip' : 'image'} uses ${cost}.`}
>
<div className="flex items-center gap-1.5 px-2 h-[var(--control-h-sm)] rounded-md bg-white/[0.04] text-gray-400 t-control">
<div className="w-12 h-1 rounded-full bg-white/10 overflow-hidden">
diff --git a/src/components/create/experimental/Lightbox.tsx b/src/components/create/experimental/Lightbox.tsx
index 241c0536..cdf51ee7 100644
--- a/src/components/create/experimental/Lightbox.tsx
+++ b/src/components/create/experimental/Lightbox.tsx
@@ -58,7 +58,7 @@ export function Lightbox({ item, onClose }: { item: GalleryItem | null; onClose:
title={
enhanceOk
? 'Upscale this clip to 1080p on the cloud fleet'
- : 'Not enough credits left this month for a video enhance'
+ : 'Not enough credits left this billing period for a video enhance'
}
className={cn(
'absolute top-4 right-16 h-9 px-3 flex items-center gap-1.5 rounded-lg text-[0.7rem] font-medium',
diff --git a/src/components/layout/CreditsExhaustedModal.tsx b/src/components/layout/CreditsExhaustedModal.tsx
index 7b6b9471..29348665 100644
--- a/src/components/layout/CreditsExhaustedModal.tsx
+++ b/src/components/layout/CreditsExhaustedModal.tsx
@@ -23,9 +23,9 @@ export function CreditsExhaustedModal() {
<Modal open={open} onClose={() => setOpen(false)} title="You're out of credits">
<div className="space-y-4">
<p className="text-sm text-gray-600 dark:text-gray-300">
- Your plan credits for this month are used up. Top-up credits are
- one-time, never expire, and are only used after your monthly plan
- credits.
+ Your plan credits for this billing period are used up — they refill on
+ your next renewal date. Top-up credits are one-time, never expire, and
+ are only used after your plan credits.
</p>
<div className="flex flex-col gap-2">
<button