In this article
LocalMode makes browser-runtime measurements auditable, but identical model families, verified submissions and fast chunk delivery do not establish identical computation or usable output.
LocalMode Bench compares in-browser inference across WebLLM, wllama, Transformers.js, LiteRT and Chrome Built-in AI, with MediaPipe embedding measurements also represented in its dataset. Its useful contribution is a common trace and reporting framework across real consumer devices. The comparison remains a runtime-and-model-build experiment: sharing a weights family does not guarantee identical quantization, rendered prompts or execution backends.
The trace defines what speed means
The current methodology identifies protocol localmode-bench/5. Browser time to first token includes tokenization, prefill, the first decode step and scheduling. Decode uses delivery timestamps after the first chunk, with characters per second as the headline and token counts computed afterward. Approximate prompt tokens divided by first-token time are labeled prefill; this is not isolated kernel timing.
A runtime that finishes generation internally and flushes chunks at the end cannot support a meaningful streaming decode rate from those gaps. LocalMode gates incremental-stream metrics and reports an end-to-end rate for such output. This is a concrete reason to inspect traces before interpreting an extremely high decode number. The guide to benchmark timing scope explains the broader denominator problem.
Cold and warm loading have different boundaries
The preload path differs by provider: one can time download-to-cache while another also initializes an engine. The methodology therefore combines load with separately recorded warmup when comparing first-inference readiness. Clearing provider caches also does not clear every browser-wide store or the HTTP disk cache.
Resolved backend labels matter as well. A requested GPU lane can fall back to CPU or WASM. The dataset notes explain an earlier LiteRT label that inferred GPU availability rather than observing the engine actually used. New comparisons should retain the captured backend, model revision and runtime version instead of grouping every requested WebGPU path as successful GPU execution.
Public data includes corrections and failure evidence
The dataset repository retains raw runs, quarantined submissions, control experiments and native baselines separately. Leaderboard rows keep protocol versions separate and remain provisional until enough submissions satisfy the stated rule. Repeated submissions do not establish an equal number of independent devices or users; the observation-unit guide explains that statistical distinction.
The maintainer notes document twelve excluded cells from eleven RTX 3080 Ti runs after a LiteRT Qwen model file changed. The exclusion concerns affected quality and warm-load cells, rather than deleting every measurement in those runs. File caching made run date alone insufficient to identify which weights were used. This is why artifact identity belongs alongside timing evidence.
A valid timing cell can still produce bad answers
The same notes disclose incoherent SmolLM2 output on the Galaxy Z Fold 7 llama.cpp WebGPU lane. A length-based output gate allowed most affected iterations through. Those timings describe an executing backend, while the saved text shows that its answers were unusable. Optional fidelity checks and raw outputs must therefore be read with the speed row.
Another documented limit is the Llama chat template’s changing local date. That can alter greedy output across days even without changing model files. Runtime-native templates also differ between engines. For a tightly controlled new study, pin the rendered prompt and check outputs before assigning a speed difference solely to execution machinery.
Memory samples are browser-attributed measurements at protocol points, not a complete physical-VRAM time series. Their absence or modest size cannot establish whole-device memory use. LocalMode supports a traceable comparison when these boundaries remain visible; a single leaderboard winner cannot summarize all browser hardware, model builds and response-quality conditions.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.