[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"compare-glm-52-vs-grok-3":3},{"modelA":4,"modelB":9,"categories":14,"faq":56,"winsA":69,"winsB":70,"relatedArticles":71,"otherComparisons":91},{"name":5,"provider":6,"pricing":7,"highlights":8},"GLM-5.2","Z.ai","$3\u002F$80","Open-weights coding-focused model released in June 2026, positioned for long-horizon autonomous engineering tasks.",{"name":10,"provider":11,"pricing":12,"highlights":13},"Grok 3","xAI","$3\u002F$15","Strong math\u002Fscience; now legacy (Grok 4 series launched)",[15,19,25,29,34,39,43,47,51],{"key":16,"label":17,"valueA":6,"valueB":11,"winner":18},"provider","Provider","tie",{"key":20,"label":21,"valueA":22,"valueB":23,"winner":24},"context","Context Window","128K","131K","b",{"key":26,"label":27,"valueA":28,"valueB":28,"winner":18},"pricingInput","Input Price ($\u002F1M)","$3",{"key":30,"label":31,"valueA":32,"valueB":33,"winner":24},"pricingOutput","Output Price ($\u002F1M)","$80","$15",{"key":35,"label":36,"valueA":37,"valueB":38,"winner":24},"arena","Arena ELO","N\u002FA","1391",{"key":40,"label":41,"valueA":37,"valueB":42,"winner":18},"coding","Coding","unknown",{"key":44,"label":45,"valueA":37,"valueB":46,"winner":18},"reasoning","Reasoning","93.3% AIME 2025",{"key":48,"label":49,"valueA":37,"valueB":50,"winner":24},"speed","Speed (tokens\u002Fsec)","~55 t\u002Fs",{"key":52,"label":53,"valueA":54,"valueB":55,"winner":18},"openSource","Open Source","Yes","No",[57,60,63,66],{"question":58,"answer":59},"Which is cheaper, GLM-5.2 or Grok 3?","Grok 3 is approximately 78% cheaper than GLM-5.2 per million tokens.",{"question":61,"answer":62},"Which is better for coding, GLM-5.2 or Grok 3?","GLM-5.2 scores N\u002FA on coding benchmarks, while Grok 3 scores unknown.",{"question":64,"answer":65},"Which has a larger context window?","GLM-5.2 supports 128K context, while Grok 3 supports 131K.",{"question":67,"answer":68},"Is GLM-5.2 or Grok 3 open source?","GLM-5.2 is open source. Grok 3 is proprietary.",0,4,[72,76,79,82,85,88],{"slug":73,"title":74,"language":75},"glm-5-2-open-source-1m-context-long-tasks-en","GLM-5.2开源：1M上下文冲刺长程任务","en",{"slug":77,"title":78,"language":75},"pentagon-should-not-use-grok-wartime-targeting-en","The Pentagon should not use Grok for wartime targeting",{"slug":80,"title":81,"language":75},"grok-latest-controversies-regulation-story-en","Grok’s latest controversies are now a regulation story",{"slug":83,"title":84,"language":75},"glm-52-open-frontier-ai-for-developers-en","GLM-5.2把前沿模型变成可用工具",{"slug":86,"title":87,"language":75},"spacex-ipo-should-not-wash-away-grok-safety-failures-en","SpaceX’s IPO Should Not Wash Away Grok’s Safety Failures",{"slug":89,"title":90,"language":75},"grok-updates-change-how-i-code-en","5 Grok updates that change how I code",[92,97,102,107,112,117,122,127],{"slugA":93,"labelA":94,"slugB":95,"labelB":96},"claude-opus-45-vs-glm-52","GLM-5.2 vs Claude Opus 4.5","claude-opus-45-vs-grok-3","Grok 3 vs Claude Opus 4.5",{"slugA":98,"labelA":99,"slugB":100,"labelB":101},"glm-52-vs-llama-4-scout","GLM-5.2 vs Llama 4 Scout","grok-3-vs-llama-4-scout","Grok 3 vs Llama 4 Scout",{"slugA":103,"labelA":104,"slugB":105,"labelB":106},"claude-sonnet-46-vs-glm-52","GLM-5.2 vs Claude Sonnet 4.6","claude-sonnet-46-vs-grok-3","Grok 3 vs Claude Sonnet 4.6",{"slugA":108,"labelA":109,"slugB":110,"labelB":111},"claude-haiku-45-vs-glm-52","GLM-5.2 vs Claude Haiku 4.5","claude-haiku-45-vs-grok-3","Grok 3 vs Claude Haiku 4.5",{"slugA":113,"labelA":114,"slugB":115,"labelB":116},"glm-52-vs-qwen-36","GLM-5.2 vs Qwen 3.6","grok-3-vs-qwen-36","Grok 3 vs Qwen 3.6",{"slugA":118,"labelA":119,"slugB":120,"labelB":121},"glm-52-vs-gpt-4o","GLM-5.2 vs GPT-4o","gpt-4o-vs-grok-3","Grok 3 vs GPT-4o",{"slugA":123,"labelA":124,"slugB":125,"labelB":126},"deepseek-r1-vs-glm-52","GLM-5.2 vs DeepSeek R1","deepseek-r1-vs-grok-3","Grok 3 vs DeepSeek R1",{"slugA":128,"labelA":129,"slugB":130,"labelB":131},"claude-opus-46-vs-glm-52","GLM-5.2 vs Claude Opus 4.6","claude-opus-46-vs-grok-3","Grok 3 vs Claude Opus 4.6"]