Z.ai's New Model Targets Software Bugs and Cybersecurity Weaknesses

The AI industry has spent years following one simple strategy. Build bigger models, add more parameters, spend more money on computing power, and hope that intelligence improves.

GLM-5.4 Reveals a New Direction in the US-China AI Technology Race

Z.ai is testing a different approach.

Its new GLM-5.4 model reuses the same 28 neural network layers twice. Instead of simply making the model bigger, it gives the model another opportunity to process information and improve its internal reasoning.

The company claims this architecture can deliver intelligence comparable to models with 2 trillion to 3 trillion parameters, despite starting from a model with approximately 750 billion parameters.

That is an ambitious claim, and the evidence needs to be examined carefully.

But the business idea is important. If AI companies can improve reasoning without increasing model size at the same rate, the economics of artificial intelligence could change. Smaller companies may eventually gain access to more capable AI without having to pay for the enormous computing infrastructure required to train the largest models.

For small and medium-sized businesses, this is not just another model announcement. It could signal a different way to access advanced technology.

Z.ai Introduces GLM-5.4 With a Different Approach to AI Intelligence

Z.ai introduced GLM-5.4 on November 23, 2026. It is the company's first flagship model built around a Loop Transformer architecture.

  1. Smaller AI Models May Gain More Intelligence Through Repeated Computation

The central idea is straightforward.

Traditional Transformer models move information through their layers once during a normal processing pass. GLM-5.4 takes a different route. It sends information through the same group of 28 layers twice.

This allows the model to perform additional computation without adding another complete set of parameters.

The model also introduces vision capabilities and expands beyond traditional software development.

Z.ai calls this direction Generalized Coding. The goal is to use code as a tool for solving problems in areas such as:

  • Software engineering and application development.

  • Cybersecurity and vulnerability detection.

  • Mechanical engineering and product design.

  • Three-dimensional modeling.

  • Complex engineering workflows.

This is an important shift. AI coding is no longer limited to writing website code or generating simple applications. It is becoming a way to control more complex digital work.

GLM-5.4 is currently available through Z.ai's GLM Coding Plan, ZCode and Z.ai Chat. API access is expected later. Open model weights are also planned, but Z.ai has not announced a release date because additional safety work is required.

The 28-Layer Loop Could Change How AI Models Are Built

The architectural difference

Traditional Transformer

Layer 1

Layer 2

Layer 3

Layer 4

Layer 5

Each layer processes information once.

GLM-5.4 Loop Transformer

28 shared layers · First pass

Information is refined and processed again

The same 28 layers · Second pass

More computational depth without adding a second set of layer parameters.

To understand the difference, imagine an engineer examining a complicated machine.

The first inspection identifies the main structure and potential problems. The second inspection revisits the same machine with a better understanding of how its components interact.

The engineer has not hired another team or purchased another machine. The same resources are being used more effectively.

That is the basic idea behind a Loop Transformer.

In conventional Transformers, each layer processes information once during a forward pass. In GLM-5.4, the model sends intermediate information through the same 28 layers again.

This gives the model more opportunities to refine its internal representations.

The concept itself is not new. Researchers explored layer reuse in the Universal Transformer in 2018. However, applying the approach to a large commercial model introduces difficult engineering problems.

Z.ai adapted an already pre-trained GLM-5 model through continued training rather than building the entire loop architecture from scratch.

At the flagship scale, the company uses 28 layers of its approximately 750-billion-parameter base model for two iterations.

The distinction matters because model size and computational depth are not the same thing.

A model can have many parameters but still struggle with a complicated sequence of decisions. Another model may use its existing parameters more effectively by performing additional computation.

GLM-5.4 is an attempt to exploit that second possibility.

Three Engineering Changes Help Control the Cost

Running the same layers twice sounds simple, but doing so creates additional costs.

The model needs to preserve information between iterations, prevent unstable internal updates and avoid unnecessary memory consumption.

Z.ai describes three architectural changes.

Gated Progressive Updates

The model uses gates to control how much new information is written into its internal representations.

The first pass builds a broad understanding and makes relatively conservative updates. The second pass can make stronger changes.

The gates also adjust their behavior depending on the difficulty of individual tokens.

This matters because not every part of a sentence requires the same amount of reasoning.

Hybrid KV Cache

AI models use a system called a Key-Value cache to remember information during generation.

Keeping a separate full cache for every iteration would increase memory costs significantly.

GLM-5.4 instead reuses the first pass's sparse cache and adds a smaller sliding window for the second pass.

This helps limit the additional memory requirement.

Sparse Attention Index Reuse

The model also reuses attention indices from the first iteration rather than calculating them again.

This avoids repeating some expensive operations.

Together, these changes show that Z.ai is not simply asking its model to think twice. It is redesigning the infrastructure around that process to make the additional computation practical.

The Numbers Show Promise, but the Biggest Claim Remains Unproven

The most important evidence comes from a controlled experiment involving a separate 30-billion-parameter test model.

Z.ai compared two models with the same parameter count. One used the traditional architecture, while the other used the looped architecture.

The looped version required approximately 10% more total training compute.

The company reported improvements across mathematical reasoning, scientific reasoning and long-context tasks.

Some of the reported results include:

Benchmark

Without loop

With loop

AIME25

19.17

30.42

GPQA-Diamond

47.58

56.26

AA-LCR

40.33

47.67

MMLU-Pro

71.65

75.05

IFBench

50.20

53.47

These results are from the 30B experiment, not direct benchmark results for GLM-5.4 itself.

The company also reported that average output length decreased by approximately 10% to 15% on several benchmarks.

That is interesting because the model appears to achieve better results while producing shorter answers. Some of the additional reasoning may be happening inside the repeated computation rather than appearing as longer visible reasoning.

However, there is an important distinction between demonstrating an architectural improvement and proving that a flagship model performs like a model four times larger.

Z.ai claims intelligence comparable to 2 trillion to 3 trillion parameter models. But the company has not provided a complete, independently verified benchmark comparison for GLM-5.4 to establish that claim.

The distinction is important for businesses evaluating whether to adopt the technology.

AI Companies Are Moving Beyond the Bigger Model Strategy

For years, the AI industry has been driven by a race to increase model size.

Companies have invested heavily in GPUs, data centers, electricity, training data and specialized infrastructure.

The underlying assumption has been that more computing power and more parameters will produce better intelligence.

That strategy still matters. But it is becoming increasingly expensive.

Loop Transformers introduce another direction: improving how existing model capacity is used.

This does not mean large models are no longer necessary. It means AI companies are beginning to explore several ways to improve intelligence simultaneously.

The competition between American and Chinese AI companies is particularly interesting in this environment.

American companies have invested heavily in frontier models, advanced chips, cloud infrastructure and integrated AI platforms. Chinese companies face a different competitive environment, including restrictions on access to some advanced computing hardware.

That makes architectural efficiency strategically valuable.

If a company can extract more useful reasoning from existing computing resources, it may reduce some of the disadvantages associated with expensive infrastructure.

However, it would be a mistake to assume that one architectural improvement can overcome every hardware, software and manufacturing constraint.

The competition is becoming more complicated. Model architecture, inference efficiency, access to computing resources, distribution and business execution all matter.

GLM-5.4 is one example of this broader shift.

How AI Companies Can Make Money From This Architecture

The business opportunity is not simply selling a model with more intelligence.

It is selling useful work at a competitive cost.

For an AI company, there are several potential revenue streams.

AI subscriptions

Z.ai can offer access to GLM-5.4 through paid coding plans and AI applications.

Developers pay for access to more capable tools, while the company earns recurring subscription revenue.

Enterprise AI services

Companies need AI that can review code, identify problems, analyze documents and support engineering teams.

If GLM-5.4 can perform these tasks reliably, Z.ai can compete for enterprise spending.

API access

Once the API becomes available, software developers can integrate the model into their own products.

This creates opportunities for usage-based revenue.

For example, a small software company could build a debugging assistant using GLM-5.4 without developing its own foundation model.

Engineering and design automation

Generalized Coding could open opportunities beyond software companies.

Manufacturers, product designers and engineering businesses may eventually use AI to generate models, automate repetitive design work and support technical workflows.

The larger opportunity is turning AI from a tool that generates text into a system that performs useful work.

That is where customers are more likely to see measurable business value.

The Risks Behind GLM-5.4 Should Not Be Ignored

There are several reasons businesses should avoid treating the launch as proof that the model is already superior to every competitor.

The flagship benchmark gap

The strongest controlled evidence comes from the 30B test model. The full GLM-5.4 model does not yet have an equivalent published benchmark comparison.

Long reasoning can become expensive

Z.ai acknowledges that GLM-5.4 can become trapped in excessively long reasoning loops.

This creates a practical problem.

A model that finds more bugs but takes much longer to complete a task may not always be the best choice for a business.

Independent testing remains limited

Early users have reported promising results for debugging, code review and security analysis. Others have described the model as slow or less effective for certain tasks.

These experiences are useful signals, but they are not controlled scientific comparisons.

Cybersecurity requires careful deployment

A model capable of finding vulnerabilities can also create security risks if its capabilities are used improperly.

Businesses should maintain human review, access restrictions and testing environments.

Access is not yet fully open

The API and open weights are still pending. This limits how quickly companies can integrate the model into existing systems or operate it independently.

The practical lesson is simple. Technical potential is not the same as commercial readiness.

What Early Developers and the AI Community Are Saying

The early discussion around GLM-5.4 reveals an interesting difference between technical performance and everyday usability.

Some developers are impressed by its ability to investigate complicated code, identify bugs and uncover security weaknesses that other models may miss.

Others are less enthusiastic about its speed and writing quality.

Discussions reported from the LocalLLaMA community suggest three emerging opinions:

  • Coding and engineering are the strongest opportunities. Developers see value in models that can solve technical problems with measurable results.

  • Long reasoning is not always better. A model that spends too much time thinking can become expensive and frustrating to use.

  • Creative writing remains a different challenge. Writing software can be tested automatically, while judging whether an article or creative idea is good is much harder.

There are also individual reports of GLM-5.4 performing well in 3D modeling and debugging, alongside reports that other models perform better on particular tasks.

These are early user experiences, not independent benchmark results. They should be treated as starting points for testing rather than proof of overall superiority.

The broader message is important.

Businesses do not need the AI model with the most impressive marketing claims. They need the model that solves their problems reliably, at an acceptable speed and cost.

How GLM-5.4 Could Affect Small and Medium-Sized Businesses

The biggest impact may come from businesses that cannot afford to employ large engineering teams or build expensive technology infrastructure.

Consider a small software company with five employees.

Previously, the company might need several people to review code, investigate errors, test applications and maintain security.

A capable AI coding assistant could help with some of these tasks.

It does not eliminate the need for engineers. Instead, it gives existing employees more capacity.

The same opportunity applies to other industries.

Business

Potential AI application

Software companies

Debugging, testing and code review

Manufacturing

Mechanical design and technical documentation

E-commerce

Website development and workflow automation

Design agencies

3D modeling and interactive prototypes

IT service providers

Security reviews and troubleshooting

Small engineering firms

Design assistance and technical analysis

The important economic change is that specialized technical capabilities may become available to businesses that previously could not afford them.

However, there is a difference between having access to an AI tool and knowing how to use it profitably.

Businesses that simply purchase subscriptions without changing their workflows may see little benefit.

The winners will be those that connect AI capabilities to real business processes.

What Small and Micro Businesses Should Do Next

If I were running a small business, I would not immediately replace existing software or move every operation to GLM-5.4.

I would approach this technology as an opportunity to reduce operating costs and increase productivity.

Start with one expensive problem.

Look at the work that consumes the most employee time.

For example:

  • Repeatedly correcting errors in spreadsheets.

  • Writing product descriptions.

  • Maintaining a company website.

  • Preparing customer reports.

  • Testing software.

  • Processing large amounts of information.

Choose one problem that happens frequently and has a measurable cost.

Test AI before paying for more infrastructure.

GLM-5.4 is accessible through Z.ai's existing products, so businesses can explore its capabilities without building their own AI infrastructure.

Compare it with existing tools using the same tasks.

Measure the time required, quality of results and amount of human correction.

Do not select a model simply because its developer claims it competes with much larger systems.

Build small automation systems.

A business does not need to develop an advanced AI platform.

It can begin with a simple workflow:

Customer request → AI analysis → Draft response → Employee approval → Customer receives the result.

This approach reduces repetitive work while keeping a person responsible for important decisions.

Keep sensitive information protected.

Customer records, financial documents, business strategies and passwords should not be casually uploaded to external AI systems.

Check data policies, permissions and security requirements before introducing AI into business operations.

Avoid becoming dependent on one AI provider.

The US-China technology divide makes this particularly important.

American and Chinese AI ecosystems may develop different hardware dependencies, software platforms, access policies and commercial restrictions.

A small business should avoid building its entire operation around one provider.

Keep important business information in systems you control, use standard file formats and maintain alternative AI tools where practical.

If I Were Running a Small or Micro Business, This Would Be My Strategy

I would focus on three things rather than trying to compete with large technology companies.

First priority — Reduce operating costs

Use AI to handle repetitive administrative work, customer support drafts, document processing and routine reporting.

The objective is to reduce the time spent on work that does not directly generate revenue.

Second priority — Build a small AI-powered workflow

Connect existing business software with AI tools to automate a specific process.

For example, a small online retailer could use AI to organize product information, prepare customer responses and identify recurring customer complaints.

Third priority — Maintain independence

Test multiple AI providers, avoid unnecessary long-term commitments and keep control of company data.

This is especially important as the American and Chinese technology ecosystems become increasingly different.

I would also establish a simple rule for measuring results.

If an AI tool saves 10 hours per week, calculate what those hours are worth to the business. Then compare that value with the subscription, implementation and correction costs.

For a small company, saving money is important. But generating more revenue with the same number of employees is even better.

The goal should not be to use AI everywhere.

The goal should be to make a small business operate like a much larger organization without carrying the same operating expenses.

The Bigger Picture — The US-China AI Race Is Entering a New Phase

GLM-5.4 represents a different way of thinking about AI development.

The American AI industry has built much of its competitive position around frontier models, computing infrastructure, advanced chips and integrated software platforms.

Chinese AI developers are also investing in large models, but architectural efficiency and making better use of available computing resources are strategically important areas of competition.

Neither side has a guaranteed advantage in every category.

The future will depend on several factors:

  • More efficient model architectures.

  • Affordable computing infrastructure.

  • Better AI inference systems.

  • Access to advanced chips.

  • Enterprise adoption.

  • Reliable software and developer ecosystems.

GLM-5.4 does not prove that smaller models can automatically replace the largest AI systems.

It does demonstrate why improving computation is becoming an important research direction.

The emergence of other loop-based models, including Thinking Machines Lab's Inkling 2 Mini, also suggests that this architecture is attracting attention beyond one company.

For small businesses, the most important development is not which country wins the AI race.

It is whether the competition makes advanced intelligence cheaper, more accessible and more useful.

The Future of AI May Depend on Thinking Better, Not Just Thinking Bigger

GLM-5.4 introduces an important architectural experiment.

By running the same 28 layers twice, Z.ai is trying to increase reasoning depth without proportionally increasing the number of model parameters.

Its 30B experiments show promising improvements, particularly in mathematics, scientific reasoning and long-context tasks. But the full flagship model still needs more independent testing, and its longer reasoning cycles could create practical costs.

The business implications are potentially significant.

If this approach continues to improve, AI companies may find new ways to deliver stronger capabilities without relying entirely on increasingly large models and expensive infrastructure.

For small and medium-sized businesses, this creates an opportunity.

They do not need to build the next trillion-parameter model. They need to understand how to use increasingly capable AI systems to reduce costs, improve services and compete with larger companies.

The next stage of the AI industry will not be decided by model size alone.

It will be decided by how much useful work each unit of computing power can deliver.

GLM-5.4 Challenges AI Giants With a Transformer That Thinks Twice

GLM-5.4, Z.ai AI model, Loop Transformer, AI reasoning, AI architecture, AI coding tools, Chinese AI models, US China AI race, AI computing efficiency, Generalized Coding, AI automation, enterprise AI, small business AI, AI engineering