AI Company Observation / Cerebras

Why Cerebras Builds an AI Chip on a Single Wafer

From WSE-3 Wafer-Level Design to Inference API, understand how Cerebras shortens the distance data travels between computing cores and makes speed a product customers are willing to pay for.

Published:

Cerebras logo

Why Are There Two Waiting Times for a Single Reply?

Imagine you ask a program assistant a question, pasting ten files and asking it to find an error. The screen waits a few seconds before the first word appears, followed by line-by-line replies. For a while, the model needs to understand the hints and files, creating temporary storage on the server. For a while, it sequentially generates new terms, repeatedly using model weights and previously stored data. Both phases will make people wait, but the required hardware capabilities are not exactly the same.

The story of Cerebras can be seen from the second phase. If each small step of the model requires reading a large amount of data from memory, it's difficult to predict when the text will appear based solely on the chip's maximum computational power. Cerebras' choice was to place a large amount of high-speed memory on the chip, allowing the computing cores to access data locally. To accommodate this design, it also reconsidered the chip size.

Connecting the computing blocks on the wafer

Generally, multiple chips are manufactured on a single wafer, and then sliced ​​for use. For large-scale computations, the system connects these chips using packages, boards, and networks. Cerebras uses a wafer-level engine to connect a large number of computing blocks on the same silicon chip, allowing more data exchange to be completed within the wafer. Its goal is to reduce the distance some data travels between different chips and external devices.

This idea first addresses a simple issue: the larger the area, the greater the chance of encountering manufacturing defects. If a local block on the entire wafer is not working, the system must still be able to use other blocks. Cerebras explains in its public filings that it utilizes redundant resources and reconfigurable interconnects to handle defects. Next, power supply and heat dissipation must be addressed, requiring dedicated system design at the wafer level. The hardware it sells is the system; customers buy an integrated computing environment.

In 2024, WSE-3 put memory and computing together

In 2024, Cerebras announced its third-generation Wafer Scale Engine, or WSE-3 for short, which is integrated into the CS-3 system. The company's specifications include 900,000 computing cores and 44 GB of on-chip SRAM. This 44 GB refers to on-chip memory and should not be used to directly deduce the size of the models the entire system can run, or to assume all models are configured in the same way. Architectural differences must be considered in the context of actual models, precision, and service settings.

SRAM can be thought of as a materials cabinet scattered around a workbench. Whenever data is needed, some materials are already at hand, reducing the need for manual handling. The trade-off is that high-speed memory occupies chip area, and a large workbench requires different design and power supply. Cerebras trades wafer-level area for more near-end memory and internal interconnects. Whether this trade-off is worthwhile depends on where the work is stalled.

From complete machines to APIs, who will pay for speed?

Hardware customers need to consider data centers, integration, and deployment. After packaging inference capabilities into APIs, development teams can first call services for supported models and test speed with their own workload. Cerebras' public offerings cover pay-as-you-go developer plans and enterprise plans for production deployment. Customers can pay for the application volume, or for the capacity, support, and latency conditions required for the production environment.

Speed ​​is most easily seen in the hands of those waiting for results. After the program assistant sends back the results, it may still need to perform tests, and if it can't find the errors, it needs to be checked again. If each round requires waiting, the entire process will be lengthened. If customer service summaries are completed in batches in the middle of the night, businesses may be more concerned about how many calls can be handled throughout the night and whether all can be delivered before the start of work the next day. Even if the same hardware is fast in both scenarios, the amount a buyer is willing to pay for speed will differ.

The collaboration with AWS reveals another approach to hardware competition

Cerebras has publicly explained its split inference architecture in collaboration with AWS. AWS Trainium handles the prefill phase of reading hints, while Cerebras CS-3 handles the progressively generated decode phase. This is a specific product design choice. The same request can have two parts of the work assigned to different devices. The effectiveness also depends on the cost and scheduling of exchanging temporary data between devices, and whether the capacities of both sides can be matched.

This approach allows Cerebras to focus on the performance of a specific computational segment, bringing competition to a more granular level. Model service providers can choose different architectures for the same process, provided that the additional latency after integration does not negate the original speed advantage. For companies using APIs, this infrastructure is usually hidden behind the service interface, but it will ultimately appear in the service's unit price, available capacity, and response time.

Using a set of real requests, calculate how much faster it is worthwhile.

Returning to the program assistant at the beginning, models and test questions can be fixed, and scenarios with short prompts, long documents, and multiple users can be run separately. In addition to how many words are generated per second, the first word time, the time to complete the entire response, the number of requests that time out during peak periods, and whether the answer quality is comparable are also recorded. If the product needs to call other tools, the tool wait time and model wait time are recorded separately. This way, it can be seen how much less time the reader actually waits after switching services.

The most noteworthy aspect of Cerebras is that it transforms design decisions that were originally hidden in the data center into a product experience that developers can directly measure. The wafer is made larger to rearrange the location of data and computation. The moment a customer can truly incorporate this design into their budget is when they can point out which tasks, by saving a few seconds, are completed faster or serve more people.

Sources and Further Reading

Browse the AI Company Series

Contact on LINE