NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Token Rate Monitor

PLUGIN

Live output/input tokens-per-second chip in the Ulpi status bar for a local llama.cpp server.

by Lazzdaycod · v2.0.0

What it does

Live output/input tokens-per-second chip in the Ulpi status bar for a local llama.cpp server. The counter starts off — click the chip, or run the palette entry "Token Rate: start/stop the tok/s counter" (Ctrl/Cmd+K), to start it; the on/off flag is a file ($ULPI_HOME/cache/token-rate-state.json).

Tools it adds

The tools an agent gets once this plugin is installed.

  • get_token_rate

How to set it up

  1. Ulpi itself reads the server's log ($ULPI_HOME/logs/llama-server.log, last 200 lines: for output and for input) and serves it at /api/plugins/token-rate/; the chip polls that route once a second.

    tg = X t/s
    prompt eval time ... X tokens per second

More in Desktop

All listings →