﻿# Surface Laptop 7: a bounded Phi-4 NPU versus CPU comparison

A dated owner report compares Foundry Local NPU generation with CPU GGUF variants. Keep quantization, timer scope and missing energy evidence explicit.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/surface-laptop-7-phi4-npu-cpu-generation-comparison/
Language: en

## A dated owner measurement compares generation paths

In a 27 May 2025 [first-person discussion report](https://github.com/ggml-org/llama.cpp/discussions/8273), a Surface Laptop 7 owner compares Phi-4-mini-reasoning through a Foundry Local NPU endpoint with llama.cpp CPU variants. For 128-token generation, the reported rates are 19.52 ± 0.12 tokens per second on NPU, 36.33 ± 0.27 for CPU Q4_0 and 19.05 ± 1.33 for CPU Q8_0. The author could not establish the NPU artifact's precise quantization.

The result is useful evidence about those application paths. It does not isolate the processor as the only changed factor: runtime, artifact format and quantization differ together. A ranking within this comparison should remain attached to those variants rather than becoming a universal statement about Snapdragon NPU versus CPU arithmetic.

## The timer does not establish prompt-processing performance

The owner measures the additional time taken to generate more tokens. Small detokenization overhead remains, prompt-processing throughput is unavailable, and power consumption was not measured. These limitations prevent reconstructing a complete request-energy comparison from the generation table.

The [official llama-bench reference](https://github.com/ggml-org/llama.cpp/blob/master/tools/llama-bench/README.md) separately defines prompt-processing, generation and combined tests, and excludes tokenization and sampling from its own measurements. The owner's endpoint program is a different measurement procedure. Similar labels do not prove identical timer boundaries, and the reported plus/minus values should not be relabeled as a particular confidence interval without its definition.

For a user waiting on a long input, faster generation alone may not identify the fastest complete request. A local comparison should measure the full sequence from accepted input to completed output while retaining phase measurements that explain it. The [benchmark guide](/journal/inference-benchmark-method/) provides the relevant reporting framework.

## Preserve the selected artifact instead of only its alias

[Microsoft's current Foundry documentation](https://learn.microsoft.com/en-us/windows/ai/foundry-local/get-started) explains that a model alias can select a compatible hardware variant. The [official ONNX card](https://huggingface.co/microsoft/Phi-4-mini-reasoning-onnx) also distinguishes optimized runtime artifacts from the original model. These sources explain why a family name alone is insufficient to reconstruct a historical execution path; they do not independently reproduce the owner's results.

A follow-up record should retain full variant identity, runtime build, quantization information when available, and the actual device selected. An unresolved precision detail should remain unresolved. Inferring bits from download size would add assumptions about metadata, compression and which components were included.

## Speed does not reveal battery savings

No energy conclusion follows from the lower NPU generation rate. Lower throughput can coexist with lower or higher energy per useful answer, depending on elapsed time and whole-system power. A separate reading in a different discussion about another model would not supply the missing measurement for this experiment.

The [energy guide](/journal/measuring-energy-per-inference/) explains how to preserve that boundary. A replication should keep request lengths and output behavior comparable, record power mode and alternate runs so changing system conditions are visible. This article reviewed the original owner comment and primary tool documentation. It did not rerun the test, identify the historical NPU precision or establish a thermal, battery or efficiency advantage.
