Apple Neural Engine

Also known as: Neural Engine

On this page 7

The Apple Neural Engine (ANE, often called simply the Neural Engine) is a dedicated neural processing unit built into Apple silicon that executes machine learning inference, chiefly the matrix and convolution operations of neural networks, at far lower power than the CPU or GPU. In macOS on Apple silicon Macs, it powers features such as Live Text, dictation, photo analysis and the on-device models behind Apple Intelligence.

Within the topic of Apple silicon & compatibility, the Neural Engine is one of the clearest hardware differences between Apple silicon and Intel-based Mac computers: Intel Macs have no Neural Engine, so features that depend on it are either slower, limited or unavailable on older hardware.

How the Neural Engine processes machine learning workloads

The Neural Engine works as a fixed-function accelerator for tensor arithmetic. Instead of running general instructions like a CPU core, it streams model weights and activations through arrays of multiply-accumulate units optimized for the operations that dominate neural networks: convolutions, matrix multiplications, normalization and common activation functions.

Because it sits on the same chip as the CPU and GPU, the Neural Engine reads data from the unified memory architecture without copying it across a separate bus. This shared memory pool reduces latency and lets one application move a model between compute units with little overhead, although the ANE still has its own internal buffers and preferred data layouts.

The engine favors low-precision number formats. It runs models natively in 16-bit floating point (FP16) and, on recent generations, accelerates 8-bit integer (INT8) arithmetic. Models trained in 32-bit floating point are converted to these formats, which halves or quarters memory traffic and is the main source of the engine’s efficiency.

The following table summarizes the main components that take part when an application runs a model on the Neural Engine.

ComponentRolePractical effect
Neural Engine coresExecute tensor operations in parallelHigh throughput per watt
Unified memoryHolds weights, inputs and outputsNo copies between CPU and accelerator
Core ML runtimeSplits the model and schedules each layerChooses ANE, GPU or CPU per operation
Model compilerConverts the model into an ANE-ready programFirst load is slower; later loads are cached
CPU and GPU fallbackRun operations the ANE cannot executeUnsupported layers cost speed and power
Components involved in Neural Engine inference

Neural Engine generations in Apple silicon

The Neural Engine first appeared in the A11 Bionic in 2017 as a two-core unit for Face ID and Animoji. It reached the Mac with the M1 in 2020, which carried a 16-core Neural Engine rated at about 11 trillion operations per second (TOPS). Every later M-series chip keeps a 16-core design in its base form, while Ultra variants double it by joining two dies.

Apple’s published figures are useful for orientation, but they are not strictly comparable across generations. The higher figure quoted for the M4 reflects INT8 throughput, while earlier figures are generally understood to describe FP16 work, so part of the jump comes from a change in how performance is measured.

ChipNeural Engine coresStated peak performance
M116About 11 TOPS
M1 Ultra32About 22 TOPS
M216About 15.8 TOPS
M316About 18 TOPS
M416About 38 TOPS (INT8)
Neural Engine in M-series chips as stated by Apple

Peak TOPS describes ideal arithmetic throughput, not the speed of a real application. Actual results depend on model architecture, precision, memory bandwidth and how many layers Core ML can keep on the Neural Engine without falling back to other units.

How the Neural Engine compares with the CPU and GPU

Apple silicon offers three compute units for machine learning, and each suits a different workload. The Neural Engine wins on energy per inference for supported models, the GPU wins on flexibility and large-batch throughput, and the CPU handles control logic, small models and unsupported operations.

UnitStrengthTypical useMain limitation
Neural EngineBest performance per wattBackground inference, vision, speechRestricted operations and formats
GPUFlexible, high memory bandwidthTraining, large language models, custom kernelsHigher power draw
CPUSupports every operationPre-processing, small models, fallbackLowest throughput for large tensors
Machine learning compute units in Apple silicon

This division explains why popular frameworks behave differently. Apple’s MLX framework and PyTorch with the Metal backend target the GPU, not the Neural Engine, because training and research code needs operations and precision the ANE does not provide. Core ML is the main route to the Neural Engine for shipped applications.

How macOS apps use the Neural Engine

Developers cannot program the Neural Engine directly, because Apple publishes no low-level instruction set or public driver interface for it. Access goes through Core ML and the higher-level frameworks built on it, such as Vision, Natural Language and Speech, which decide at runtime where each part of a model executes.

A developer converts a trained model with coremltools, optionally quantizes it, and sets the computeUnits option of the model configuration. The value .all lets Core ML pick freely, while .cpuAndNeuralEngine steers work toward the ANE and keeps the GPU free for graphics. Xcode’s Core ML performance report shows which unit runs each layer.

SituationRecommended settingReason
Always-on background feature.cpuAndNeuralEngineLowest energy use and less heat
App that also renders heavy graphics.cpuAndNeuralEngineLeaves the GPU for drawing
Model with unsupported layers.cpuAndGPUAvoids repeated hand-offs between units
General use with no constraint.allLets Core ML balance speed and power
Choosing a Core ML compute setting

Built-in macOS features rely heavily on this path. Live Text, Visual Look Up, Photos search, on-device dictation and parts of the Apple Intelligence model stack run locally, which keeps personal data on the Mac and lets features work without a network connection.

Limitations and common misconceptions

The Neural Engine is efficient only when a model fits its constraints. Practitioners repeatedly encounter the same issues when performance falls short of the published figures.

  • Unsupported operations force fallback: custom layers or unusual activations move to the CPU or GPU, and each switch adds latency.
  • Dynamic input shapes reduce efficiency, because the compiler prefers fixed or enumerated tensor sizes.
  • FP32 models are converted, so numerically sensitive models need validation after conversion to FP16 or INT8.
  • Activity Monitor does not show Neural Engine load; the command-line tool powermetrics reports ANE power instead.
  • More TOPS does not mean faster apps if the model is limited by memory bandwidth or by fallback layers.
  • Intel-based Mac computers and virtual machines do not expose a Neural Engine, so features that require it are unavailable there.

A frequent misunderstanding is that the Neural Engine trains models. In practice it is an inference accelerator; on-device personalization exists, but serious training on a Mac runs on the GPU.

In simple terms

The Apple Neural Engine is a small, specialized helper inside the chip of every Apple silicon Mac. Its only job is to run artificial intelligence tasks, such as recognizing text in a photo or turning speech into words.

Think of it as a calculator built for one kind of math. The main processor can do that math too, but slowly and with more battery drain. The Neural Engine does it quickly and quietly, so smart features feel instant and the Mac stays cool. Older Intel Macs do not have this helper, which is why some newer features work only on Apple silicon.

A practical example

A small accounting office scans about 400 paper receipts a week on a MacBook Air with an M2 chip. Its staff use a document app that extracts dates, totals and vendor names with a text recognition model running through Core ML on the Neural Engine.

Because the model runs on the ANE rather than the GPU, the laptop processes each receipt in well under a second, the fan-less machine stays cool, and the battery lasts a full working day. No receipt image leaves the computer, which simplifies the office’s data protection obligations.

When the same app ran on an older Intel-based Mac, recognition fell back to the CPU, took several times longer per page and noticeably drained the battery. The comparison shows the practical value of the Neural Engine: faster, private and energy-efficient on-device inference.