Want to know how fast your laptop, desktop, or phone can run AI models locally? This guide shows you how to measure real inference performance directly in your browser, no installs, no cloud APIs, no setup.
Why Benchmark Local AI?
Running LLMs on your own machine gets you privacy, no network round trip and no API bill. The hardware decides the speed: a $500 laptop and a $3000 workstation can be ten times apart. Without benchmarking, you're guessing.
Key metrics that matter for local AI:
- Decode speed (tokens/sec): how fast the model generates text. This is what you feel as "typing speed" in a chat.
- Prefill rate (tokens/sec): how fast the model processes your input prompt. Matters for long documents.
- Time to first token (TTFT): latency before the model starts responding. Lower is snappier.
What is WebGPU Benchmarking?
WebGPU is the modern browser API that gives web apps direct access to your GPU. Unlike WebGL (designed for graphics), WebGPU supports general-purpose compute, exactly what LLM inference needs.
A WebGPU benchmark runs a real AI model (like Llama 3 or Qwen 3) on your actual hardware through the browser. No simulation, no estimation, real tokens generated by a real model on your real GPU/NPU.
TokenMark is the first standardized WebGPU benchmark for LLMs. It uses consistent model versions, prompt lengths, and scoring methodology so results are comparable across devices.
How to Run the Benchmark
- Open TokenMark: Visit tokenmark.app/bench in Chrome, Edge, or any WebGPU-supported browser.
- Select a tier: Mobile (1.7B params, ~1.5GB), Desktop (8B params, ~5.7GB), or Extreme (70B params, ~40GB). Pick the largest one your device can handle.
- Click "Run Benchmark": The model downloads once (cached for future runs), then runs inference. Takes 30-90 seconds.
- Get your score: TokenMark gives you a single comparable score plus the raw metrics (decode t/s, prefill t/s, TTFT).
- Compare on the leaderboard: See where your device ranks against Apple Silicon, NVIDIA RTX, AMD Ryzen AI, Snapdragon X, and more.
What Do the Scores Mean?
| Score Range | Tier | Real-World Feel | Example Hardware |
|---|---|---|---|
| 0-20 | Entry | Usable but slow, ~1-2 words/sec | Integrated GPUs, older phones |
| 20-50 | Capable | Comfortable chat speed | M1/M2 Mac, RTX 3060, Snapdragon 8 Gen 3 |
| 50-100 | Fast | Faster than most cloud APIs | M3 Pro/Max, RTX 4070+, Strix Point |
| 100+ | Elite | Near-instant, production grade | M3 Ultra, RTX 4090/5090, multi-GPU |
Supported Devices & Browsers
WebGPU is supported on Chrome 113+, Edge 113+, and Safari 18+ (macOS Sequoia / iOS 18). Firefox support is experimental behind a flag.
Hardware that works well with TokenMark:
- Apple Silicon: M1, M2, M3, M4 (all variants)
- NVIDIA: RTX 3000, 4000, 5000 series
- AMD: Ryzen AI 300 (Strix Point/Halo), RDNA 3/4
- Qualcomm: Snapdragon X Elite/Plus, Snapdragon 8 Gen 3+
- Intel: Arc GPUs, Lunar Lake with NPU
Tips for Accurate Results
- Close other GPU-heavy tabs (YouTube, games, other AI tools)
- Plug in your laptop, battery mode throttles GPU
- Run the benchmark 2-3 times and take the best score (first run includes model warmup)
- Use Chrome or Edge for best WebGPU performance
Ready to benchmark?
Run TokenMark now and see where your device ranks on the global leaderboard.
Run Benchmark →