Hardware
Groq vs Cerebras vs GPU: Fast AI Inference Chips
Groq vs Cerebras vs GPU: how LPUs and wafer-scale chips make AI inference fast, speed and cost trade-offs, the Nvidia-Groq deal and which to use for your app.
In Groq vs Cerebras, both companies built chips that generate AI text far faster than typical GPU servers by keeping model data in very fast on-chip memory (SRAM) instead of slower external memory. Cerebras uses a single wafer-sized chip, the largest ever built, and is usually measured as the fastest of the two for output speed on large open models. Groq designed the LPU (language processing unit), a simpler inference-only chip linked together in large numbers; in late 2025 Nvidia licensed Groq's technology and hired its founders, and Groq's ideas now also ship inside Nvidia's own systems. GPUs remain the flexible, general-purpose default: they train models, run almost any model with the broadest software support, and offer the best cost per token for most workloads that don't need extreme speed.
This guide explains what Groq and Cerebras are, why their chips are fast, how they compare with GPUs on speed, cost and flexibility, what changed with the Nvidia-Groq deal, and when each makes sense for an AI application.
Why AI Inference Speed Depends on Memory
To understand these chips, start with how a language model generates text. Each new token requires reading essentially all of the model's weights from memory. For large models, that memory read, not the maths, is usually the bottleneck. This is why output speed (tokens per second per user) tracks memory bandwidth so closely.
- GPUs store model weights in HBM (high-bandwidth memory) chips next to the processor. HBM is fast, several terabytes per second on current data centre GPUs, but still far slower than on-chip memory.
- Groq and Cerebras store model weights in SRAM, the fastest kind of memory, built directly into the chip. SRAM bandwidth is measured in petabytes per second, but SRAM is expensive and takes a lot of chip area, so each chip holds relatively little.
Generation has two phases: prefill, which processes your prompt and is compute-heavy, and decode, which produces output tokens one at a time and is memory-bandwidth-heavy. SRAM-based chips shine at decode, which is what users experience as "speed".
What Is Groq?
Groq was founded in 2016 by Jonathan Ross, one of the engineers behind Google's TPU. Its Groq LPU is designed only for inference, with a deterministic architecture: the compiler schedules every operation in advance, so there are no caches or unpredictable delays. Each LPU has a modest amount of on-chip SRAM, so large models are split across many chips connected with a fast interconnect.
Groq made its name with GroqCloud, an API that served open models such as Llama, Qwen and gpt-oss at output speeds several times faster than typical GPU-based providers, at competitive prices.
The Nvidia-Groq deal
In December 2025, Nvidia signed a non-exclusive licensing agreement for Groq's inference technology, reported at around $20 billion. Founder Jonathan Ross and president Sunny Madra joined Nvidia, while Groq stayed an independent company under a new CEO and kept operating GroqCloud. It's often described as a licence-and-hire deal rather than an acquisition.
Nvidia has since turned the technology into its own product. NVIDIA Groq 3 LPX racks connect 256 next-generation LPU accelerators, each with 500 MB of SRAM, and pair them with Nvidia's Vera Rubin GPU systems: the GPUs handle prefill and the LPUs generate output tokens. Nvidia said in 2026 that LPX was in full production. Groq, for its part, now positions itself as an inference cloud with data centres on several continents.
What Is Cerebras?
What is Cerebras? Cerebras Systems builds the Wafer-Scale Engine (WSE), a single chip made from an entire silicon wafer instead of cutting the wafer into many small chips. The WSE-3 has 4 trillion transistors and 900,000 AI cores on one piece of silicon, with 44 GB of on-chip SRAM; the newer WSE-3 Turbo is rated by Cerebras at 250 petaflops of AI compute. Its systems, the CS-3 and the rack-scale CS-4 with three WSE-3 Turbo chips, run both training and inference.
Because a whole wafer acts as one chip, data doesn't have to travel between many separate chips for each step, and the on-chip memory bandwidth is enormous. Cerebras offers its hardware through a cloud inference API and on-premises systems. In 2026 it signed a large multi-year agreement to supply OpenAI with up to 750 megawatts of inference capacity, and in May 2026 it listed on the Nasdaq in one of the largest US tech IPOs in years.
Groq vs Cerebras vs GPU at a Glance
| Groq LPU | Cerebras WSE | Data centre GPU (e.g. Nvidia) | |
|---|---|---|---|
| Chip design | Many small, deterministic inference chips | One wafer-sized chip | Large general-purpose accelerator |
| Model memory | On-chip SRAM, spread across many chips | On-chip SRAM (44 GB on WSE-3), plus external memory systems for larger models | HBM next to the chip (tens to hundreds of GB) |
| Memory bandwidth | Very high (SRAM) | Very high (SRAM, petabytes per second) | High (HBM, terabytes per second) |
| Training | No, inference only | Yes, training and inference | Yes, the standard for training |
| Main strength | Low, predictable latency for output tokens | Very high output speed per user | Flexibility, ecosystem, throughput, cost per token |
| Software | Compiler-scheduled; runs models the provider supports | Provider-supported models via its API and software stack | CUDA and the whole AI software ecosystem |
| How you use it | GroqCloud API; Groq technology in Nvidia LPX racks | Cerebras cloud API or on-premises systems | Every cloud, on-premises, local workstations |
| Status | Technology licensed to Nvidia; GroqCloud continues | Public company since 2026 | Dominant platform |
Groq vs Cerebras Speed
Groq vs Cerebras speed comparisons usually measure output tokens per second for one request on a popular open model. Independent benchmarking services such as Artificial Analysis publish these figures, and Cerebras has cited them to claim leads of several times over Groq on the same models, for example around 3,000 tokens per second versus around 500 on OpenAI's gpt-oss-120b. Treat vendor-cited numbers with care and check current independent results, because:
- Speeds change with software updates, model versions and new hardware generations.
- Settings matter: context length, quantization and batch size all affect results.
- Time to first token (latency before output starts) and output speed are different measures.
- Model availability differs: each provider serves a limited menu of models.
What's consistent across measurements: both are much faster than typical GPU-based APIs for output speed on the models they support, often by several times or more.
Groq LPU vs GPU
The Groq LPU vs GPU comparison captures the trade-off between specialization and flexibility:
- Speed per user: SRAM-based LPUs generate tokens faster for each individual request.
- Throughput and cost: GPUs process many requests at once in large batches, which usually gives a lower cost per token for workloads where a few hundred milliseconds don't matter.
- Model size: LPUs need many chips to hold large models in SRAM, which raises the system's size and power; GPUs hold large models in HBM on fewer chips.
- Flexibility: GPUs run any model, any architecture and also training; LPUs run what their compiler supports.
Nvidia's decision to pair LPUs with GPUs in the same system is telling: the industry's answer isn't LPU or GPU, but each for the phase it's best at.
Groq vs Cerebras vs Nvidia: Cost
Pricing for hosted inference is per million input and output tokens. Fast-inference providers have generally priced their APIs in the same range as GPU-based providers for comparable open models, sometimes higher for the fastest service. Cerebras has said its prices are similar to Groq's or somewhat higher for some models. Because prices and model menus change frequently, compare the current pricing pages for the exact model you need.
For self-hosting, the comparison is very different: GPUs can be bought or rented from many providers and run on-premises, while Cerebras systems are large, specialized installations, and LPU technology now reaches customers mainly through cloud services and Nvidia's racks.
When Does Fast Inference Matter?
Extreme output speed is valuable when people or systems are waiting for long outputs:
- Coding agents that write and rewrite large files.
- Voice assistants, where delays break the conversation.
- Agent loops with many sequential model calls, where each call's latency adds up.
- Reasoning models, which generate long chains of thought before answering.
- Real-time products such as live translation, search answers and interactive tutoring.
It matters less for batch jobs, background summarization, classification at scale or any workload where users don't wait on each token. Our guide to AI inference vs training explains why inference costs dominate once an AI product is in use.
Other Fast-Inference Options
- SambaNova builds reconfigurable dataflow chips and runs a fast inference cloud.
- Google TPUs power Google's own services and are available on Google Cloud; our TPU vs GPU comparison covers them.
- Speculative decoding and other software tricks speed up GPU inference without new hardware.
- Newer GPUs keep raising memory bandwidth; our H100 vs H200 comparison shows how much HBM upgrades help.
How to Test a Fast Inference Provider
Before switching providers for speed, test with your own workload:
- Use your real prompts, with your typical prompt length and output length.
- Measure time to first token and output tokens per second separately, from your own servers, not just the provider's dashboard.
- Test at your expected concurrency, since speed per user can drop under load.
- Compare output quality on the same model and settings; quantization and serving choices can affect results.
- Check limits: rate limits, maximum context length, and which models and features (such as tool calling and structured output) are supported.
- Calculate cost per request, including input and output tokens, not just the headline price per million tokens.
Which Should You Use?
| Situation | Choose |
|---|---|
| Voice, coding agents or long reasoning outputs where speed is the product | Cerebras or GroqCloud API for supported models |
| You need a specific model that fast providers don't serve | GPU-based provider or self-hosting |
| High-volume background processing where cost matters most | GPU-based API or batch processing |
| Training or fine-tuning | GPUs (or Cerebras systems for large-scale training) |
| Self-hosting on your own hardware | GPUs |
| Enterprise wanting both speed and the Nvidia ecosystem | Nvidia systems with LPX for fast decode |
Many applications route requests: a fast provider for interactive, latency-sensitive calls and a cheaper GPU provider for everything else.
Common Mistakes
- Comparing speed without checking the model and settings used in each benchmark.
- Ignoring time to first token, which matters as much as output speed for short replies.
- Assuming fast means cheap or expensive without comparing current prices for your exact model.
- Locking into one provider's model menu without a fallback.
- Paying for speed you don't need on background workloads.
FAQ
What is the difference between Groq and Cerebras?
Groq designed the LPU, an inference-only chip used in large connected groups, while Cerebras builds a single wafer-sized chip used for both training and inference. Both store model weights in fast on-chip SRAM to generate tokens very quickly.
Is Cerebras faster than Groq?
Independent benchmarks cited by Cerebras have shown it generating output tokens several times faster than Groq on the same open models. Results change with models, settings and new hardware, so check current independent measurements.
What is a Groq LPU?
A Groq LPU (language processing unit) is a chip designed specifically for AI inference. It uses on-chip SRAM and a compiler that schedules every operation in advance, giving fast and predictable output speed.
Did Nvidia buy Groq?
Nvidia licensed Groq's inference technology in a non-exclusive deal reported at around $20 billion and hired its founder and president, but Groq remained an independent company running GroqCloud. Nvidia now sells LPU-based LPX racks alongside its GPUs.
Are GPUs obsolete for AI inference?
No. GPUs remain the most flexible and widely used hardware for both training and inference, with the broadest software support and the lowest cost per token for many workloads. Specialized chips win mainly where output speed per user matters most.