Skip to content

Surface GLM 5.1 across model and marketing flows#467

Merged
AnthonyRonning merged 1 commit intomasterfrom
surface-glm-5-1-marketing
Apr 8, 2026
Merged

Surface GLM 5.1 across model and marketing flows#467
AnthonyRonning merged 1 commit intomasterfrom
surface-glm-5-1-marketing

Conversation

@AnthonyRonning
Copy link
Copy Markdown
Contributor

@AnthonyRonning AnthonyRonning commented Apr 8, 2026

Summary

  • add GLM 5.1 to the paid model selector with New/Reasoning badges
  • update pricing, upgrade, promo, and marketing copy to mention GLM 5.1
  • add Z.ai branding/logo to the marketing and teams model grids and remove the Kimi K2.5 New badge

Testing

  • just format
  • just lint
  • just build
  • bun test

Open with Devin

Summary by CodeRabbit

  • New Features

    • Added GLM 5.1 to the model lineup with Pro-tier access (202k token limit) and a "New" badge
    • Added a Z.ai model badge/logo to model showcases
  • Updates

    • Marketing, pricing, promo, and upgrade messages now list GLM 5.1 alongside Kimi K2.5
    • Improved responsive layout and image sizing for the models showcase
    • Removed the "New" badge from Kimi K2.5

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6cf0e7c8-699b-463e-99ac-e68ec5bed445

📥 Commits

Reviewing files that changed from the base of the PR and between 0a7a768 and 4582bcc.

⛔ Files ignored due to path filters (1)
  • frontend/public/badge-zai-logo.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • frontend/src/components/Marketing.tsx
  • frontend/src/components/ModelSelector.tsx
  • frontend/src/components/PromoDialog.tsx
  • frontend/src/components/UpgradePromptDialog.tsx
  • frontend/src/config/pricingConfig.tsx
  • frontend/src/routes/teams.tsx
✅ Files skipped from review due to trivial changes (4)
  • frontend/src/components/Marketing.tsx
  • frontend/src/components/UpgradePromptDialog.tsx
  • frontend/src/config/pricingConfig.tsx
  • frontend/src/components/PromoDialog.tsx
🚧 Files skipped from review as they are similar to previous changes (2)
  • frontend/src/routes/teams.tsx
  • frontend/src/components/ModelSelector.tsx

📝 Walkthrough

Walkthrough

Added GLM 5.1 (Z.ai) to frontend model listings and UI badges, updated model configs (new glm-5-1, removed "New" badge from kimi-k2-5), and revised promotional/pricing text and teams page badge layout to accommodate the new model.

Changes

Cohort / File(s) Summary
Model Configuration
frontend/src/components/ModelSelector.tsx
Added MODEL_CONFIG["glm-5-1"] (display names, badges ["Pro","New","Reasoning"], requiresPro: true, tokenLimit: 202000). Removed "New" from kimi-k2-5 badges (now ["Pro","Reasoning"]).
Marketing / Badge Lists
frontend/src/components/Marketing.tsx, frontend/src/routes/teams.tsx
Inserted new badge entry for Z.ai (/badge-zai-logo.svg, alt Z.ai, label GLM 5.1) into AI models lists. Adjusted teams badge grid classes from grid-cols-1 md:grid-cols-2 lg:grid-cols-4grid-cols-2 md:grid-cols-3 lg:grid-cols-5 and changed image sizing w-72max-w-full (keeps h-24, object-contain).
Promo / Upgrade Messaging
frontend/src/components/PromoDialog.tsx, frontend/src/components/UpgradePromptDialog.tsx
Updated benefit and upgrade text to explicitly include “GLM 5.1” alongside existing models (strings only; no control-flow or API changes).
Pricing Content
frontend/src/config/pricingConfig.tsx
Updated pricing plan feature strings to reference GLM 5.1 where model availability is described (no structural changes to plans or booleans).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 A new badge hops into view today,
GLM 5.1 bounces down the runway.
Texts updated, grids rearranged,
Kimi’s "New" tag softly changed,
Rabbity cheers — models at play! 🎉

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately summarizes the main objective of the changeset: adding GLM 5.1 model visibility across multiple marketing and model configuration flows throughout the frontend.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch surface-glm-5-1-marketing

Comment @coderabbitai help to get the list of available commands and usage tips.

devin-ai-integration[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

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>
@AnthonyRonning AnthonyRonning force-pushed the surface-glm-5-1-marketing branch from 0a7a768 to 4582bcc Compare April 8, 2026 22:55
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 8, 2026

Deploying maple with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4582bcc
Status: ✅  Deploy successful!
Preview URL: https://1197b290.maple-ca8.pages.dev
Branch Preview URL: https://surface-glm-5-1-marketing.maple-ca8.pages.dev

View logs

@AnthonyRonning AnthonyRonning merged commit 3e7360d into master Apr 8, 2026
14 checks passed
@AnthonyRonning AnthonyRonning deleted the surface-glm-5-1-marketing branch April 8, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant