Skip to content
    ↑↓ select↵ openesc close
    English中文
    npv12
    @npv12/opencode-tps

    OpenCode TUI plugin for viewing LLM Tokens Per Second (TPS) rates

    GitHub stars

    0

    Monthly installs

    51

    13 in 7 days

    Composite scoreSCORE

    29.6

    Multi-signal model

    Last commit

    24 days ago

    2026-07-26

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@npv12/opencode-tps@0.3.0"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    OpenCode TUI plugin that displays live TPS (tokens per second), average TPS, and average TTFT (time to first token) in the session prompt.

    Features

    • Live streaming TPS display in the session prompt
    • Average TPS across the session
    • Average time to first token (TTFT)
    • Updates in real-time as tokens stream

    Installation

    opencode plugin add @npv12/opencode-tps
    

    Or add to your opencode.json:

    {
      "plugins": {
        "@npv12/opencode-tps": {}
      }
    }
    

    Attribution

    This plugin is adapted from Tarquinen's oc-tps plugin repository.

    License

    MIT