DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to watch tokens per second and TTFT on a local server with LLM Visuals

Attach the dashboard to a running llama-server and see tok/s, time to first token and GPU load update live.

Short answer: Install a Rust toolchain (1.75 or newer), then run git clone https://github.com/DingoOz/llm-visuals; then run cd llm-visuals and then cargo run --release -- --demo to confirm the layout renders with synthetic data; start your model with metrics enabled, for example llama-server --metrics, using the flag the README shows as llama-server.exe --metrics on Windows. All steps.

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

  1. Install a Rust toolchain (1.75 or newer), then run git clone https://github.com/DingoOz/llm-visuals.
  2. Run cd llm-visuals and then cargo run --release -- --demo to confirm the layout renders with synthetic data.
  3. Start your model with metrics enabled, for example llama-server --metrics, using the flag the README shows as llama-server.exe --metrics on Windows. (inferred, check the README)
  4. Run cargo run --release in the repo folder so the dashboard detects the running server.
  5. Press r to 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer