From 4582bcce66d07e74ac4f5ea046a7acecd21c70ed Mon Sep 17 00:00:00 2001 From: Tony Giorgio Date: Wed, 8 Apr 2026 17:44:48 -0500 Subject: [PATCH] Surface GLM 5.1 across model and marketing flows Add the new paid-model copy, Z.ai branding, and badge updates so the launch is reflected consistently across the product. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- frontend/public/badge-zai-logo.svg | 219 ++++++++++++++++++ frontend/src/components/Marketing.tsx | 1 + frontend/src/components/ModelSelector.tsx | 9 +- frontend/src/components/PromoDialog.tsx | 2 +- .../src/components/UpgradePromptDialog.tsx | 6 +- frontend/src/config/pricingConfig.tsx | 10 +- frontend/src/routes/teams.tsx | 5 +- 7 files changed, 240 insertions(+), 12 deletions(-) create mode 100644 frontend/public/badge-zai-logo.svg diff --git a/frontend/public/badge-zai-logo.svg b/frontend/public/badge-zai-logo.svg new file mode 100644 index 00000000..4f511bd7 --- /dev/null +++ b/frontend/public/badge-zai-logo.svg @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/components/Marketing.tsx b/frontend/src/components/Marketing.tsx index e0195aba..d3bfaa73 100644 --- a/frontend/src/components/Marketing.tsx +++ b/frontend/src/components/Marketing.tsx @@ -27,6 +27,7 @@ const AI_MODELS = [ alt: "Moonshot", labels: ["Kimi K2.5"] }, + { src: "/badge-zai-logo.svg", alt: "Z.ai", labels: ["GLM 5.1"] }, { src: "/badge-qwen-logo.png", alt: "Qwen", labels: ["Qwen3-VL"] }, { src: "/badge-meta-logo.png", alt: "Meta", labels: ["Meta Llama"] } ]; diff --git a/frontend/src/components/ModelSelector.tsx b/frontend/src/components/ModelSelector.tsx index eb90f0bd..657a142d 100644 --- a/frontend/src/components/ModelSelector.tsx +++ b/frontend/src/components/ModelSelector.tsx @@ -44,10 +44,17 @@ export const MODEL_CONFIG: Record = { supportsVision: true, tokenLimit: 256000 }, + "glm-5-1": { + displayName: "GLM 5.1", + shortName: "GLM 5.1", + badges: ["Pro", "New", "Reasoning"], + requiresPro: true, + tokenLimit: 202000 + }, "kimi-k2-5": { displayName: "Kimi K2.5", shortName: "Kimi K2.5", - badges: ["Pro", "New", "Reasoning"], + badges: ["Pro", "Reasoning"], requiresPro: true, supportsVision: true, tokenLimit: 256000 diff --git a/frontend/src/components/PromoDialog.tsx b/frontend/src/components/PromoDialog.tsx index 675ad066..197cfa7c 100644 --- a/frontend/src/components/PromoDialog.tsx +++ b/frontend/src/components/PromoDialog.tsx @@ -29,7 +29,7 @@ export function PromoDialog({ open, onOpenChange, discount }: PromoDialogProps) const benefits = [ { icon: , - text: "Powerful AI models including Gemma 4 31B and Kimi K2.5" + text: "Powerful AI models including Gemma 4 31B, GLM 5.1, and Kimi K2.5" }, { icon: , diff --git a/frontend/src/components/UpgradePromptDialog.tsx b/frontend/src/components/UpgradePromptDialog.tsx index cdb448d9..32df949c 100644 --- a/frontend/src/components/UpgradePromptDialog.tsx +++ b/frontend/src/components/UpgradePromptDialog.tsx @@ -152,7 +152,7 @@ export function UpgradePromptDialog({ : isPro ? [ "10x more monthly messages with Max plan", - "Access to all AI models including Kimi K2.5", + "Access to all AI models including GLM 5.1 and Kimi K2.5", "Highest priority during peak times", "Maximum rate limits for power users", "Or purchase extra credits to keep chatting now" @@ -186,7 +186,7 @@ export function UpgradePromptDialog({ requiredPlan: "Pro", benefits: [ "All models run in secure, encrypted environments", - "Access to Kimi K2.5 and the full model lineup", + "Access to GLM 5.1, Kimi K2.5, and the full model lineup", "OpenAI GPT-OSS, Qwen, and other advanced models", "Higher token limits for longer conversations", "Priority access to new models as they launch" @@ -231,7 +231,7 @@ export function UpgradePromptDialog({ {isFreeTier ? "Plus access to powerful models, image & document processing, and more" : isPro - ? "Plus access to Kimi K2.5, 10x more usage, API access, and priority support" + ? "Plus access to GLM 5.1, Kimi K2.5, 10x more usage, API access, and priority support" : "Explore our pricing options for the best plan for your needs"}

diff --git a/frontend/src/config/pricingConfig.tsx b/frontend/src/config/pricingConfig.tsx index 9fddd0fa..b0c12517 100644 --- a/frontend/src/config/pricingConfig.tsx +++ b/frontend/src/config/pricingConfig.tsx @@ -54,7 +54,7 @@ export const PRICING_PLANS: PricingPlan[] = [ icon: }, { - text: "Paid AI models including Gemma 4 31B and Kimi K2.5", + text: "Paid AI models including Gemma 4 31B, GLM 5.1, and Kimi K2.5", included: false, icon: }, @@ -99,7 +99,7 @@ export const PRICING_PLANS: PricingPlan[] = [ icon: }, { - text: "Kimi K2.5", + text: "GLM 5.1 + Kimi K2.5", included: false, icon: }, @@ -134,7 +134,7 @@ export const PRICING_PLANS: PricingPlan[] = [ icon: }, { - text: "All AI models including Kimi K2.5", + text: "All AI models including GLM 5.1 and Kimi K2.5", included: true, icon: }, @@ -184,7 +184,7 @@ export const PRICING_PLANS: PricingPlan[] = [ icon: }, { - text: "All AI models including Kimi K2.5", + text: "All AI models including GLM 5.1 and Kimi K2.5", included: true, icon: }, @@ -243,7 +243,7 @@ export const PRICING_PLANS: PricingPlan[] = [ icon: }, { - text: "All AI models including Kimi K2.5", + text: "All AI models including GLM 5.1 and Kimi K2.5", included: true, icon: }, diff --git a/frontend/src/routes/teams.tsx b/frontend/src/routes/teams.tsx index d562973f..6fc4fead 100644 --- a/frontend/src/routes/teams.tsx +++ b/frontend/src/routes/teams.tsx @@ -127,10 +127,11 @@ function TeamsPage() { { src: "/badge-openai-logo.png", alt: "OpenAI", label: "OpenAI GPT-OSS" }, { src: "/badge-google-logo.png", alt: "Google", label: "Gemma 4" }, { src: "/badge-kimi-logo.png", alt: "Moonshot", label: "Kimi K2.5" }, + { src: "/badge-zai-logo.svg", alt: "Z.ai", label: "GLM 5.1" }, { src: "/badge-meta-logo.png", alt: "Meta", label: "Meta Llama" } ]; return ( -
+
{models.map((model) => (
{model.alt} {model.label}