{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "dingooz-llm-visuals--watch-local-llama-server-live",
 "repo": "DingoOz/llm-visuals",
 "repo_url": "https://github.com/DingoOz/llm-visuals",
 "repo_slug": "dingooz-llm-visuals",
 "title": "Watch tokens per second and TTFT on a local server",
 "page_title": "How to watch tokens per second and TTFT on a local server with LLM Visuals",
 "summary": "Attach the dashboard to a running llama-server and see tok/s, time to first token and GPU load update live.",
 "who": "A developer running llama.cpp locally who wants to know how fast a model answers and whether the GPU is the bottleneck.",
 "problem": "A local server gives no live view of speed, latency or GPU use, so tuning a model setup is guesswork.",
 "outcome": "A terminal dashboard that shows tokens per second, time to first token, GPU utilisation and memory for the server while a request runs.",
 "steps": [
  "Install a Rust toolchain (1.75 or newer), then run `git clone https://github.com/DingoOz/llm-visuals`.",
  "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. (inferred, check the README)",
  "Run `cargo run --release` in the repo folder so the dashboard detects the running server.",
  "Press `r` to rescan if the server is not listed, then send a prompt and watch tok/s, TTFT and the GPU panels update."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dingooz-llm-visuals/watch-local-llama-server-live/",
 "md": "https://dedupedai.com/use-cases/dingooz-llm-visuals/watch-local-llama-server-live/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/dingooz-llm-visuals--watch-local-llama-server-live.json",
 "api_version": "v1"
}
