Skip to content

Commit 4509a75

Browse files
improvement(usage): free plan to 1000 credits (#3516)
* improvement(billing): free plan to five dollars * fix comment * remove per month terminology from marketing * generate migration * remove migration * add migration back
1 parent b34bb64 commit 4509a75

File tree

11 files changed

+13062
-9
lines changed

11 files changed

+13062
-9
lines changed

apps/docs/content/docs/en/execution/costs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Sim has two paid plan tiers — **Pro** and **Max**. Either can be used individu
141141

142142
| Plan | Price | Credits Included | Daily Refresh |
143143
|------|-------|------------------|---------------|
144-
| **Free** | $0 | 3,000/mo ||
144+
| **Community** | $0 | 1,000 (one-time) ||
145145
| **Pro** | $25/mo | 5,000/mo | +50/day |
146146
| **Max** | $100/mo | 20,000/mo | +200/day |
147147
| **Enterprise** | Custom | Custom ||

apps/sim/app/(home)/components/pricing/pricing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const PRICING_TIERS: PricingTier[] = [
2020
price: 'Free',
2121
color: '#2ABBF8',
2222
features: [
23-
'3,000 credits/mo',
23+
'1,000 credits (trial)',
2424
'5GB file storage',
2525
'5 min execution limit',
2626
'Limited log retention',

apps/sim/app/(home)/components/structured-data.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default function StructuredData() {
9696
offers: [
9797
{
9898
'@type': 'Offer',
99-
name: 'Community Plan — 3,000 credits included',
99+
name: 'Community Plan — 1,000 credits included',
100100
price: '0',
101101
priceCurrency: 'USD',
102102
availability: 'https://schema.org/InStock',
@@ -191,7 +191,7 @@ export default function StructuredData() {
191191
name: 'How much does Sim cost?',
192192
acceptedAnswer: {
193193
'@type': 'Answer',
194-
text: 'Sim offers a free Community plan with 3,000 credits, a Pro plan at $25/month with 6,000 credits, a Max plan at $100/month with 25,000 credits, team plans available for both tiers, and custom Enterprise pricing. All plans include CLI/SDK access.',
194+
text: 'Sim offers a free Community plan with 1,000 credits to start, a Pro plan at $25/month with 6,000 credits, a Max plan at $100/month with 25,000 credits, team plans available for both tiers, and custom Enterprise pricing. All plans include CLI/SDK access.',
195195
},
196196
},
197197
{

apps/sim/app/(landing)/components/landing-pricing/landing-pricing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ interface PricingTier {
3737
}
3838

3939
const FREE_PLAN_FEATURES: PricingFeature[] = [
40-
{ icon: DollarSign, text: '3,000 credits/mo' },
40+
{ icon: DollarSign, text: '1,000 credits (trial)' },
4141
{ icon: HardDrive, text: '5GB file storage' },
4242
{ icon: Timer, text: '5 min execution limit' },
4343
{ icon: Database, text: 'Limited log retention' },

apps/sim/components/emails/auth/welcome-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function WelcomeEmail({ userName }: WelcomeEmailProps) {
4444
<div style={baseStyles.divider} />
4545

4646
<Text style={{ ...baseStyles.footerText, textAlign: 'left' }}>
47-
You're on the free plan with 3,000 credits to get started.
47+
You're on the Community plan with 1,000 credits to get started.
4848
</Text>
4949
</EmailLayout>
5050
)

apps/sim/lib/billing/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Fallback free credits (in dollars) when env var is not set
77
*/
8-
export const DEFAULT_FREE_CREDITS = 15
8+
export const DEFAULT_FREE_CREDITS = 5
99

1010
/**
1111
* Default per-user minimum limits (in dollars) for paid plans when env vars are absent.

packages/db/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/**
77
* Default free credits (in dollars) for new users
88
*/
9-
export const DEFAULT_FREE_CREDITS = 20
9+
export const DEFAULT_FREE_CREDITS = 5
1010

1111
/**
1212
* Storage limit constants (in GB)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "user_stats" ALTER COLUMN "current_usage_limit" SET DEFAULT '5';

0 commit comments

Comments
 (0)