Technical Explainer Performance & Benchmarks
What Is an NPU? CPU vs. GPU Differences and How to Read TOPS
From multiply-accumulate math to quantization and memory bandwidth: how on-device AI works
- Level: Intermediate
- ~16 min read
- 12 primary sources
An NPU is specialized silicon designed to run AI matrix math (multiply-accumulate operations) at low power. TOPS is an upper bound on operations under ideal conditions, not real-world speed. When choosing a device, check three things in order: (1) whether the AI feature you want runs on-device, (2) the TOPS conditions (precision such as INT8, and dense vs. sparse), and (3) for text generation, RAM capacity, memory bandwidth, TTFT, and tokens/s.
Who this helps
- Shoppers who want to know how to read NPU spec sheets before buying an 'AI smartphone' or 'Copilot+ PC'
- Readers wondering whether higher TOPS translates to faster photo editing or text generation
- Anyone preparing to run local LLMs on-device who wants to understand RAM and speed metrics
Decision checklist
- Check supported devices, OS versions, and regional availability for your desired AI feature first (having an NPU does not unlock unsupported features)
- Compare TOPS only when scope (NPU-only vs. combined), precision (INT8 vs. FP16), and density (dense vs. sparse) match
- Windows Copilot+ PC AI features require an NPU exceeding 40 TOPS
- For text generation, evaluate Time to First Token (TTFT) and generation speed (tokens/s) ahead of raw TOPS
Many chips do not publish NPU TOPS figures, so it is more reliable to compare them alongside sourced process node, GPU, and memory specs. Start by placing major chips side by side.
Compare A19 Pro vs. Snapdragon 8 Elite Gen 5Spec sheets for “AI smartphones” and “AI PCs” prominently highlight NPUs and TOPS numbers. How does an NPU differ from a CPU or GPU, and does a higher TOPS rating actually speed up photo enhancements or text generation?
The key is to break AI execution into three parts: computing, moving data, and assigning work. Below, we walk through the math NPUs are built for, followed by TOPS, quantization, memory bandwidth, and software support—pairing each equation with small illustrative calculations that are clearly separated from measured product figures.
30-Second Check: How Much Does an NPU Matter for Your Use Case?
First, verify how much an on-device NPU affects what you actually plan to do. The table below is an editorial guide synthesized from the cited sources, not product test results.
| Use case | Impact of on-device NPU | First metrics / conditions to check | Practical rule of thumb |
|---|---|---|---|
| Windows Copilot+ PC AI features | High | Official NPU TOPS | Requires an NPU exceeding 40 TOPS 1 |
| On-device photo enhancement & transcription | Medium–High | Supported devices, OS version, end-to-end completion time | Verify in official docs that the feature runs locally |
| On-device text generation (local LLM) | Medium | RAM capacity & bandwidth, TTFT, tokens/s | Weight size and memory bandwidth often cap generation speed 12 |
| Cloud-based chat AI & image generation | Low | Network connection, subscription / usage limits | Connectivity and plan terms matter far more than local NPU |
| Game frame rates | Low | GPU performance, sustained performance, cooling | Focus on GPU and thermals, not NPU |
-
Are the AI tools you use mostly cloud-based services?
YesCheck network speed and subscription terms rather than NPU
On-device TOPS has almost no effect on cloud wait times -
Do you want Windows Copilot+ PC AI features?
YesBrowse PC chips in the catalogRequires an NPU exceeding 40 TOPS (Source 1) -
Do you want to run text-generation AI (LLMs) locally?
YesCompare memory bandwidth (M4 vs. M5)Prioritize RAM capacity, bandwidth, TTFT, and tokens/s over TOPS -
Do you mainly use built-in phone AI like photo editing or transcription?
YesCompare flagship smartphone chipsCheck supported features and OS version; treat TOPS as secondary If AI is not a priority, choose based on CPU/GPU benchmarks, sustained performance, and battery life.
What Is an NPU? How It Differs from a CPU and GPU
NPU stands for Neural Processing Unit—dedicated circuitry designed to execute neural network workloads efficiently. On consumer devices, it is primarily used for inference: feeding photos, audio, or text into a trained model to classify, enhance, or generate output. Intel describes NPU designs around dedicated engines tailored for matrix multiplication and convolutions. Roles of CPU, GPU, and NPU (Source 6)
Three Processors Built for Different Strengths
CPUs handle diverse control logic, GPUs execute many computations in parallel, and NPUs focus specifically on supported neural network math. The table below outlines architectural focus, not a speed ranking on identical workloads. Architectural differences (Source 6)
| Processor | Design focus | Example role in AI apps | What to look for |
|---|---|---|---|
| CPU | Flexible execution of complex control and general instructions | App logic, input preparation, compatible inference | Low latency on small or irregular tasks |
| GPU | Parallel execution across many compute units | Matrix math, image processing, training & inference | Whether your model and runtime support it |
| NPU | Power-efficient neural network operations | Supported audio, image, and model inference | Supported ops/precisions and actual app usage |
Having an NPU does not make the GPU obsolete. In Apple’s Core ML, developers can inspect whether each operation executed on the Neural Engine, GPU, or CPU—meaning a single AI feature is often split across multiple processors. Core ML compute unit placement (Source 3)
Having an NPU Does Not Automatically Speed Up Apps
Software must explicitly target the hardware. Microsoft’s Copilot+ PC documentation notes that taking advantage of an NPU requires software support. When choosing a device, verify not just “has an NPU,” but whether the specific feature you want is supported on that device. Accessing the NPU (Source 1)
Why NPUs Excel at AI: Multiply-Accumulate and Matrix Math
Repeating “Multiply and Add” at Massive Scale
Neural networks rely heavily on multiplying input values by learned parameters called “weights” and summing the results. Grouping many inputs and outputs turns these calculations into matrix multiplication. NVIDIA’s documentation describes matrix multiplication as the foundation of many neural network operations. Matrix multiplication basics (Source 7)
With inputs 2 and 4 and weights 3 and 5:
2 × 3 + 4 × 5 = 26
Multiply each pair and sum the products. Real models repeat this across vast numbers of outputs combined with nonlinear transformations; this single equation alone cannot recognize a photo.
This pattern—multiplying two numbers and adding the result to an accumulator—is called a Multiply-Accumulate (MAC) operation. Rather than devoting silicon to general-purpose flexibility like a CPU, an NPU concentrates circuitry on executing structured operations like these efficiently. GPUs also feature matrix-acceleration units, so MAC acceleration is not unique to NPUs. NPU compute engines (Source 6) GPU matrix math (Source 8)
- Convert input to numbers
Format photos, audio, or text into numeric arrays matching the model.
- Fetch required data
Load model weights and intermediate values close to the compute units.
- Run MAC and other ops
Execute matrix multiplications and other operations on the assigned processor.
- Format usable output
Turn outputs into text, images, or classifications and return them to the app.
This diagram synthesizes Microsoft’s pre-processing / inference / post-processing diagnostic breakdown with matrix execution fundamentals. Speeding up only the NPU compute segment will not shorten end-to-end app response by the same percentage if wait time remains before or after it. Analyzing pipeline stages (Source 1)
What Is TOPS? Counting Operations and Comparison Conditions
TOPS stands for Tera Operations Per Second—trillions of operations per second. Official TOPS figures indicate how many operations a chip can perform under defined conditions, not how many times per second an app can run. What TOPS measures (Source 2)
MACs and Operations Are Not Counted 1-to-1
In multiply-accumulate math, multiplication and addition are often counted as separate operations. NVIDIA’s matrix multiplication guide counts one FMA (fused multiply-add) as 2 operations. Using that convention, here is how an idealized compute block’s rating is calculated. Counting operations (Source 7)
Assume 256 MACs per clock sustained at 1 GHz:
256 × 2 × 1 billion = 512 billion ops/sec
512 billion ÷ 1 trillion = 0.512 TOPS
The factor of 2 counts multiplication and addition separately. This assumes 100% compute utilization and zero data wait. For real products, always check the vendor’s definition and footnotes.
Align INT8, FP16, Dense, and Sparse Before Comparing
INT8 (8-bit integer) and FP16 (16-bit floating point) are different numeric formats. The exact same silicon yields different TOPS figures depending on data type. Likewise, sparse TOPS—which assumes zero-heavy sparse data—differs from dense TOPS. Qualcomm explicitly cautions readers to verify precision and sparsity when comparing TOPS. Dense vs. sparse TOPS (Source 2)
Also verify whether an “AI performance” figure refers to the NPU alone or sums CPU, GPU, and NPU together. Even when two numbers share the “TOPS” unit, differing scope, precision, or sparsity means they cannot be treated as a direct speed ratio.
| Footnote detail to check | Why it must match |
|---|---|
| NPU-only vs. combined platform total | Ensures you compare the same scope of hardware |
| Numeric precision (INT8, FP16, etc.) | Different precisions involve different math and accuracy |
| Dense vs. sparse | Distinguishes whether zero-skipping models/hardware are assumed |
| Theoretical peak vs. measured model run | Separates silicon ceiling from real app performance |
Published Specs of Major Chips: TOPS Is Often Undisclosed
Below are AI-related specs registered with primary sources in ChipLens. Values come directly from vendor announcements; entries marked as missing have no published value in verified documents or appear only with non-comparable caveats.
| Chip | Official NPU | Memory Type | Memory Bandwidth | Process Node |
|---|---|---|---|---|
| M4Apple Announced | 38 TOPS Source Official Neural Engine figure; numerical precision is not specified. | Unified memory Source Shared across CPU and GPU. Specific DRAM standard (e.g. LPDDR) is not stated in the cited document. | 120 GB/s Source Official bandwidth for the maximum configuration; not measured throughput. | 2nd-generation 3nm Source |
| M5Apple Announced | Not listed | Unified memory Source Shared across CPU and GPU. Specific DRAM standard (e.g. LPDDR) is not stated in the cited document. | 153 GB/s Source Official bandwidth for the maximum configuration; not measured throughput. | 3rd-generation 3nm Source |
| A19 ProApple Released | Not listed | Not listed | Not listed | Not listed |
| Snapdragon 8 Elite Gen 5Qualcomm Announced | Not listed | LPDDR5X Source | Not listed | 3nm Source Official generation name; foundry and sub-node details (such as N3P) are not listed. |
| Dimensity 9500MediaTek Announced | Not listed | LPDDR5X Source | Not listed | N3P Source |
| Tensor G5Google Announced | Not listed | Not listed | Not listed | 3nm Source |
As the table shows, only a subset of chips have a verifiable official NPU TOPS figure. Smartphone SoC announcements frequently quote relative gains (“X% faster than last generation”) without matching precision or scope. When TOPS is missing, focus on memory standard, memory bandwidth, and whether your desired AI features run on-device.
Three Reasons Higher TOPS Does Not Always Mean Faster AI
1. Waiting for Data from Memory
Compute units cannot execute if weights and inputs have not arrived yet. Memory bandwidth measures how much data can be moved per second. When data transfer cannot keep up with compute capacity, the workload is memory-bound. Compute vs. memory bounds (Source 8)
Simplifying a single compute stage lets us compare two times:
Compute time = Operations ÷ Compute throughput
Transfer time = Bytes moved ÷ Memory bandwidth
When compute and memory transfers fully overlap, the longer of the two dominates. Non-overlapped steps, launch overhead, and synchronization add further time.
How memory bandwidth caps text-generation speed
Suppose generating 1 token requires reading 4 GB of model weights once. At 100 GB/s memory bandwidth, reading alone takes 4 ÷ 100 = 0.04 seconds.
1 ÷ 0.04 = ~25 tokens/sec ceiling
No matter how fast the compute units are, this setup cannot easily exceed 25 tokens/sec. Real speeds also vary with KV-cache reads, caching, and batching.
This simplified model comes from NVIDIA’s GPU performance guide. While it cannot predict exact NPU runtimes on its own, it clearly explains why adding more compute units yields little gain when a workload is waiting on memory. Model assumptions (Source 8)
The deciding factor here is arithmetic intensity—the number of operations performed per byte of data moved. Reusing the same weights across many inputs raises useful work per byte transferred; reading huge weights for tiny bursts of math leaves peak TOPS idle. Arithmetic intensity and data reuse (Source 7)
2. Not Every Part of a Model Runs on the NPU
An AI model is structured as a compute graph connecting operations like matrix multiplications and activation functions. The runtime assigns each operation to capable hardware.
In ONNX Runtime, for example, Execution Providers (EPs) declare which operations or subgraphs they support. Because assignment depends on provider priority and operator coverage, even an NPU-enabled setup may not execute the entire model on the NPU. Execution Providers (Source 9)
When reading compatibility lists, look beyond chip model names to the model format, precision, and runtime version. For developers, checking per-operator placement and execution time—not just aggregate NPU utilization—is the essential next step.
3. The Accelerated Segment Is Only Part of Total Wait Time
Going from selecting a photo to displaying the final result also involves input preparation and output formatting. Here is what happens when only the NPU segment doubles in speed.
Suppose a 100 ms task consists of 40 ms of non-NPU work plus 60 ms of NPU work executed serially with no added overhead, and only the NPU portion is cut in half.
40 + 60 ÷ 2 = 70 ms
Wait time drops by 30%, giving an overall speedup of 100 ÷ 70 ≈ 1.43×. Note that this assumes actual NPU stage execution speed doubled—not merely that headline TOPS doubled.
In real comparisons, first inspect where total time is spent. Whether extra compute translates into a noticeable speedup depends on that breakdown.
What Is Quantization? Why INT8 and INT4 Save Memory—and the Trade-Off
Quantization maps model weights and activations to lower-bit representations. Using fewer bits reduces the memory needed to store the same number of parameters, at the cost of rounding error that can lose fine numerical distinctions. Quantization basics (Source 4)
Seeing Rounding Error in a Small Example
Suppose we represent 0.26 using integer codes spaced by 0.1 with a zero point of 0. Rounding 0.26 ÷ 0.1 to the nearest integer gives 3; dequantizing gives 3 × 0.1 = 0.3.
0.26 → integer code 3 → 0.30
The error here is 0.04. This corresponds to using a step size (scale) and reference offset (zero point). Real error depends on value distributions and the quantization scheme.
This mapping reflects ONNX Runtime’s linear quantization equation; real implementations also involve representable ranges, rounding rules, and per-tensor or group-wise settings. Linear quantization (Source 4)
Smaller Weights Are Not Total Required RAM
If 1 billion weights alone are stored uniformly at 4 bits each, they occupy 1 billion × 4 ÷ 8 = 500 million bytes (about 0.5 GB decimal), versus about 2 GB at 16 bits. That is a bit-count estimate for explanation—not the total RAM a real model needs.
At runtime, you also need quantization metadata, intermediate activations, and scratch buffers. Text generation additionally requires a KV cache holding previously computed token states. Never assume a model fits in RAM based solely on weight file size. Role of KV cache (Source 10) For choosing Mac memory capacity and bandwidth, see How Much Unified Memory Do You Need?; for smartphones, see RAM Expansion vs. Physical RAM.
Whether quantization improves speed also depends on the model and hardware. ONNX Runtime notes that quantization/dequantization overhead or missing instruction support can prevent speedups and affect output accuracy. Always verify memory footprint, speed, and output quality separately. Performance and accuracy caveats (Source 4)
Separate Generative AI Speed into TTFT and tokens/s
For large language models (LLMs), waiting for a response to start feels different from watching text stream out. MLPerf Client evaluates these separately via TTFT and tokens/s. LLM performance metrics (Source 11)
| Metric | What it measures | What it means to the user |
|---|---|---|
| TTFT (Time to First Token) | Time until the first output token appears | Wait before the reply starts; lower is faster |
| tokens/s | Average generation speed after the first token | How smoothly text keeps streaming; higher is faster |
| Total completion time | Time until the full output finishes | Total wait before a long summary or draft is ready |
A token is the text unit a model processes—not necessarily one character or one word. Tokenization varies across models and languages, so avoid converting tokens/s directly into character counts across different models. Token definition (Source 11)
Reading Input (Prefill) vs. Generating Output (Decode)
Standard autoregressive LLMs first process the entire prompt together (prefill), then generate subsequent tokens sequentially (decode), reusing prior state via the KV cache. Generation and caching (Source 10) Prefill and decode (Source 12)
NVIDIA’s analysis of dense attention separates batched prefill compute from KV-cache-heavy decode reads. However, optimizations like cache reuse and speculative decoding shift bottlenecks, so it is inaccurate to generalize that “text generation is always purely memory-bandwidth bound.” Scope and exceptions (Source 12)
If you summarize long documents into brief takeaways, TTFT dominates perceived speed. If you generate long drafts from short prompts, ongoing tokens/s matters much more. Choosing measurements whose input and output lengths match your workflow is far more useful than a single TOPS number.
TTFT vs. Generation Speed: Compare with a Quick Calculation
Assume the same model, prompt, and output length, with constant generation speed after the first token (omitting network or UI overhead) to see how the metrics interact.
| Illustrative setup | TTFT | Subsequent speed | Total time for 21 tokens | Total time for 201 tokens |
|---|---|---|---|---|
| A | 0.5 s | 20 tokens/s | 1.5 s | 10.5 s |
| B | 1.0 s | 40 tokens/s | 1.5 s | 6.0 s |
Completion time = TTFT + (Output tokens − 1) ÷ Generation speed
For Setup A at 201 tokens: 0.5 + 200 ÷ 20 = 10.5 seconds. Because TTFT already covers the first token, 200 tokens remain.
Setup A responds sooner, while Setup B finishes long outputs much faster. Depending on whether you prefer snappy short exchanges or long-form generation, each metric carries different weight. Since real generation speed is not always constant, check benchmarks with input and output lengths close to your own tasks rather than extrapolating from this formula alone.
Separate Throughput (“How Many”) from Latency (“How Long for One”)
Throughput measures total work completed per unit of time; latency measures wait time for a single request. Grouping multiple inputs via batching changes compute efficiency and data reuse, so high batched throughput does not equate to single-request responsiveness on a smartphone. Matrix size and data reuse (Source 7)
Always check batch size alongside model name. If you care about editing one photo at a time, images-per-second measured on a large batch does not tell the whole story. Likewise, confirm whether a reported tokens/s figure reflects a single user’s stream or aggregate throughput across concurrent requests.
How to Check NPU Performance: Buying vs. Developing
Before Buying: Align Feature, Conditions, and Output Quality
First verify device, OS, language, region, and subscription requirements for the AI features you care about. If a feature runs mainly in the cloud, on-device NPU TOPS cannot predict wait times. Confirm in official documentation whether processing happens locally.
When reading reviews, look for structured logs like the template below (an editorial checklist rather than measured product results).
| Use case | Inputs & settings to align | What to verify alongside speed |
|---|---|---|
| Photo enhancement | Same image, resolution, feature, export settings | Detail preservation, visual quality, total completion time |
| Speech transcription | Same audio, length, language, noise level | Recognition errors, proper nouns, total completion time |
| Text summary / generation | Model, precision, prompt length, output settings | TTFT, tokens/s, factual accuracy and instruction following |
When trying devices in a store, use identical non-personal sample inputs and separate the first run from repeated runs. Record device, OS, and app versions, power mode, charging state, ambient temperature, and session duration—never base a comparison on one cherry-picked run.
While Developing: Profile Where and How Long Models Run
- Windows (Copilot+ PCs, etc.): Inspect NPU utilization in Task Manager’s Performance tab. Developers can use the “Neural Processing” profile in Windows Performance Recorder to trace which processes used the NPU. Monitoring NPU usage (Source 1)
- Apple Core ML: Open a model in Xcode’s Performance tab, choose a target device and compute units, and inspect load time, inference time, and per-operation placement. Note that this report itself does not measure memory usage or power draw. Profiling steps (Source 3)
- Qualcomm AI Hub Workbench: Run an Inference job on supported devices and compare outputs against a reference implementation; profiling reveals latency, memory usage, and execution devices. Inference jobs (Source 5)
- Standardized PC LLM comparison: In benchmarks like MLPerf Client, align version, model, and task, and check mandatory quality metrics alongside speed. Do not use PC results as smartphone rankings. Benchmark scope and quality (Source 11)
Always log measurements together with the model, input, precision, runtime, timed interval, and repeat count. Separating “it runs on the NPU” from “the whole app got faster” makes real bottlenecks far easier to spot.
Display smoothness is separate from AI inference. See Frame Rendering Pipeline for frame deadlines, Why Android Feels Slow or Laggy for diagnosing sluggishness, and What “3nm” Really Means for interpreting process node names.
Frequently Asked Questions
Can I use AI features on a phone or PC without an NPU?
Yes—some AI workloads can run on the CPU or GPU, so certain features work without an NPU. However, features such as Windows Copilot+ PC capabilities require an NPU rated above 40 TOPS. Always check the feature's official requirements (supported device, OS, and region) rather than looking only at whether an NPU is present.
If TOPS is twice as high, will AI tasks finish twice as fast?
No. TOPS is a theoretical ceiling under ideal conditions. Real execution still includes time waiting for memory transfers, operations that cannot run on the NPU, and pre- or post-processing. For example, if the NPU takes 60 ms out of a 100 ms task, doubling NPU speed cuts total time to 70 ms (about 1.43× faster).
Does higher TOPS make AI answers more accurate?
TOPS measures compute throughput, not answer accuracy. Output quality depends on the model itself and quantization methods (such as INT8 or INT4). Benchmarks like MLPerf Client define quality requirements separately from speed.
Does an undisclosed NPU TOPS figure mean weak AI performance?
Not disclosing TOPS does not imply low performance; it simply means there is no official figure that can be compared on equal terms. Rely instead on lists of supported AI features and measured execution times using the same model and input. ChipLens displays TOPS only for chips with verified primary-source figures.
What specs matter when running a text-generation AI on a smartphone?
Separate Time to First Token (TTFT) from ongoing generation speed (tokens/s). Short interactive replies lean on TTFT, while long outputs lean on tokens/s. On the hardware side, RAM capacity to hold model weights and memory bandwidth to read those weights for every token are also critical.
Sources & Retrieval Dates
- [1]
- [2]
- [3]
- [4] ONNX Runtime — Quantize ONNX models
Retrieved
- [5]
- [6]
- [7]
- [8]
- [9]
- [10]
- [11]
- [12]