Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Improve styling
Jakub Novakb94bc0600f32
diff --git a/apps/docs/src/app/pricing/ManageBilling.tsx b/apps/docs/src/app/pricing/ManageBilling.tsxindex 1d7643850..be6c72b66 100644--- a/apps/docs/src/app/pricing/ManageBilling.tsx+++ b/apps/docs/src/app/pricing/ManageBilling.tsx@@ -16,12 +16,12 @@ function ManageBilling() {}return (- <div className="flex flex-col items-start justify-start gap-4 -mb-8">- <div className="flex flex-col items-start justify-start">- </div>- <Button onClick={() => router.push(manageBillingURL)}>- Manage Billing- </Button>+ <div className="flex flex-col items-start justify-start gap-4 mb-8">+ <div className="flex flex-col items-start justify-start">+ </div>+ <Button onClick={() => router.push(manageBillingURL)}>+ Manage Billing+ </Button></div>)}diff --git a/apps/docs/src/app/pricing/SwitchTearButton.tsx b/apps/docs/src/app/pricing/SwitchTearButton.tsxindex 4573d944e..fcdb95167 100644--- a/apps/docs/src/app/pricing/SwitchTearButton.tsx+++ b/apps/docs/src/app/pricing/SwitchTearButton.tsx@@ -5,6 +5,9 @@ import { useUser } from '@/utils/useUser'import { useState } from 'react'import { useRouter } from 'next/navigation'+export interface Props {+ tierID: string+}const billingApiURL = process.env.NEXT_PUBLIC_BILLING_API_URLfunction createCheckout(tierID: string, teamID: string) {@@ -20,7 +23,17 @@ function createCheckout(tierID: string, teamID: string) {})}-function SwitchTearButton(props: {tierID: string }) {+function tierDisplayName(tierID: string) {+ if (tierID === 'pro_v1') {+ return 'Pro'+ }+ throw new Error(`Unknown tierID: ${tierID}`)+}+++function SwitchTearButton({+ tierID,+}: Props) {const { user } = useUser()const [error, setError] = useState('')const router = useRouter()@@ -28,7 +41,7 @@ function SwitchTearButton(props: {tierID: string }) {async function createCheckoutSession() {setError('')- const response = await createCheckout(props.tierID, user.teams[0].id)+ const response = await createCheckout(tierID, user.teams[0].id)const responseData = await response.json()if (responseData.error) {@@ -38,19 +51,19 @@ function SwitchTearButton(props: {tierID: string }) {}}- if (!user || !billingApiURL || user.teams[0].tier === props.tierID){+ if (!user || !billingApiURL || user.teams[0].tier === tierID) {return}return (- <div className="flex flex-col items-start justify-start gap-1">+ <div className="flex flex-col items-start justify-start gap-1 my-4"><div className="flex items-center justify-start gap-2"><div className="flex flex-col items-start justify-start"></div><ButtononClick={createCheckoutSession}>- Switch to {props.tierID}+ Switch to {tierDisplayName(tierID)} tier</Button></div>{error && (diff --git a/apps/docs/src/app/pricing/page.mdx b/apps/docs/src/app/pricing/page.mdxindex 14794fc21..e76354fea 100644--- a/apps/docs/src/app/pricing/page.mdx+++ b/apps/docs/src/app/pricing/page.mdx@@ -6,14 +6,20 @@ import ManageBilling from './ManageBilling'<ManageBilling />-We charge you based on your real sandbox usage. All new users get free $100 worth of usage in credits.++We charge you based on your real sandbox usage. All new users get one-time free $100 worth of usage in credits. {{ className: 'lead' }}+## Resource pricing- vCPU: $0.000014 per second (~$0.05 per hour)- GB RAM: $0.0000045 per second (~$0.018 per hour)-## Hobby tier (usage costs)-- $100 of usage in credits++## Plans+Additionally to the usage costs, you can also select a tier that includes dedicated support, prioritized features, and customizable sandbox machine specs.++### Hobby tier (usage costs)+- One-time $100 of usage in credits- Community support- 24 hours max sandbox session length- Up to 20 concurrently running sandboxes@@ -22,9 +28,10 @@ We charge you based on your real sandbox usage. All new users get free $100 wort- 512 MB RAM- 1 GB free disk storage-## Pro tier ($150 per month + usage costs)-{/* <Promo/> */}-- $100 of usage in credits+### Pro tier ($150 per month + usage costs)+<SwitchTearButton tierID={'pro_v1'} />++- One-time $100 of usage in credits- Dedicated Slack channel with live Pro support from our team- Prioritized features- Customize your sandbox machine specs based on your needs@@ -35,6 +42,5 @@ We charge you based on your real sandbox usage. All new users get free $100 wort- 4 GB RAM- 5 GB free disk storage-<SwitchTearButton tierID={'premium'} />If you need more resources, please [reach out to us](/getting-help) with your use case.