LLM GPU Benchmark

Free in-browser GPU speed test for AI. Measures real memory bandwidth and compute with WebGPU, runs an actual LLM to measure true tokens/sec, and predicts how fast Llama, Qwen, and Gemma will run on your hardware.

Advertisement

Benchmark Your GPU for AI Workloads

Spec sheets list theoretical memory bandwidth and FLOPS, but real LLM throughput depends on drivers, thermals, and how your browser exposes the GPU. This tool measures what your hardware actually delivers by running work directly on the device through WebGPU — no installs, no cloud.

What It Measures

  • Memory bandwidth — for token generation, decoding speed is bound by how fast weights can be streamed from VRAM, so bandwidth is usually the number that matters most.
  • Compute throughput — raw matrix-multiply performance, which dominates prompt processing (the prefill stage) and larger batch sizes.
  • Real tokens/sec — rather than estimating, it can run an actual small LLM in the browser and report measured generation speed, the closest thing to a true local benchmark.

Why Measured Beats Theoretical

A card rated for 1 TB/s rarely hits that in practice. Driver overhead, power and thermal limits, and the WebGPU path all shave off real-world performance. Measuring on your own machine captures those losses, so the result reflects what you'd genuinely see running a model locally.

When to Use It

  • Comparing two machines (laptop vs desktop, integrated vs discrete GPU) before deciding where to run models.
  • Sanity-checking whether a thermal or driver issue is throttling AI performance.
  • Validating an upgrade by benchmarking before and after.

To turn these numbers into a generation-speed estimate for a specific model, pair it with the LLM Inference Speed Calculator; to see which models fit your card at all, try What LLM Can I Run?.

Everything runs in your browser via WebGPU. No telemetry about your hardware is uploaded — the benchmark executes locally and the results stay on your device.

Reading Your Benchmark Results

The two numbers the quick test produces map directly to LLM behavior:

Memory bandwidth (GB/s) determines generation speed. A model generates one token by reading all of its active parameters from memory. At Q4_K_M quantization, an 8B model is about 5 GB of reads per token — so 500 GB/s of bandwidth gives you roughly 65 tokens/sec (after real-world efficiency losses). This is why the bandwidth gauge is the one to watch.

Compute throughput (TFLOPS) determines prompt processing speed. When you paste a long document, all of its tokens are processed in parallel — that workload saturates the math units rather than memory. Low compute = long waits before the first word of a response appears, even if generation is fast afterward.

The browser penalty: WebGPU measurements run 25-35% below what native software achieves on the same hardware. The "estimated native" figures and the predictions table account for this — they show what Ollama or LM Studio would actually deliver.

Why Run a Real Model Instead of Trusting the Quick Test?

The quick test measures your hardware's raw capabilities. The real model test (Stage 2) measures everything else that affects actual LLM performance:

Kernel efficiency: how well the inference engine's GPU code uses your specific architecture. Memory access patterns: real attention computation is less cache-friendly than a synthetic benchmark. Driver behavior: scheduling, power states, and thermal response under sustained load. The full pipeline: tokenization, sampling, and detokenization overhead.

The gap between your quick-test prediction and your real-model measurement tells you how much software efficiency matters on your system. A small gap means your hardware is well-supported; a large gap usually points to driver issues, thermal throttling, or an integrated GPU being used instead of your discrete one.

For the most accurate picture of a specific model you plan to run, nothing beats downloading it in Ollama or LM Studio and testing — but this benchmark gets you 90% of the answer in 2% of the time.

Advertisement

Frequently Asked Questions

How does an in-browser GPU benchmark work?+

Modern browsers expose your GPU through WebGPU, the successor to WebGL. The quick test runs compute shaders that read a large buffer (measuring memory bandwidth) and execute millions of fused multiply-add operations (measuring compute throughput). The real model test goes further: it loads an actual LLM into your GPU via the WebLLM library and generates text. Everything runs locally — no data leaves your machine.

Why does memory bandwidth matter more than compute for LLMs?+

Generating each token requires reading every active model parameter from GPU memory, but only doing about 2 math operations per parameter read. GPUs can do hundreds of operations in the time it takes to read one value, so the math units spend most of their time waiting for memory. Your bandwidth number divided by the model size (in bytes) is approximately your maximum tokens per second.

Why are browser results slower than Ollama or llama.cpp?+

WebGPU adds overhead: stricter security checks, less optimized kernels than hand-tuned CUDA/Metal code, and FP32-only compute paths in many cases. Browser inference typically achieves 60-75% of native performance. The benchmark accounts for this — the "estimated native bandwidth" and predicted model speeds are adjusted to reflect what you would get from Ollama, llama.cpp, or LM Studio on the same hardware.

Is the model download safe, and where does it go?+

The real-model test downloads open-weight models (Qwen, Llama, SmolLM) directly from Hugging Face — the same files everyone uses. Your browser caches them in its storage system (IndexedDB/Cache API), so repeat tests skip the download. You can clear them anytime via your browser settings (clear site data). Nothing is installed on your system.

Why does the benchmark need Chrome, Edge, or Safari?+

The benchmark requires WebGPU, which is fully supported in Chrome 113+, Edge 113+, and Safari 18+. Firefox has WebGPU support in progress (available in nightly builds). If your browser does not support WebGPU, you can still use our LLM Inference Speed Calculator, which estimates speed from your GPU's published specs instead of measuring it.

My measured bandwidth is much lower than my GPU's spec. Why?+

Several causes: 1) Browser overhead (expect 25-35% below spec — this is normal and accounted for). 2) Other tabs or apps using the GPU — close them and re-run. 3) Laptop power management — plug in and set performance mode. 4) On laptops with two GPUs, the browser may be using the integrated GPU instead of the discrete one — check your browser's GPU settings (chrome://gpu). 5) Thermal throttling on thin laptops.

What is a good score?+

For memory bandwidth (the number that matters most): under 100 GB/s (integrated graphics) — only small models run well; 200-500 GB/s (mainstream GPUs, Apple M-series) — 7-14B models run great; 500-1000 GB/s (high-end consumer: RTX 4080/4090, M-series Max) — 30B models are comfortable; 1000+ GB/s (RTX 5090, datacenter) — 70B models become practical. The predicted speeds table translates your exact number into real model performance.

This tool is provided for informational and educational purposes only. All processing happens in your browser — no data is sent to or stored on our servers. While we strive for accuracy, we make no warranties about the completeness or reliability of results.