Skip to main content
Back to News Hub
⚙️IEEE Spectrum AI
July 21, 2026
Product Updates

Chinese AI Model Uses Less Muscle for Coding Tasks

Overview

Zain Hasan, an AI engineer at Together AI, has taught himself to use AI coding assistants while still keeping an eye on cost. He directs difficult problems to a frontier model, meaning one near the current state of the art in reasoning and capability, such as Anthropic's Fable. But if the task that Hasan is outsourcing is more straightforward, he directs it to a less capable-and less expensive-language model.

Key Takeaways

  • Right now, the cheaper model, for him, tends to be GLM 5.2.

    Those that pay Z.ai for GLM access still can save money, because the company's API costs US $4.40 per million output tokens .

  • And when someone else is paying, the rational move for many software engineers is to skip tabulating costs entirely.
  • The model nearly ties Opus 4.8's score on some agentic coding benchmarks, such as FrontierSWE and PostTrainBench .

    Cybersecurity researchers have also found that GLM 5.2 scores well in cybersecurity benchmarks , a capability that spurred comparisons to Anthropic's Mythos .

  • The model's Chinese origin also complicates its use for companies in the U.S. and elsewhere that are wary of routing sensitive data through Chinese-linked infrastructure.
  • Many of the report's benchmarks place GLM 5.2 behind Opus 4.8 (and, at times, OpenAI's GPT-5.5) in agentic coding.

Stats & Key Facts

  • #Released on 16 June by the Beijing-based lab Z.ai, GLM 5.2 is an open-weights model, meaning any organization with sufficient h Zain Hasan , an AI engineer at Together AI , has taught himself to use AI coding assistants while still keeping an eye on cost.
  • #Released on 16 June by the Beijing-based lab Z.ai , GLM 5.2 is an open-weights model , meaning any organization with sufficient hardware can download and host the model for free.
  • #Those that pay Z.ai for GLM access still can save money, because the company's API costs US $4.40 per million output tokens .
  • #Z.ai Narrows Benchmark Gap With U.S. Rivals Z.ai's GLM 5.2 is an AI large language model (LLM) with 753 billion parameters, though it has only 40 billion parameters active at once-an optimization that improves the speed at which a model can respond.
Chinese AI Model Uses Less Muscle for Coding Tasks

Right now, the cheaper model, for him, tends to be GLM 5.2. Released on 16 June by the Beijing-based lab Z.ai , GLM 5.2 is an open-weights model , meaning any organization with sufficient hardware can download and host the model for free. Those that pay Z.ai for GLM access still can save money, because the company's API costs US $4.40 per million output tokens .

That's less than a fifth of the comparable price for access to Anthropic's Opus 4.8 model, and a tenth the price of Anthropic's Fable coding model. An output token is the basic unit of text a model generates in response to a prompt. Yet many software engineers around the world, Hasan said, aren't yet fully mindful of the net AI price tag for a given coding project.

"A lot of companies right now-they're still trying to figure this technology out, and so there isn't really a token budget," said Hasan. And when someone else is paying, the rational move for many software engineers is to skip tabulating costs entirely. "The easiest thing is to pick the most powerful model."

For more details please read the original article at IEEE Spectrum AI.

Continue Learning

Comments

Comments appear only after moderation. Your email identifies your submission to the moderator and is never displayed here.

No approved comments yet.

Originally published by IEEE Spectrum AI
Read the original