Local LLM Benchmark Tracker

A local model's speed is not one number - it is a fingerprint of the model, the quantization, the hardware and the runtime working together. This tracker is a logbook: record each benchmark run with its measured tokens per second, prompt-processing speed and memory use, and it turns your scattered test results into repeatable side-by-side comparisons you can actually make decisions from.

Private by design. Your runs are stored in this browser's localStorage on your own device. Nothing is uploaded, logged or sent to a server - clear the log and it is gone.

Record a benchmark run

Start from a model preset and a hardware preset (or type your own), then enter the numbers your runtime reported. llama.cpp prints both speeds in its startup summary; Ollama exposes them via /api/ps and its logs; LM Studio shows them in the server console.

For unified-memory Macs, enter the GPU's share of system memory.

Measured performance - the numbers that matter:

Output tokens per second (llama.cpp's eval time figure).

Prompt / prefill tokens per second (llama.cpp's prompt eval time figure).

Highest VRAM (or system RAM for CPU runs) observed, including KV cache.

Your benchmark log

Filter, sort and scan your runs. Click a column header to sort; the best generation speed, prompt speed and lowest peak memory are highlighted across the visible runs.

Date Model / quant Hardware Context Gen t/s Prompt t/s Peak mem 1k tokens in Prompt in

Compare selected runs

Tick up to four runs above (first ticked run is the baseline). The table shows each metric's percentage difference against it - green is faster or lighter, red is slower or heavier.

Take the numbers with you

Download the full log as CSV for a spreadsheet, keep a JSON backup before you clear browser data, copy a Markdown table into a blog post or issue, or share a link that opens this page pre-loaded with your runs.

What a local LLM benchmark run actually measures

Every inference run has two distinct phases with different bottlenecks. Prompt processing (prefill) reads your entire input in one parallel pass - it is compute-bound and usually runs several hundred to several thousand tokens per second on a modern GPU. Generation then produces the reply one token at a time, each step loading the model's weights from memory - it is bandwidth-bound and typically lands between 5 and 60 tokens per second depending on how much of the model fits in VRAM. Recording only one of the two numbers hides half the picture: a setup that processes prompts at 4,000 t/s but generates at 8 t/s feels instant when you paste text and painfully slow while it writes; the mirror image is common with CPU-offloaded layers.

Memory use deserves its own column because it is the number that decides whether your next experiment is even possible. Peak memory is the model weights at their quantized size, plus the KV cache for your chosen context length, plus runtime overhead - and it grows as you raise the context or add more models to a router. A run that peaks at 9 GB of 12 GB leaves room for a bigger context; one peaking at 11.8 GB will crash the moment you do.

How the derived numbers are calculated

The two right-hand columns convert your measured speeds into real-world times so you can answer "how long will this actually take?" without running it again:

ColumnFormulaWhat it tells you
1k tokens in1000 ÷ generation t/sWall-clock time to generate a 1,000-token reply (about 750 words of prose)
Prompt inprompt length ÷ prompt t/sTime to process a prompt of the length you set (default 2,048 tokens) - the delay before the first token appears

The prompt length is adjustable in the table header row's note; change it to match your real workload (a RAG assistant feeding 16K-token prompts wants a different number than a chatbot). The comparison panel works the same way: percentage deltas are computed against the baseline run you tick first, with direction-aware colouring - for peak memory, a lower value is good.

How to use this tracker

  1. Pick your model preset (or type the model name), choose its quantization, and set the context length you actually ran with. Pick a hardware preset if it matches your machine - it fills GPU, VRAM, CPU, RAM and backend in one click.
  2. Enter the three measured numbers: generation tokens/s, prompt-processing tokens/s, and peak memory. Keep the runtime, batch size and offload settings that produced them in the notes field - they are the variables you will change next time.
  3. Add the run. It appears in the log immediately and persists in this browser between visits, so your logbook grows one entry per experiment.
  4. When you have several runs of the same model on different hardware (or the same hardware with different quants), tick them for comparison. The delta table answers "is the 4090 really worth it over my 3060 for this specific model?" in one glance.
  5. To re-test after a driver update or a new offload split, hit Duplicate on the old run - the form prefills with identical hardware and model so the only thing that changes is what you are testing.
  6. Export when it matters: CSV for a spreadsheet, JSON before you clear browser data, Markdown for a write-up, or the share link to send a colleague your exact log.

A worked example

Suppose you are choosing between two machines for an Llama 3.1 8B Q4_K_M chatbot at 8,192-token context. You record both runs:

  • RTX 3060 12 GB / i5-12400F / 32 GB RAM, Ollama: 24.1 t/s generation, 1,850 t/s prompt, 9,400 MB peak.
  • RTX 4090 24 GB / Ryzen 7 5800X / 64 GB RAM, llama.cpp CUDA: 38.6 t/s generation, 5,900 t/s prompt, 8,900 MB peak.

The derived columns do the rest: a 1,000-token reply takes about 41 seconds on the 3060 but 26 seconds on the 4090; a 2,048-token prompt takes 1.1 seconds versus 0.35 seconds. The comparison panel shows +60% generation and +219% prompt speed for the 4090 - and peak memory is nearly identical (8,900 MB vs 9,400 MB), which tells you the extra VRAM is not being wasted on a bigger KV cache at this context. That last observation is what separates a benchmark log from two isolated numbers: it tells you where the next experiment should go (raise the context until one of them runs out of memory) instead of just which card is faster today.

Common mistakes when benchmarking local LLMs

  • Recording a single run. The first generation after load includes warm-up; thermal throttling creeps in on long runs. Take the steady-state number from at least a few hundred generated tokens, and if two runs of the same setup differ by more than ~5%, average them or note the variance.
  • Comparing different context lengths. KV cache size scales with context, so peak memory and (on tight VRAM) speed both shift. Log the context you ran with and keep it identical across runs you intend to compare - that is why it is its own column here.
  • Mixing backends in one comparison. Ollama, llama.cpp and vLLM manage batching, offloading and KV quantization differently; a 15% "speed difference" between machines may be a backend artifact. Put the runtime in every record and compare like against like.
  • Ignoring prompt speed for RAG or long-document work. If your workload pastes 8K-token documents on every turn, prefill dominates perceived latency even when generation is fast. That is why this tracker records both speeds as first-class numbers.
  • Forgetting what changed between runs. Driver version, batch size, -ngl layer offload count, KV cache quantization - any of these moves the numbers. The notes field exists so that "run 12 was faster" means something next month.
  • Benchmarking the demo prompt, not your workload. A 20-token test prompt measures almost nothing about a system whose real prompts are 4,000 tokens. Set the "Prompt in" estimate length to your actual typical prompt size and judge the time you will really live with.

Privacy

This tool is entirely client-side. Your run records live in localStorage in your own browser, the comparison math and exports all run in JavaScript on your machine, and no request to this page carries any of your data. There is no account, no analytics on your inputs, and no server-side retention - "Clear all runs" or clearing site data removes everything.

Related tools

The rest of the local-LLM planning workflow:


Luke Keam
Spot a bug or want a custom utility built? I'd love to hear from you. Get in touch
Luke Keam | techgeek.biz