diff --git a/backend/agent/api.py b/backend/agent/api.py index 5cec0970..0f51c139 100644 --- a/backend/agent/api.py +++ b/backend/agent/api.py @@ -255,6 +255,9 @@ async def get_agent_run_with_access_check(client, agent_run_id: str, user_id: st await verify_thread_access(client, thread_id, user_id) return agent_run_data + + + @router.post("/thread/{thread_id}/agent/start") async def start_agent( thread_id: str, diff --git a/frontend/src/components/home/sections/pricing-section.tsx b/frontend/src/components/home/sections/pricing-section.tsx index 06956f70..2531e414 100644 --- a/frontend/src/components/home/sections/pricing-section.tsx +++ b/frontend/src/components/home/sections/pricing-section.tsx @@ -637,8 +637,7 @@ export function PricingSection({ Choose the right plan for your needs

- Start with our free plan or upgrade to a premium plan for more - usage hours + Start with our free plan or upgrade for more AI token credits

@@ -691,6 +690,15 @@ export function PricingSection({ ))}
)} +
+

+ What are AI tokens? Tokens are units of text that AI models process. + Your plan includes credits to spend on various AI models - the more complex the task, + the more tokens used. +

+
+ + ); } diff --git a/frontend/src/lib/home.tsx b/frontend/src/lib/home.tsx index c9329498..82495a2a 100644 --- a/frontend/src/lib/home.tsx +++ b/frontend/src/lib/home.tsx @@ -115,16 +115,17 @@ export const siteConfig = { { name: 'Free', price: '$0', - description: 'Get started with', + description: 'Perfect for getting started', buttonText: 'Start Free', buttonColor: 'bg-secondary text-white', isPopular: false, /** @deprecated */ hours: '60 min', features: [ - 'Free $5/month usage included', - 'Public Projects', - 'Limited models', + '$5 free AI tokens included', + 'Public projects', + 'Basic Models', + 'Community support', ], stripePriceId: config.SUBSCRIPTION_TIERS.FREE.priceId, upgradePlans: [], @@ -135,17 +136,17 @@ export const siteConfig = { yearlyPrice: '$204', originalYearlyPrice: '$240', discountPercentage: 15, - description: 'Everything in Free, plus:', + description: 'Best for individuals and small teams', buttonText: 'Start Free', buttonColor: 'bg-primary text-white dark:text-black', isPopular: true, /** @deprecated */ hours: '2 hours', features: [ - '$20/month usage', - // '+ $5 free included', + '$20 AI token credits/month', 'Private projects', - 'More models', + 'Premium AI Models', + 'Community support', ], stripePriceId: config.SUBSCRIPTION_TIERS.TIER_2_20.priceId, yearlyStripePriceId: config.SUBSCRIPTION_TIERS.TIER_2_20_YEARLY.priceId, @@ -157,17 +158,17 @@ export const siteConfig = { yearlyPrice: '$510', originalYearlyPrice: '$600', discountPercentage: 15, - description: 'Everything in Free, plus:', + description: 'Ideal for growing businesses', buttonText: 'Start Free', buttonColor: 'bg-secondary text-white', isPopular: false, /** @deprecated */ hours: '6 hours', features: [ - '$50/month usage', - // '+ $5 free included', + '$50 AI token credits/month', 'Private projects', - 'More models', + 'Premium AI Models', + 'Community support', ], stripePriceId: config.SUBSCRIPTION_TIERS.TIER_6_50.priceId, yearlyStripePriceId: config.SUBSCRIPTION_TIERS.TIER_6_50_YEARLY.priceId, @@ -179,16 +180,16 @@ export const siteConfig = { yearlyPrice: '$1020', originalYearlyPrice: '$1200', discountPercentage: 15, - description: 'Everything in Pro, plus:', + description: 'For established businesses', buttonText: 'Start Free', buttonColor: 'bg-secondary text-white', isPopular: false, hours: '12 hours', features: [ - '$100/month usage', - // '+ $5 free included', + '$100 AI token credits/month', 'Private projects', - 'Priority support', + 'Premium AI Models', + 'Community support', ], stripePriceId: config.SUBSCRIPTION_TIERS.TIER_12_100.priceId, yearlyStripePriceId: config.SUBSCRIPTION_TIERS.TIER_12_100_YEARLY.priceId, @@ -201,16 +202,16 @@ export const siteConfig = { yearlyPrice: '$2040', originalYearlyPrice: '$2400', discountPercentage: 15, - description: 'Everything in Free, plus:', + description: 'For power users and teams', buttonText: 'Start Free', buttonColor: 'bg-primary text-white dark:text-black', isPopular: false, hours: '25 hours', features: [ - '$200/month usage', - // '+ $5 free included', + '$200 AI token credits/month', 'Private projects', - 'More models', + 'Premium AI Models', + 'Priority support', ], stripePriceId: config.SUBSCRIPTION_TIERS.TIER_25_200.priceId, yearlyStripePriceId: config.SUBSCRIPTION_TIERS.TIER_25_200_YEARLY.priceId, @@ -222,18 +223,19 @@ export const siteConfig = { yearlyPrice: '$4080', originalYearlyPrice: '$4800', discountPercentage: 15, - description: 'Everything in Ultra, plus:', + description: 'For large organizations', buttonText: 'Start Free', buttonColor: 'bg-secondary text-white', isPopular: false, hours: '50 hours', features: [ - '$400/month usage', - // '+ $5 free included', + '$400 AI token credits/month', 'Private projects', - 'Access to intelligent Model (Full Suna)', - 'Priority support', + 'Premium AI Models', + 'Full Suna AI access', + 'Community support', 'Custom integrations', + 'Dedicated account manager', ], stripePriceId: config.SUBSCRIPTION_TIERS.TIER_50_400.priceId, yearlyStripePriceId: config.SUBSCRIPTION_TIERS.TIER_50_400_YEARLY.priceId, @@ -246,19 +248,20 @@ export const siteConfig = { yearlyPrice: '$8160', originalYearlyPrice: '$9600', discountPercentage: 15, - description: 'Everything in Enterprise, plus:', + description: 'For scaling enterprises', buttonText: 'Start Free', buttonColor: 'bg-secondary text-white', isPopular: false, hours: '125 hours', features: [ - '$800/month usage', - // '+ $5 free included', + '$800 AI token credits/month', 'Private projects', - 'Access to intelligent Model (Full Suna)', - 'Priority support', + 'Premium AI Models', + 'Full Suna AI access', + 'Community support', 'Custom integrations', 'Dedicated account manager', + 'Custom SLA', ], stripePriceId: config.SUBSCRIPTION_TIERS.TIER_125_800.priceId, yearlyStripePriceId: config.SUBSCRIPTION_TIERS.TIER_125_800_YEARLY.priceId, @@ -271,20 +274,21 @@ export const siteConfig = { yearlyPrice: '$10200', originalYearlyPrice: '$12000', discountPercentage: 15, - description: 'Everything in Scale, plus:', + description: 'For maximum scale and performance', buttonText: 'Start Free', buttonColor: 'bg-secondary text-white', isPopular: false, hours: '200 hours', features: [ - '$1000/month usage', - // '+ $5 free included', + '$1000 AI token credits/month', 'Private projects', - 'Access to intelligent Model (Full Suna)', + 'Premium AI Models', + 'Full Suna AI access', 'Priority support', 'Custom integrations', 'Dedicated account manager', 'Custom SLA', + 'White-label options', ], stripePriceId: config.SUBSCRIPTION_TIERS.TIER_200_1000.priceId, yearlyStripePriceId: config.SUBSCRIPTION_TIERS.TIER_200_1000_YEARLY.priceId,