Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update Zed trial copy for the $5 GPT Luna offer (#63969)

Katie Geer77226930a055
diff --git a/crates/ai_onboarding/src/ai_onboarding.rs b/crates/ai_onboarding/src/ai_onboarding.rs
index dce3264cc23..1f04600e67f 100644
--- a/crates/ai_onboarding/src/ai_onboarding.rs
+++ b/crates/ai_onboarding/src/ai_onboarding.rs
@@ -167,13 +167,13 @@ impl ZedAiOnboarding {
.gap_1()
.child(Headline::new("Welcome to Zed AI"))
.child(
- Label::new("Sign in to try Zed Pro free for 14 days.")
+ Label::new("Sign in to try GPT Luna. Your 14 days begin when you start the trial.")
.color(Color::Muted)
.mb_2(),
)
.child(PlanDefinitions.sign_in_upsell())
.child(
- Button::new("sign_in", "Try Zed Pro for Free")
+ Button::new("sign_in", "Sign In to Try GPT Luna")
.disabled(signing_in)
.full_width()
.style(ButtonStyle::Tinted(ui::TintColor::Accent))
@@ -300,7 +300,7 @@ impl ZedAiOnboarding {
.child(Self::pro_trial_stamp(cx))
.child(Headline::new("Welcome to the Zed Pro Trial"))
.child(
- Label::new("Here's what you get for the next 14 days:")
+ Label::new("Included for 14 days from when your trial started:")
.color(Color::Muted)
.mb_2(),
)
diff --git a/crates/ai_onboarding/src/plan_definitions.rs b/crates/ai_onboarding/src/plan_definitions.rs
index 674c74ebb87..58c47a582b7 100644
--- a/crates/ai_onboarding/src/plan_definitions.rs
+++ b/crates/ai_onboarding/src/plan_definitions.rs
@@ -17,17 +17,17 @@ impl PlanDefinitions {
pub fn sign_in_upsell(&self) -> impl IntoElement {
List::new()
.child(ListBulletItem::new("Unlimited edit predictions"))
- .child(ListBulletItem::new("$20 of tokens in Zed agent"))
+ .child(ListBulletItem::new("$5 of GPT Luna"))
.child(ListBulletItem::new("No credit card required"))
}
pub fn pro_trial(&self, period: bool) -> impl IntoElement {
List::new()
- .child(ListBulletItem::new("$20 of tokens in Zed agent"))
+ .child(ListBulletItem::new("$5 of GPT Luna"))
.child(ListBulletItem::new("Unlimited edit predictions"))
.when(period, |this| {
this.child(ListBulletItem::new(
- "Try it out for 14 days, no credit card required",
+ "14 days from trial start, no credit card required",
))
})
}
diff --git a/crates/language_models/src/provider/cloud.rs b/crates/language_models/src/provider/cloud.rs
index 74d71d1ba95..a577d8b43a8 100644
--- a/crates/language_models/src/provider/cloud.rs
+++ b/crates/language_models/src/provider/cloud.rs
@@ -468,7 +468,9 @@ fn zed_ai_description(
Some(Plan::ZedPro) => {
"You have access to Zed's hosted models through your Pro subscription."
}
- Some(Plan::ZedProTrial) => "You have access to Zed's hosted models through your Pro trial.",
+ Some(Plan::ZedProTrial) => {
+ "Your Pro trial includes $5 of GPT Luna and unlimited edit predictions for 14 days from trial start."
+ }
Some(Plan::ZedStudent) => {
"You have access to Zed's hosted models through your Student subscription."
}
@@ -484,7 +486,7 @@ fn zed_ai_description(
}
Some(Plan::ZedFree) | None => {
if eligible_for_trial {
- "Subscribe for access to Zed's hosted models. Start with a 14 day free trial."
+ "Start a free trial with $5 of GPT Luna and unlimited edit predictions for 14 days from trial start."
} else {
"Subscribe for access to Zed's hosted models."
}
@@ -516,7 +518,7 @@ impl RenderOnce for ZedAiConfiguration {
.on_click(|_, _, cx| cx.open_url(&zed_urls::account_url(cx)))
.into_any_element()
} else if self.plan.is_none() || self.eligible_for_trial {
- Button::new("start_trial", "Start 14-day Free Pro Trial")
+ Button::new("start_trial", "Start Free Trial")
.when(!self.compact, |this| {
this.full_width().label_size(LabelSize::Small)
})
diff --git a/docs/src/account/plans-and-pricing.md b/docs/src/account/plans-and-pricing.md
index e76819cddb7..9892d41bc13 100644
--- a/docs/src/account/plans-and-pricing.md
+++ b/docs/src/account/plans-and-pricing.md
@@ -27,7 +27,7 @@ Zed is free to use. You can configure AI agents with your own API keys via [Use
### Zed Pro {#pro}
-Zed Pro includes access to all hosted AI models and Edit Predictions. The plan includes $5 of monthly token credit; usage beyond that is billed at the rates listed on [Zed-Hosted Models](./zed-hosted-models.md). A trial of Zed Pro includes $20 of credit, usable for 14 days.
+Zed Pro includes access to all hosted AI models and Edit Predictions. The plan includes $5 of monthly token credit; usage beyond that is billed at the rates listed on [Zed-Hosted Models](./zed-hosted-models.md). A [trial of Zed Pro](#trials) includes $5 of GPT Luna and unlimited Edit Predictions for 14 days from when you start the trial.
For details on billing and payment, see [Individual Billing](./billing.md).
@@ -65,4 +65,6 @@ On Zed Business, administrators set a pre-tax org-wide spend limit from the Data
### Trials {#trials}
-Trials automatically convert to Zed Free when they end. Trials do not include access to Anthropic's Opus models. No cancellation is needed to prevent conversion to Zed Pro.
+Trials include $5 of GPT Luna and unlimited Edit Predictions for 14 days from when you start the trial. Trial hosted-model access is limited to GPT Luna. Zed and Delta share the same $5 trial balance. No credit card is required.
+
+Trials automatically convert to Zed Free when they end. No cancellation is needed to prevent conversion to Zed Pro.