Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Benchmarking local LLM inference on an AI accelerator means measuring a defined model and workload under controlled conditions, then reporting both responsiveness and capacity. The most useful run separates prompt processing from token generation and records time to first token (TTFT), inter-token latency, end-to-end latency, throughput, and tail percentiles. A single tokens-per-second figure is not enough to tell you whether a system feels responsive or can serve several users.

This guide shows how to design a repeatable benchmark for a GPU or other accelerator you already own. It covers workload design, local tools, metrics, load sweeps, run records, and the limits of comparing different accelerator platforms.

What should a local LLM benchmark answer?

Start with the decision you need to make. A benchmark for one person using a coding assistant has a different objective from a benchmark for a local service handling many concurrent requests.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Interactive responsiveness: prioritize TTFT and inter-token latency at low concurrency. These determine how quickly an answer starts and how smoothly it streams.
  • Single-user generation speed: emphasize output-token throughput after the prompt has been processed.
  • Service capacity: measure aggregate output tokens per second and completed requests per second as concurrency or request rate rises.
  • Efficiency: measure power or energy per output only when the meter, sampling interval, and scope are consistent across systems.

Google Cloud notes that deployment performance depends on processing queries while remaining responsive, while its accelerator guidance also distinguishes theoretical hardware characterization from model-level benchmarking. Do not use a peak hardware specification as a substitute for a workload result.

Popular on Amazon
Silkland 40Gbps USB C 90 Degree Right Angle Adapter 2 Pack, 240W USB4 | Male to Female Extender, 8K@60Hz, Thunderbolt 4/3, Steam Deck, ROG Ally, MacBook, Switch 2, iPhone 18/17/16/15, Quest 3 VR
  • 【90 Degree Full Function USB C Adapter】Supports the latest USB4 standard for up to 40Gbps of bandwidth, 8K video support, and up to 240W Fast charging; Support USB PD 3.1 Extended Power Range (EPR) including 140W, 180W and 240W. Your productivity is easily doubled. *Warm Tip: For the best fit, please make sure the USB-C port is fully exposed; thick or bulky cases may affect compatibility.
  • 【Reliable Quality】Made from high-quality, scratch-resistant aluminum alloy, delicate metal frame. get excellent wear resistance and heat dissipation. Non-Slip Design for easier insertion and removal.
  • 【Small and portable】Ultra thin size, ultra compact design, a petite physique that matches the minimalist design of your modern laptops. Coming with a slim figure that won't block the port next to the one it's plugged into.
  • 【Compatibility】Widely work with most usb c, thunderbolt 4/3 devices. Compatibilit for ROG Ally, Steam Deck, Switch, MacBook Pro, Quest 3 VR headset, Surface Book 2, iPhone 18/17/16/15, Samsung Galaxy S23/S22/S21, Note 20/10, Google Pixel, ChromeBook, etc.
  • 【Excellence Customer Support】If you experience any issues or cable failure, simply reach out to our dedicated customer service team. We provide a prompt response within 18 hours, providing you with the necessary technical support to resolve any concerns.

Write the decision as a sentence before running anything, such as: “For a 7-billion-parameter quantized model, which configuration gives the lowest P95 TTFT for one user?” or “At what concurrency does this server stop meeting a 2-second P95 TTFT target?” Every later setting should support that question.

How do prompt processing and token generation differ?

Prompt processing (often called prefill) reads the input context and builds the state needed for generation. Token generation (decode) then produces output tokens one at a time. They stress hardware and software differently, so combining them into one average can conceal the behavior a user experiences.

  • TTFT: elapsed time from request submission until the first output token arrives. Input length, queueing, batching, and the serving path all affect it.
  • Inter-token latency (ITL) or time per output token (TPOT): the average interval between generated tokens. Lower values mean a faster streaming cadence.
  • End-to-end latency: from request submission to the final output token. It includes queueing, prompt processing, generation, and any transport overhead.

For a simple request, a useful approximation is:

end-to-end latency ≈ TTFT + (number of output tokens − 1) × ITL

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The exact relationship depends on how a tool defines timestamps and whether the first token is included in its interval calculation. Always publish the tool, version, and definition with your result.

How do I lock the workload before comparing accelerators?

Hold the workload constant so that the accelerator, rather than an accidental change in the test, explains the difference. Record the exact model identity and file, quantization, context setting, prompt and output lengths, sampling parameters, and concurrency.

  1. Name the model precisely. Include the architecture, parameter scale, revision or commit where available, file format, and quantization. “A 7B model” is not sufficient if two files use different architectures or quantization levels.
  2. Choose input and output lengths. Use fixed synthetic lengths when isolating engine behavior, or a named dataset with a preserved configuration when modeling real traffic. Do not silently truncate prompts that exceed the context window.
  3. Fix context and sampling. Record maximum context length, temperature, top-p or other sampling controls, stop conditions, and whether speculative decoding or other acceleration features are enabled.
  4. Define the request pattern. State whether requests are sequential, concurrent, or sent at a controlled arrival rate. For concurrency tests, specify the exact number of in-flight requests at each step.
  5. Keep prompts repeatable. Reuse the same prompt set, or generate prompts with a documented length distribution and random seed. AMD’s ROCm vLLM guidance demonstrates both dataset-driven and fixed-length synthetic runs and recommends fixing the prompt distribution.

Change one tuning variable at a time while diagnosing a result. If model, quantization, batch size, and runtime all change together, you cannot attribute an improvement to the accelerator.

Which local benchmark tool should I use?

Choose a tool that matches the question. Engine microbenchmarks are useful for isolating phases; serving benchmarks are necessary for user-facing latency and queueing.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Also popular on Amazon
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

llama.cpp llama-bench for phase-isolated engine runs

The llama-bench documentation provides prompt-processing (pp) and text-generation (tg) workloads. Its output includes average tokens per second and standard deviation, along with system, backend, model, and run parameters.

Use it when you want a controlled comparison of prompt processing versus generation inside the llama.cpp engine. Treat the result as an engine benchmark: backend, batch settings, prompt and generation lengths, and build options all affect it. It does not automatically represent the experience of an online service with queues and network or API overhead.

vLLM for fixed-length or dataset throughput runs

The vLLM benchmark interface documents vllm bench throughput for synthetic fixed input/output lengths or a dataset. Run the command supplied by the version you installed and use its help output to confirm option names, because flags and defaults can change.

A fixed-length run is useful for controlled scaling studies. A dataset run is more representative when prompt lengths vary. For a service question, use vLLM’s serving-oriented benchmark path rather than treating an offline throughput result as request latency; send requests at specified concurrency or request rates and collect request-level timing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

AMD’s ROCm vLLM optimization guide includes throughput and profiling examples. Its advice is tied to the stated ROCm and vLLM versions, so do not promote a platform-specific setting to a universal recommendation.

GenAI-Perf for application-facing latency and throughput

GenAI-Perf is designed for LLM application endpoints and reports metrics such as TTFT, end-to-end latency, ITL, tokens per second, and requests per second. It is appropriate when the API path, batching policy, and request scheduling are part of what you are measuring.

Do not combine numbers from different tools without checking definitions. The NVIDIA benchmarking concepts overview warns that tools can calculate similarly named metrics differently.

Also popular on Amazon
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Which metrics should I record?

Report a group of metrics instead of a single score. At minimum, include the following for repeated requests and identify whether each value is per user or aggregate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Metric What it tells you How to interpret it
TTFT Time until the first output token Primary responsiveness measure; affected by prompt length, queueing, and serving overhead
ITL / TPOT Average interval between generated tokens Streaming cadence after the first token
End-to-end latency Submission to final token Total wait for a completed response
Output-token throughput Generated tokens per second Report per request for a user view or aggregate for a system view
Request throughput Completed requests per second Useful for service capacity at a stated load
P50, P95, P99 latency Median and tail behavior Shows whether a fast average hides slow requests under load

For concurrent tests, include the latency distribution at every load step. A configuration that has the highest peak tokens per second may be a worse choice if its P95 TTFT or P99 end-to-end latency violates your target.

How do I run a controlled benchmark?

Use the following sequence for each accelerator configuration. Run the same sequence again after changing one controlled variable.

  1. Record the baseline. Save accelerator model and count, host CPU, system memory, operating system, driver, runtime and backend versions, model file and quantization, and context limit.
  2. Prepare a clean environment. Pin the inference runtime and benchmark tool version. Record build flags and relevant environment variables. Ensure the model is fully loaded on the intended accelerator and note any offloaded layers or fallback devices.
  3. Warm up the runtime. Discard an explicitly documented number of warm-up requests so model loading, kernel compilation, memory allocation, and cache initialization do not contaminate the measured runs. Keep the warm-up policy identical across configurations.
  4. Run phase-isolated measurements. If using llama-bench, run both its pp and tg workloads with fixed lengths. Save the raw output, including averages and standard deviations.
  5. Run representative requests. Use your fixed prompt set or named dataset. Capture request start, first-token, and final-token timestamps when the tool exposes them. Preserve generated output length or the stop policy so throughput denominators are known.
  6. Repeat enough times for a distribution. Use repeated requests rather than one sample. Report the number of requests and calculate P50 plus tail percentiles such as P95 and P99 when the tool supports them.
  7. Sweep load deliberately. For a service, increase concurrency or request rate in documented steps. Stop only after recording the point at which throughput flattens, queues grow sharply, or the latency objective is missed.
  8. Save raw artifacts. Keep command lines, configuration files, logs, metric output, and the exact model identifier with the summary table. A future reader should be able to distinguish a tool change from a hardware change.

How should I sweep concurrency and batching?

Start at one request, then increase concurrency or arrival rate using a fixed sequence appropriate to your service. At each step, allow the system to reach a comparable steady state, collect the same number of observations, and record throughput and latency together.

Plot output tokens per second and requests per second against concurrency. Add TTFT, ITL, and end-to-end P50/P95/P99 on a second plot or table. The useful operating point is often before maximum throughput: after queueing begins, a small capacity gain can impose a large tail-latency penalty.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Batching controls can change this trade-off. The AMD ROCm guide specifically recommends sweeping --max-num-batched-tokens in its documented vLLM scenario while measuring TTFT, ITL, and TPS together. Treat that as version- and platform-specific guidance; the same setting may behave differently with another runtime, model, or accelerator.

What should the run record contain?

A compact run record prevents misleading comparisons months later. Include:

Also popular on Amazon
BENFEI USB C Hub 5-in-1 with 4K HDMI(Certified), 100W Power Delivery, 3 USB-A, Silicone Cable, Aluminum Case Compatible with MacBook Pro/Air, iPad Pro, iMac, iPhone 15 Pro/Pro Max, XPS, Thinkpad
  • Portable and powerful USB-C HUB: BENFEI USB Type-C HUB, with super-soft and knot-free silicone woven design cable, meets most mobile office needs. Compact, lightweight, stylish, and powerful portable USB C Hub equipped with 1 x HDMI port, 1 x 100W charging, and 3 x USB ports. 18-month warranty, 24-hour response, to ensure you feel at ease when using our product.
  • Design centered on comfort and reliability: Thanks to BENFEI's end-to-end in-house cable production capability, in-house PCBA and assembly capability, using the industry's most advanced silicone woven design and process, 20cm cable in length, no knots, super-soft, the HUB is easy to use in all scenarios: laptop, tablet, stand etc. Super-soft, 25000+ life cycles, to meet your daily carrying and office needs.
  • 100W Charging: Support up to 90W USB C pass-through charging via Type-C port to keep your laptop powered. 10W is reserved for other interface operations. No data and video function on the Type-C port.
  • 4K HDMI Display: The HDMI port supports media display at resolutions up to 4K 30Hz, keeping every incredible moment detailed and ultra vivid. Please note that the C port of the Host device needs to support video output.
  • Transfer Files in Seconds: Transfer files and from your laptop at speeds up to 10 Gbps with USB A 3.2 port. Extra 2 USB A 2.0 ports are perfectly for your keyboards and mouse.
  • Hardware: accelerator model, count, memory capacity, host CPU, system RAM, and any partitioning or multi-device placement.
  • Software: operating system, driver, accelerator runtime, inference engine and version, benchmark tool and version, build options, and relevant environment variables.
  • Model: repository or file identifier, revision, architecture, parameter scale, quantization, tokenizer, context length, and whether weights were split or offloaded.
  • Workload: prompt source, prompt-length distribution, output-length target or stop rule, sampling parameters, dataset configuration, concurrency or request rate, and batch limits.
  • Method: warm-up count, repetition count, timing scope, cooldown policy, random seed where applicable, and whether output verification was enabled.
  • Results: TTFT, ITL/TPOT, end-to-end latency, output-token throughput, request throughput, P50/P95/P99, standard deviation where reported, and raw result-file location.
  • Resources: utilization and memory observations, plus power or energy only when the meter, sampling interval, averaging window, and included components are stated.

The Red Hat PSAP methodology guide provides a broad example covering workload profiles, multiple accelerators and runtimes, concurrency, latency percentiles, resource utilization, runtime version, and quantization. The llama-bench output format is a narrower example of embedding hardware, backend, model, benchmark parameters, averages, and standard deviation in the result.

How can I compare two accelerators fairly?

Keep model architecture, model file, quantization, prompt and output lengths, context, runtime path, and inference goal the same whenever possible. Then disclose every platform-specific optimization rather than presenting the result as raw hardware superiority.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Compare along five axes:

  1. Responsiveness: TTFT and per-user ITL/TPOT at low concurrency.
  2. Capacity: aggregate output tokens per second and requests per second at a stated load.
  3. Tail behavior: P95 and P99 latency as concurrency increases.
  4. Efficiency: power or energy per output only when measured with the same method and scope.
  5. Fit and constraints: model and quantization support, memory capacity, context requirements, backend maturity, and tuning effort.

Google Cloud’s accelerator benchmarking documentation states: “Avoid relying exclusively on advertised specs (like FLOPS or HBM bandwidth), as they can be misleading and unachievable in real-world settings.” Model architecture and platform co-design can change observed tokens per second, so a benchmark is a snapshot of a particular model, scale, software stack, and platform—not a universal ranking.

When configurations cannot be made identical, label the result as a qualified comparison. For example, a different quantization, context length, or backend kernel may explain the observed gap as much as the accelerator itself.

What common benchmark mistakes invalidate a result?

  • Quoting only tokens per second: this omits first-token wait, streaming cadence, queueing, and tails.
  • Mixing prompt and generation phases: a long prompt can lower an overall average while generation remains fast, or vice versa.
  • Changing several variables: different models, quantizations, runtimes, or prompt lengths prevent attribution.
  • Comparing offline and online tests: an engine throughput run does not include the same scheduling and request overhead as a serving benchmark.
  • Ignoring queueing: peak throughput at high concurrency may be unusable when P95 TTFT exceeds the application target.
  • Reporting unspecified power: board power, whole-system power, and energy per request are different measurements.
  • Hiding fallback or offload: CPU layers, memory swaps, or unsupported operators can dominate latency.
  • Omitting versions: driver, runtime, engine, and kernel changes can alter results without any hardware change.
  • Generalizing one workload: a fixed 128-token prompt and a long-context chat workload exercise different bottlenecks.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How do I interpret an unexpected result?

First verify the run record and phase metrics, then isolate the likely bottleneck.

  • If TTFT rises while ITL is stable, inspect prompt length, queueing, prefill batching, and input processing.
  • If TTFT is stable but ITL worsens, inspect decode kernels, memory bandwidth, batch size, and contention from concurrent requests.
  • If offline throughput is high but service latency is poor, compare request scheduling, queue time, transport overhead, and output-length distributions.
  • If one accelerator performs unusually poorly, check backend support, unsupported operations, model placement, driver/runtime compatibility, and whether a platform-specific optimization was omitted.
  • If results vary widely between repetitions, look for thermal or power limits, background workloads, dynamic frequency changes, memory pressure, or an inconsistent warm-up policy.

Repeat the smallest experiment that can distinguish these explanations. For example, hold concurrency at one and vary only prompt length to separate prefill cost from decode cost; then hold lengths fixed and vary concurrency to expose queueing and batching behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What does a publication-ready benchmark table look like?

Use a table that exposes the conditions rather than hiding them behind one score. A useful row names the accelerator configuration and includes model, quantization, prompt/output lengths, concurrency, runtime version, TTFT P50/P95, ITL, end-to-end P50/P95, output tokens per second, request throughput, and any power-measurement scope. Add a footnote with the exact metric definitions and a link to the raw result file.

Also popular on Amazon
𝟒𝐏𝐚𝐜𝐤 𝐔𝐩𝐠𝐫𝐚𝐝𝐞𝐝 USB to USB C Adapter,Type-C Female to A Male Charger Converter for iPhone 18 Charger,iWatch Ultra SE 9 10,iPhone 17 Pro Max 16 15 14,Samsung S25,AirPods,iPad,Car,Xbox
  • 【Read before You Buy】 Note: This adapter is USB 2.0 version and cannot transmit HDM, VGA, or other video signals. Nevertheless, they are fully capable of charging devices,duplicating files, and can be seamlessly integrated with USB-C earphones, wireless network adapters, and SD card adapters.
  • 【Easy to Use and Safe】Thanks to modern manufacturing techniques, we've made these adapters sufficiently compact so that they can remain inserted in your device without noticeable protrusion or inconvenience. This means you don't have to constantly plug and unplug them, reducing the likelihood of wear and misalignment, and making them more convenient to carry around.
  • 【Reliable Quality】Engineered for enhanced durability, durable aluminum alloy shell material,get excellent wear resistance and heat dissipation,the male USB C and female USB connectors & the male USB and female USB C connectors are designed to be plugged and unplugged up to 20000 times. Provides data transfer, device charging, memory space expansion, and additional computer peripherals.
  • 【Think more for you】Do you need to connect a USB-C-enabled device to an odd device that only has USB-A ports? Then these USB-A male to USB-C female adapters are made for you.Simply insert the adapter into the USB-A port on the device, and you can instantly connect your USB-C device to the device that originally didn't have the correct connection port.
  • 【Trusted xiwxi Quality and Service】As a responsible brand seller, you will receive xiwxi's 12-month Quality assurance and lifetime friendly customer service, you're not just buying a product,you're investing in peace of mind with all-round quality and exceptional customer service.

For phase-isolated engine results, provide separate rows or columns for prompt-processing tokens per second and text-generation tokens per second, plus standard deviation and repetition count. For online tests, provide one row per load level so readers can see where throughput saturates and tails expand.

What is the practical definition of a good benchmark?

A good benchmark is reproducible, workload-specific, and honest about scope. It answers a stated decision, keeps the model and workload fixed, separates prompt processing from generation, reports latency and throughput distributions, and records enough hardware and software metadata to explain differences later.

Use the result to choose a configuration for the intended workload—not to declare one accelerator universally fastest. The same device can be excellent for a short interactive prompt, mediocre for long-context prefill, and preferable for a concurrent service only after platform-specific tuning.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

How many requests should a local LLM benchmark run?

There is no universal count because variance depends on the runtime, workload, and load level. Use enough repeated requests to calculate stable median and tail percentiles, and publish the repetition count, warm-up policy, and any discarded samples so another reader can judge statistical confidence.

Should I benchmark with real prompts or synthetic prompts?

Use synthetic fixed lengths when isolating hardware or engine behavior, and a named real dataset when modeling production traffic. A strong study uses both: fixed lengths for controlled diagnosis and a preserved dataset configuration to show how varied prompt lengths affect user-facing latency.

Can I compare a quantized model with its full-precision version?

You can measure them as separate configurations, but the result is not an accelerator-only comparison. Report architecture, quantization, memory placement, quality-related settings, and all latency and throughput metrics, then describe the trade-off rather than treating the faster quantized run as a pure hardware win.

Why is my first request much slower than later requests?

The first request may include model loading, memory allocation, kernel compilation, graph capture, or cache initialization. Use a documented warm-up phase and report whether those startup costs are excluded; if cold-start time matters to your application, measure it separately instead of mixing it with steady-state latency.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of December 6, 2026 10:01 am GMT.