GLM 5.2 in Claude Code is Blowing My Mind

GLM 5.2 in Claude Code is Blowing My Mind

GLM 5.2 in Cloud Code: A Game Changer?

Introduction to GLM 5.2

  • The speaker shares their experience with GLM 5.2 in Cloud Code, highlighting its speed and cost-effectiveness.
  • The intro was generated by GLM 5.2 from raw video, showcasing its capabilities.

Performance Comparison with Opus

  • The speaker notes that while GLM 5.2 is faster for some tasks, Opus outperforms it in others.
  • A comparison of website designs shows GLM completing a task in under four minutes versus nearly fifteen minutes for Opus.
  • Cost efficiency is emphasized; GLM's token usage is significantly cheaper than Opus.

Task Evaluation and Precision

  • A homework assignment comparison reveals that while both models performed well, Opus handled edge cases better.
  • Overall impression: GLM 5.2 excels at quick tasks but lacks the reasoning depth of Opus.

Use Cases for Different Models

  • The speaker suggests that most knowledge work can be done effectively with models like GLM 5.2 or Sonnet 3.7.
  • An example illustrates varying completion times between the two models based on task complexity.

Creative Outputs and Design Skills

  • A creative prompt yielded an interesting HTML document from GLM, demonstrating its design capabilities.
  • In contrast, Opus produced a timeline about the Death Star, raising questions about design quality versus speed.

Research Capabilities of GLM 5.2

  • The speaker discusses using multiple agents within a research context to generate thorough reports using GLM.
  • Results included diverse perspectives from various expert personas contributing to the final report.

Open Source vs Closed Source Models

  • Discussion on open-source nature of GLM compared to closed-source models like Claude and Anthropic’s offerings.
  • Emphasizes affordability and accessibility of running large models like GLM online versus locally due to hardware constraints.

Pricing Structure and Setup Instructions

  • Overview of pricing options for using GLM through Z.ai, highlighting cost per token as competitive compared to other models.
  • Instructions provided on how to set up API access for integrating with Cloud Code effectively.

Conclusion: Future Implications

  • The speaker encourages exploration of local AI models as companies may shift towards more accessible solutions over time.
Video description

My FREE AI OS Course: https://www.skool.com/ai-automation-society/about?el=glm-5.2-claude&hcategory=youtube-videos&utm_campaign=free-group Full courses + unlimited support: https://www.skool.com/ai-automation-society-plus/about?el=glm-5.2-claude&hcategory=youtube-videos&utm_campaign=ais-plus Apply for my YT podcast: https://podcast.nateherk.com/apply Work with me: https://uppitai.com/ My Tools💻 FREE MONTH voice to text: https://get.glaido.com/nate Code NATEHERK for 10% off VPS (annual plan): https://www.hostinger.com/vps/claude-code-hosting I switched Claude Code over to GLM 5.2 and ran it all day. It's a 756 billion parameter open source model you can route straight into the Claude Code harness for about five times cheaper than Opus, and for most of my knowledge work it held up fine. In this one I show you what it can build, where it beats Opus and where it doesn't, and exactly how to set it up so you can switch between models per project. Here's the config I use. Drop this into your .claude/settings.local.json and swap in your own Z.ai key: "env": { "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic", "ANTHROPIC_AUTH_TOKEN": "your-z-ai-api-key-here", "ANTHROPIC_API_KEY": "", "API_TIMEOUT_MS": "3000000", "ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.2", "ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.2", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-5.2", "ANTHROPIC_SMALL_FAST_MODEL": "glm-5.2", "CLAUDE_CODE_SUBAGENT_MODEL": "glm-5.2" } Sponsorship Inquiries: 📧 nate@smoothmedia.co Connect with me: https://www.linkedin.com/in/nateherkelman/ https://x.com/nateherk https://www.instagram.com/nateherk/ TIMESTAMPS 0:00 Intro 0:56 What GLM 5.2 Can Do 2:40 When You Actually Need Opus 3:39 Creative One-Shot Builds 5:21 Storm Research With GLM 7:36 Why Open Source Matters 8:21 Benchmarks And Pricing 9:19 Renting vs Owning Your Model 10:33 How To Set It Up 14:48 Final Thoughts