GLM Built Its Own Inference Infrastructure

(z.ai)

96 points | by whiteros_e 3 hours ago

9 comments

  • dada216 1 hour ago
    We built a complete production-grade inference service from scratch on a cluster of more than 100,000 Chinese-made AI accelerators. All production inference for GLM-5.3-Flash runs on this system.
    • freakynit 44 minutes ago
      Most of the people had kinda guessed this when they decided to provide 100 trillion tokens for free.
    • axiosgunnar 1 hour ago
      [dead]
  • almaight 6 minutes ago
    Zhipu has built a production-grade inference service for GLM-5.3-Flash, running on a cluster comprising over 100,000 domestic AI accelerators. The practical application of GLM-5.3-Flash has given rise to a fundamental feedback loop: the model contributes to optimizing the inference infrastructure, while the optimized system continues to serve the model.
  • Havoc 26 minutes ago
    Interesting that the tone of announcements between US and Chinese providers is converging.

    GLM has in the past been more technical rather than speculation about future development on RSI etc.

    Also curious whether those 100k accelerators are entirely locally made. If that's genuinely end to end on all components including lithography, memory, design etc then that is quite a feat.

    • dude250711 14 minutes ago
      Any details on the latest approach to distillation would also be very interesting.
  • tefkah 1 hour ago
    > Today, GLM-5.3 has become an indispensable daily coding partner for everyone on the team, and it is moving steadily toward replacing us. If this trend continues, given enough compute and enough time, its endpoint is a system that can design and train its own successor entirely autonomously. This is known as Recursive Self-Improvement, or RSI.

    Statements dreamed up by the utterly deranged.

    • binsquare 58 minutes ago
      Given the rate of improvement, why is this deranged?
      • sixeyes 45 minutes ago
        because the rate of improvement is fairly stalled?
        • pizza234 35 minutes ago
          You're tragically misinformed; it isn't. Several metrics are actually growing exponentially. But if you want emprical information, you can just have al look at the nature of the late AI incidents.

          Ironically, many benchmarks being maxxed out, and quite quickly, so new ones have to be created.

        • scarmig 27 minutes ago
          Yeah, it's been over a week since a Millennium Problem was solved. AI has hit a wall.
          • etamponi 21 minutes ago
            It was not solved. ~OpenAI~ Buckmaster and Alpöge found one (or a few) singularities in the forced version of the Navier-Stokes equations. Then magically 2 weeks later OpenAI found them too. Again, I am not saying this is not a great feat. I am just saying that everyone should be a bit more careful when making statements about RSI.
        • xyzsparetimexyz 43 minutes ago
          Do you have anything that proves this one way or another that isn't based on vibes or shoddy benchmarks?
          • koe123 40 minutes ago
            You prove your own point no? You are asking for a benchmark to prove AGAINST ASI. Surely the burden of proof for such a scientific fiction concept should be the other way around.
            • phoghed 34 minutes ago
              No, they asked for a reliable measurement to prove that model development has stalled. Nobody is talking about ASI except you.
              • jdiff 26 minutes ago
                Nah, they're fine making that small leap. RSI is the new marketing term for the sci fi singularity.
                • phoghed 20 minutes ago
                  >> because the rate of improvement is fairly stalled?

                  > Do you have anything that proves this one way or another that isn't based on vibes or shoddy benchmarks?

                  They clearly aren’t talking about RSI here, but that model development has stalled in general.

      • ramon156 42 minutes ago
        if you can be replaced by an algorithm, how useful were you really?
        • azan_ 27 minutes ago
          Very useful. That’s a weird question.
          • fc417fc802 0 minutes ago
            I aspire to be at least as useful as bogosort.
        • simonw_simonw_ 35 minutes ago
          [dead]
      • meyer3423 44 minutes ago
        [dead]
      • simonw_simonw_ 36 minutes ago
        [dead]
    • pizza234 40 minutes ago
      > This is known as Recursive Self-Improvement, or RSI.

      Some call this "The singularity" (e.g. Hinton).

      This is actually a core danger postulated by the, let's call it, "worrying" scenario - see AI 2027 (to be clear, I think its timeline is not realistic).

      > Statements dreamed up by the utterly deranged.

      Evidently, and tragically, it will take catastrophes to show that deranged are the ones deriding the worried crowd.

  • embedding-shape 1 hour ago
    I was gonna ask how people found their coding plans, and realized, have they massively ramped up the prices? Seems the middle plan is ~$80/month now, didn't that used to be like $20/month? Cheapest plan is ~$20/month currently.

    They must have hit really hard scaling limits if the prices were hiked so much so quickly.

    • Daviey 1 hour ago
      I paid $360 annual for Max plan and currently averaging about 1BN tokens a day with their frontier GLM-5.3 model. This was clearly unsustainable for them and they've dropped this package.
      • world2vec 45 minutes ago
        1 billion tokens a day?!! I've done a lot of work these past 2 weeks with GLM-5.3. Like, a lot. And I've just passed 300 million tokens in total.

        Can I ask where are you using all those tokens?

        • _0ffh 19 minutes ago
          Well, there's essentially two major ways to use these models: Pair programming or fully autonomous fire-and-forget code generation. The second strategy needs essentially zero input, so the number of tokens you can blow is practically only limited by API speed.
        • wartywhoa23 38 minutes ago
          Something like this I guess: https://youtu.be/U-Rqv9dOB1U
        • buckle8017 11 minutes ago
          That's easy to do with many agents independently told to find bugs in a large codebase.
        • tokai 37 minutes ago
          300M for two weeks is surprisingly low. What are you doing that need so few tokens?
          • world2vec 31 minutes ago
            It's not my main model (that would be Fable 5.1 Extra) but it's been doing agent-driven search and optimisation of a cross-trading ranking model (it's for work).
            • disiplus 4 minutes ago
              I would suggest you to hook fable or 5.6 to check it regularly and its work because it gets lost easily on stuff it was not trained on. I'm doing some custom inference engine optimization and it's a workhorse but it can easily lose its way and if you don't recheck it you will get wrong answers in the end.
      • disiplus 58 minutes ago
        I also have a legacy pro plan and the only limitation is if you are trying to work in the morning from Europe because you are in the 3x usage overlapping China time but after 12 or so you basically can run it at least for me at least 3 parallel sessions all the time.
    • Havoc 20 minutes ago
      >I was gonna ask how people found their coding plans

      Very good - but I'm on a legacy plan. And coming up on a renewal that would put me on the watered down current plan. But with 50% legacy discount think it may be worthwhile. If I go to a competitor I'd be paying market rate.

      >They must have hit really hard scaling limits if the prices were hiked so much so quickly.

      Not really scaling - their plans were initially comically subsidized even more so than what the western providers are doing. More advert for an upstart than commercially priced.

    • asp_hornet 1 hour ago
      The way I look at it, their coding plan doesn’t retain data or use it for training making it one of the cheaper plans for me.

      https://docs.z.ai/legal-agreement/privacy-policy

      • andy_ppp 1 hour ago
        You believe any of these companies care about the law? They care about winning and building the self improving AI as quickly as possible.
        • asp_hornet 1 hour ago
          I too am sceptical but I’ll take my chances. At least it’s helping the open weights.
        • criley2 27 minutes ago
          I believe the that the companies who claim to not train on my data are more likely to not train on my data than the companies who refuse to even claim they won't.

          Also why Meta gets a +1, just charge less money on the training path.

          • orf 17 minutes ago
            I’m not sure that follows. You’re assuming that all those claims have the same weight, without considering the size, jurisdiction, reputation or even the general vibe of the company making that claim.

            If you factor that in, then there are clearly different tiers: one you can trust, and one that may well just be saying that to increase market share with little reputational or legal consequences if they are found to be lying.

            These are not equal.

    • broodbucket 1 hour ago
      Yeah it went from a great deal to unviable compared to other providers imo. They really need to find a healthy middle ground
      • lompad 1 hour ago
        It just gives a taste of what we are all going to have to pay soon, once the model providers actually have to make money. And the era of "let's charge a dollar for every 10 dollars running the infra actually costs" is rapidly coming to an end.

        And you can bet GLM is still ridiculously subsidized, just not as ridiculously as Anthropic and OpenAI.

        • chobbledotcom 55 minutes ago
          This isn't true, you can pay for GLM 5.3 from a provider like Neuralwatt or Friendli who have no incentive to subsidize or loss-lead their inference APIs
          • jdiff 30 minutes ago
            This introduces other incentives to cut corners and over-quantize.
      • pyrophane 1 hour ago
        What provider are you using currently?
    • bbor 1 hour ago
      It's hard to know, since no one advertises the actual token limits (partially cause they're prolly complex / adaptive). So it seems much more likely that they just offer different pricing tiers than you're used to. Like, the $80 plan is still ~$80 of subscription quota, regardless of what else is offered.

      For [API usage](https://openrouter.ai/z-ai/glm-5.3-flash#providers) they charge a bit more than the very cheapest providers of GLM-5.3-Flash, but not so much that a big price difference would make sense.

  • Argonautlabs 50 minutes ago
    Different angle on the same model: the full GLM-5.3 (744B MoE, 4-bit experts, 434 GB on disk) runs on a single MacBook Pro M5 Max with 128 GB by streaming the experts from NVMe SSDs instead of keeping them in memory.

    One drive gives about 2 tok/s; striped across four drives it reaches 3.5 tok/s with byte-identical output, and our best internal build with a not-yet-published patch does 4.2.

    Method and numbers: https://github.com/argonautlabsai/argodrive (built on antirez/ds4).

    • tipsytoad 32 minutes ago
      seems unusably slow, and is this for short context?
  • OhNoNotAgain_99 1 hour ago
    [dead]
  • bbor 1 hour ago
    Well, other than the infrastructure they got from illegally routing millions of paying customers' requests through Anthropic's Opus 4.8 in a distillation attack...
    • woadwarrior01 45 minutes ago
      That is such a canard, IMO. FWIW, Anthropic and OpenAI encrypt "thinking" token outputs in their models, while Chinese labs don't. If anything, it's more likely that everyone is using open-weight models in their synthetic training data generation pipelines. It's way easier to distill from logits than it is to distill from hard tokens.

      https://x.com/EricSimons/status/2099252922098061714

    • phoghed 27 minutes ago
      We weep for Dario, that he had to suffer such a devastating attack against his Terms of Service.
    • jensb1 1 hour ago
      What is "illegal" about it?
      • bingud 1 hour ago
        breaking Anthropic TOS and misleading users
        • drbscl 46 minutes ago
          Breaking TOS isn't illegal per se. It just allows for denial of services, and may define terms by which the provider can reclaim costs.
      • bbor 57 minutes ago
        Are you joking...? Sorry if so! Just in case: It's illegal in both the PRC and the USA.

        In the PRC, they[1] leaked tons of national secrets on the PRC's latest AI campaigns, the inner workings of their "opinion monitoring" (read: performative panopticon) and "stability" (read: violent oppression) departments, Chengdu's whole CCTV network, direct-energy weapons plans, espionage activities in Syria to hunt down Uyghur refugees, and god knows what else that Anthropic didn't divulge to us common folk.

        In the US, it's very clearly an attempt to rip off a competitor. I'm not sure how else you could possibly see it. Even if you're a distillation fan in general (which A. why and B. plz don't), they did this through a network of Japanese and Signaporean shell accounts, presumably at least some of which were abusing Anthropic's subscription service in a ToS double-whammy, as it would be exorbitantly expensive otherwise. They also had to hack around Anthropic's API to get CoT traces, which seems impossible to explain away as anything innocent.

        I've been beating the "China isn't necessarily an enemy, it's gonna take us all to handle AI" drum for literally years, but this attack was just... gross. Gross in scale and gross in arrogance. Not a good sign for the dawning alignment crisis, to say the least :(

        TL;DR: Use these services if you want, but know that you're supporting aggressive escalations and companies that very clearly don't give a flying fuck about violating the law, much less your ToS. So... buyer beware, I guess.

        [1]: For clarity, Z.ai was not alone in this, nor were they most egregious attack -- Moonshot.ai (kimi) took that coveted prize. DeepSeek was involved, too.

        • dgellow 2 minutes ago
          What does any of this has to do with the legality of distilling Claude?
        • Bluestein 52 minutes ago
          Nulla poena sine lege?
        • jensb1 3 minutes ago
          [dead]
    • Laurel1234 1 hour ago
      [dead]
  • rob74 55 minutes ago
    This article left me with one immediate question: "WTF is GLM?".

    Honestly, I have no idea what z.ai is either (I'm aware of an AI-enabled editor called Zed, but that's under zed.dev), so it's a bit presumptuous from them to assume that everyone is familiar with their product...

    • bogdan 5 minutes ago
      I don't get the outrage. Do you post this kind of stuff on every topic on hackernews that you are not knowledgeable about?
    • jbonatakis 49 minutes ago
      z.ai is a fairly well known AI lab out of China and their GLM models are probably the most popular outside of Anthropic or OpenAI’s. I don’t think it’s presumptuous for them to not introduce themselves in a post on their own blog, I think you’re just a bit out of the loop here.
    • peri-cl 35 minutes ago
      It's only the top open-weights LLM in the world,

      https://artificialanalysis.ai/#intelligence-category-tabs

    • fxwin 50 minutes ago
      It's presumptuous for them to assume that a reader of their blog is familiar with their product?

      Also I feel like the obvious way to read the very first sentence is that GLM is a language model

      > As we develop GLM, the model sometimes exhibits capabilities that surprise us

    • Mashimo 43 minutes ago
      A ai model family similar to Codex, Gemini or Claude.

      Where GLM-5.3-Flash is the newest "small / fast" model.

    • drbscl 49 minutes ago
      >As we develop GLM, the model sometimes exhibits capabilities that surprise us, and even unsettle us.

      Come on now

      Also, why would they introduce themselves on their own blog?