Who it is forA developer running llama.cpp locally who wants to know how fast a model answers and whether the GPU is the bottleneck.
The problemA local server gives no live view of speed, latency or GPU use, so tuning a model setup is guesswork.
The outcomeA terminal dashboard that shows tokens per second, time to first token, GPU utilisation and memory for the server while a request runs.
What you need first
- Rust toolchain 1.75 or newer
- A C compiler, needed by the bundled SQLite used for --log-db
- A locally listening llama-server for throughput panels (the demo mode needs none)
- nvidia-smi for NVIDIA GPU panels, xpu-smi for Intel, the amdgpu driver for AMD, or macmon on Apple silicon
Steps
- Install a Rust toolchain (1.75 or newer), then run
git clone https://github.com/DingoOz/llm-visuals. - Run
cd llm-visualsand thencargo run --release -- --demoto confirm the layout renders with synthetic data. - Start your model with metrics enabled, for example
llama-server --metrics, using the flag the README shows asllama-server.exe --metricson Windows. (inferred, check the README) - Run
cargo run --releasein the repo folder so the dashboard detects the running server. - Press
rto rescan if the server is not listed, then send a prompt and watch tok/s, TTFT and the GPU panels update.
Prompt for your agent
Using the repo DingoOz/llm-visuals, run `cargo run --release` against a llama-server listening on <server-port> with metrics enabled. Expected output: a dashboard listing that server with live tokens per second and time to first token while a request runs. Verify the model name and port shown match the server you started.
Caveat. Throughput panels need a locally listening llama-server, and GPU panels depend on the vendor tool for your hardware, so a machine without these shows only part of the dashboard.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for DingoOz/llm-visuals and "Watch tokens per second and TTFT on a local server"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer