What are AI accelerators and how do GPUs, TPUs, NPUs and LPUs differ?
An AI accelerator is specialized hardware designed to run neural networks faster and more efficiently than conventional CPUs. While CPUs are built to handle a wide range of tasks flexibly, GPUs, TPUs, NPUs and LPUs are primarily optimized for high-throughput matrix, tensor and multiply–accumulate operations, which are fundamental to deep learning.
Key Takeaways
The key facts about AI accelerators at a glance:
- AI accelerators are specialized chips for the matrix, tensor and multiply–accumulate operations that conventional CPUs handle only inefficiently.
- The GPU is the most versatile class: massively parallel, with tensor cores, high memory bandwidth and a mature software ecosystem around CUDA.
- The TPU is a Google ASIC whose systolic arrays reduce data movement, and it is used mainly through Google Cloud.
- The NPU sits in the system-on-chip of smartphones and laptops and targets local inference at very low power consumption.
- Groq’s LPU uses large amounts of on-chip SRAM and compiler-controlled execution for particularly low latency in token-by-token generation.
- What matters is not peak performance but which stage of the AI lifecycle an architecture serves: training, cloud inference, on-device AI or latency-critical language models.
Why matrix operations require specialized chips
Modern neural networks generate much of their computational load through linear algebra, primarily matrix multiplications and multiply–accumulate operations, in which values are multiplied and then added together. In transformer models in particular, as well as in many convolutional networks, this involves very large numbers of similar calculations that can be processed efficiently in parallel.
Conventional CPUs are only partly optimized for this type of workload. They are highly flexible, can handle complex program logic and respond quickly to individual tasks. With AI models, however, a different priority often comes into play: performing as many simple arithmetic operations as possible in parallel while moving data to the computing units quickly enough. This is where AI accelerators come in. Their hardware is designed less for general-purpose program logic and more for high-throughput tensor and matrix operations.
Different classes of AI accelerator have emerged for these workloads:
- GPUs excel at massively parallel computation and are widely used for both training and inference.
- TPUs are designed specifically for tensor operations, which are performed in large numbers by modern AI models.
- NPUs are increasingly integrated into smartphones, laptops and other devices to run AI models directly on the device.
- LPUs are designed to provide particularly fast and predictable inference for large language models.
The differences between these architectures therefore go beyond raw computing power. They also lie in which stage of the AI lifecycle they are best suited to, whether that is compute-intensive training, efficient on-device execution or latency-sensitive inference for large language models.
- One platform for the most powerful AI models
- Fair and transparent token-based pricing
- No vendor lock-in with open source
GPU (Graphics Processing Unit)
The GPU is one of the key foundations of modern AI accelerator technology. It was originally developed for graphics processing, where large numbers of pixels, surfaces and shader programs need to be processed simultaneously. GPUs therefore contain a large number of parallel computing units that operate according to the SIMT principle. This allows many threads to run at the same time while applying the same instruction to different data.
By the mid-2000s, GPUs already offered considerable computing power, but using it for general-purpose tasks was cumbersome. Developers often had to express calculations in graphical terms, such as shaders, textures or pixel operations.
With the introduction of CUDA in 2006/2007, NVIDIA made GPUs much more accessible for general-purpose computing beyond graphics. This helped turn graphics hardware into a platform for General-Purpose Computing on GPUs, or GPGPU. GPUs subsequently became widely used for training neural networks because they combine two major advantages: very high parallel computing performance and a mature software ecosystem built around CUDA, cuDNN, optimized libraries and direct support in frameworks such as PyTorch and JAX.
Modern data centre GPUs no longer consist solely of conventional CUDA cores. They also include specialized tensor cores that can execute matrix operations particularly efficiently. These units support reduced-precision numeric formats such as FP16, FP8 and even FP4. Although these formats offer lower precision than traditional 32-bit floating-point numbers, they can provide significantly higher throughput and greater energy efficiency. This is particularly important for large AI models.
The key characteristics of GPUs include:
- Massively parallel architecture with many computing units designed to perform similar operations on large volumes of data.
- High memory bandwidth, often provided by HBM memory in data centre GPUs.
- Tensor cores for particularly efficient matrix multiplication using reduced-precision numeric formats.
- Strong software ecosystem built around CUDA, cuDNN, optimized libraries and broad framework support.
- High flexibility for training, fine-tuning, simulations and a wide range of inference workloads.
GPUs are among the most versatile AI accelerators. They support both inference and compute-intensive model training, combining high throughput and memory bandwidth with a mature software ecosystem.
- New high-performance NVIDIA RTX PRO 6000 Blackwell GPUs available
- Unparallel performance for complex AI and data tasks
- Hosted in secure and reliable data centers
- Flexible pricing based on your usage
TPU (Tensor Processing Unit)
The TPU is an application-specific integrated circuit (ASIC), meaning a chip designed for a specific purpose. Google developed TPUs specifically for AI workloads, particularly the large matrix operations involved in training and running neural networks.
The main difference compared with a GPU is the degree of specialization. Despite its high level of parallelism, a GPU remains a relatively flexible processor designed to support a wide range of workloads. A TPU is more specifically optimized for tensor and matrix operations. This makes it less versatile, but allows it to perform certain AI computations particularly efficiently. The main benefits are higher throughput and greater energy efficiency per computation.
At the heart of the TPU architecture is the Matrix Multiply Unit (MXU), which uses a systolic array made up of many multiply–accumulate units. Data moves from one unit to the next in step with the clock, reducing the need to repeatedly write intermediate results to memory and read them back. This limits data movement, which can be just as important as raw computing power for AI accelerator performance.
TPUs are closely integrated with the Google ecosystem. Programs for TPUs are compiled into executable code for the hardware using XLA. While early TPUs were closely associated with TensorFlow, newer generations are also widely used with JAX and increasingly with PyTorch/XLA. TPU7x (Ironwood), for example, supports JAX and PyTorch but no longer TensorFlow. For external customers, TPUs are widely available as cloud resources through Google Cloud. Google is also expanding beyond its hosted cloud infrastructure to provide TPUs directly to selected enterprise customers for deployment in their own data centres.
The key characteristics of TPUs include:
- ASIC design for specialized AI workloads rather than general-purpose programmability.
- Systolic arrays for efficient matrix multiplication with reduced data movement.
- High throughput per watt for suitable tensor and matrix operations.
- Close integration with the Google Cloud ecosystem through XLA, JAX and PyTorch/XLA.
- Particularly well suited to large-scale training and inference workloads in the cloud.
NPU (Neural Processing Unit)
The NPU brings AI acceleration out of the data centre and directly onto the end device. Today, NPUs are integrated into smartphones, laptops, wearables and many embedded systems, including cameras, sensors and industrial equipment. Their aim is not to provide maximum computing power at any cost, but to enable local inference with the lowest possible power consumption. In other words, AI functions can run directly on the device without every request having to be sent to a data centre.
The key characteristics of NPUs include:
- Specialized accelerator block within a system-on-chip, alongside the CPU and GPU.
- Optimized for local inference rather than large-scale model training.
- Very low power consumption, making them suitable for mobile devices, battery-powered operation and applications where low heat generation is important.
- Typical use cases include image recognition, speech processing, live subtitles, camera effects, local assistant functions and smaller generative models.
Unlike data centre GPUs, NPUs are not primarily focused on peak performance measured in TFLOPS. A common performance metric is TOPS, or tera operations per second. This indicates how many trillions of simple arithmetic operations per second an NPU can perform. These figures usually refer to integer-based, highly optimized calculations, often using INT8 and, depending on the platform, even lower-precision formats.
LPU (Language Processing Unit)
The LPU is the most specialized type of accelerator. It addresses the challenge of latency-critical inference, which is particularly important for large language models. While training and the model’s prefill stage can be heavily parallelized, text generation itself is autoregressive. The model generates one token at a time, with each new token depending on the preceding context.
Parallel processing still takes place within each token step, as the model’s matrix operations can be distributed across many compute units. However, token generation itself remains sequential because each new token depends on the tokens generated before it. This shifts the bottleneck away from peak compute performance alone. For token-by-token generation, the speed at which weights, intermediate results and the KV cache move between memory, compute units and, where necessary, multiple chips becomes crucial. In conventional GPU systems, this can create a “memory wall,” where the compute units are fast enough but spend time waiting for data.
Groq is the most prominent example of this approach. In December 2025, NVIDIA entered into a non-exclusive licensing agreement for Groq’s LPU technology and hired several members of the Groq team. Groq remained an independent company, while GroqCloud continued to operate separately. In 2026, NVIDIA integrated the Groq 3 LPU into its Vera Rubin platform. The NVIDIA Groq 3 LPX rack combines 256 LPU accelerators and is designed to work alongside Vera Rubin NVL72 for latency-sensitive inference workloads. Depending on the configuration, GPUs and LPUs can handle different stages of inference, combining the flexibility and throughput of GPUs with the low-latency token generation of LPUs.
Groq’s LPU uses a very different architecture from conventional GPUs. Rather than relying heavily on external HBM memory, large caches and dynamic runtime scheduling, it uses large amounts of on-chip SRAM and deterministic, compiler-controlled execution. Data flows are planned in advance, making execution highly predictable and enabling individual requests to be processed with particularly low latency.
The key characteristics of LPUs include:
- Optimized for LLM inference rather than general-purpose training.
- Very low and highly predictable latency for token-by-token text generation.
- Large amounts of on-chip SRAM instead of a strong reliance on external HBM memory.
- Deterministic, compiler-controlled execution rather than dynamic runtime scheduling.
- Performance metrics such as output tokens per second and time to first token rather than only TFLOPS or TOPS.
The trade-off for this degree of specialization is reduced flexibility. An LPU is not a general-purpose training platform like a GPU, but is designed primarily for inference. It is particularly useful wherever language models need to respond quickly, such as in chatbots, voice agents, real-time assistants, agent systems or applications that make many short model calls in rapid succession. It primarily supports open-weight and other openly available models. As the models available on inference platforms can change rapidly, specific model IDs should be checked regularly. At present, Groq focuses particularly on GPT-OSS models and selected Qwen models.
How do GPUs, TPUs, NPUs and LPUs compare?
The four classes of AI accelerator cannot be compared solely on the basis of peak performance. What matters most is what each architecture is optimized for, whether that is maximum throughput during training, efficient cloud inference, on-device AI or particularly low latency for language models. The following table summarizes the key differences:
| Architecture | Latency | Throughput | Energy profile | Typical use |
|---|---|---|---|---|
| GPU | Medium to high for interactive LLM inference; heavily dependent on the model and batching | Very high; NVIDIA B200 approx. 9 PFLOPS dense FP4 per GPU or approx. 18 PFLOPS sparse FP4 with structured sparsity | High absolute power consumption; B200 up to approx. 1,000 W | Training, fine-tuning and flexible inference |
| TPU | Medium; optimized for large-scale cloud workloads | Very high; eighth-generation TPU 8t delivers up to 12.6 FP4 PFLOPS per chip, while TPU 8i delivers up to 10.1 FP4 PFLOPS per chip | High efficiency per unit of compute due to its ASIC design | Large-scale training and inference in Google Cloud and selected enterprise data centres |
| NPU | Low for local tasks because no cloud round trip is required | Low to medium; current AI PC NPUs typically deliver around 40 to 80 TOPS | Very energy-efficient; optimized for battery-powered devices and low heat generation | Local inference on smartphones, laptops and edge devices |
| LPU | Very low and highly predictable for LLM inference | Very high for token-by-token language model inference; dependent on the model, decoding method and provider | Designed for efficient LLM inference per generated token | Latency-critical language model applications such as chatbots, voice agents and agent systems |


