Artificial Intelligence

GLM-5.4’s launch detail is a 30-minute timeout

GLM-5.4’s looped design matters, but Crusoe’s 30-minute timeout and Z.ai’s 512,000-token coding recommendation reveal how it is meant to run.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

3 min read

GLM-5.4 cloud inference architecture and serverless API settings
Credit: Crusoe Blog

Key facts

  • GLM-5.4 runs a shared block of 28 layers twice per token
  • Z.ai recommends 512,000 tokens for coding despite the 1 million-token ceiling
  • Crusoe’s sample sets timeout=1800, or 30 minutes instead of 10

The telling line in the GLM-5.4 setup example from the Crusoe Blog is timeout=1800: up to 30 minutes, versus the OpenAI SDK’s 10-minute default. That is a clue to the workload, long agent runs that can outlast ordinary chat settings.

Crusoe is a day-zero launch partner, serving Z.ai’s flagship through an OpenAI-compatible Serverless Inference API in Crusoe Intelligence Foundry, with no GPUs to provision. Access is not exclusive: Mistral says GLM-5.4 is also live on Mistral Cloud at day zero, with image input and a 1M-token context window. For Crusoe, the differentiation is the serving setup, not sole access to the model.

The architecture explains why long runs are plausible. Crusoe says GLM-5.4 runs a shared block of 28 layers twice per token, with the second pass refining the first without adding parameters. Z.ai says that gives its 750 billion-parameter base intelligence comparable to models with 2 trillion to 3 trillion parameters.

Z.ai’s supporting test used a 30 billion-parameter model, not the 750 billion-parameter flagship.

Z.ai held parameter counts identical and used about 10% more training compute. The largest gains came in math, scientific reasoning and long-context tasks. Z.ai also reports output length falling 10% to 14% on GPQA-Diamond and MMLU-Pro, as part of the reasoning moved into the loop.

The serving problem is memory, not just computation.

Crusoe says the key-value cache dominates at a 1 million-token context. The second loop reuses sparse entries selected by the first loop’s indexer and keeps new entries only for a local sliding window. That avoids storing a full context cache for each pass. Crusoe claims low latency and high throughput from its MemoryAlloy-powered engine, but gives no supporting figures in the launch.

GLM-5.4 adds image input after the text-only GLM-5.3. Z.ai’s Generalized Coding demos model a six-axis robotic arm to engineering grade with FreeCAD and Blender, alongside playable games and GLSL-driven 3D scenes. For software teams, the pitch is screenshot-to-fix edits, second-pass code review and repository-scale agents. Crusoe advises testing generated code and designs in your own tools.

The GLM-5.4 settings that matter

The practical setup uses less context than the headline specification. Crusoe lists a 1 million-token context window and up to 128,000 output tokens, yet Z.ai recommends a 512,000-token window in coding clients for better results. Lower reasoning effort suits small edits, while high effort is for hard problems. Streaming keeps long runs visible.

That makes timeout=1800 more than sample code. Check current rates, watch long runs stream, and treat 1 million tokens as headroom rather than the default.

Mentioned in this story

Sources

TopicsCrusoeZ.aiGLM-5.4Loop TransformerServerless InferenceMemoryAlloyOpenAIMistral Cloud

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.