Skip to content
    ↑↓ select↵ openesc close
    ashcdev-hub

    Oc Model Speed

    oc-model-speed·v0.1.2·UI & Themes

    TUI sidebar panel showing time to first token and tokens per second for the current session

    GitHub stars

    0

    Monthly installs

    422

    422 in 7 days

    Composite score

    36.1

    Multi-signal model

    Last commit

    5 days ago

    2026-09-30

    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": ["oc-model-speed@0.1.2"]
    }

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

    A collection of opencode TUI sidebar plugins. Each panel is a small, standalone plugin published as its own npm package, so you can install only the ones you want.

    Package Panel Shows
    ocgo-usage-tui OCGO Usage OpenCode Go rolling (5h), weekly and monthly limits, with time until each resets
    oc-session-context Session Context Context window used this session, the model's limit, and session cost
    oc-model-speed Model Speed Time to first token (TTFT) and tokens per second for the latest turn
    OCGO Usage
    Rolling  █░░░░░░░░░░░░░░░    3%  2h19m
    Weekly   █░░░░░░░░░░░░░░░    3%  6d4h
    Monthly  ███████████░░░░░   69%  5d23h
    
    Session Context
    █████░░░░░░░░░░░░░░░░░░░ 42%
    86,120 of 200,000 / $0.42
    
    Model Speed
    TTFT 1.2s
    TPS  25.3
    

    Requirements

    • opencode 1.18 or newer
    • For the usage panel, an OpenCode Go subscription connected in opencode with /connect

    Install

    Install any panel with opencode plugin, which installs the npm package and adds it to your tui.json:

    opencode plugin ocgo-usage-tui --global
    opencode plugin oc-session-context --global
    opencode plugin oc-model-speed --global
    

    Restart opencode; each panel appears in the sidebar.

    Configure

    Each panel has a few settings at the top of its source file. See the panel's own README for the options:

    Development

    This is a bun workspace; the packages live in packages/.

    bun install
    

    There is no build step: each plugin ships as a single .tsx file that opencode loads directly. The workspace devDependencies exist only so editors resolve the plugin API types.

    To run a panel from a local checkout instead of the published package, point tui.json at its folder:

    {
      "$schema": "https://opencode.ai/tui.json",
      "plugin": ["/absolute/path/to/opencode-sidebars/packages/ocgo-usage-tui"]
    }
    

    ~ is not expanded here, so use an absolute path.

    Publishing

    Releases are published to npm by .github/workflows/publish.yml when a v* tag is pushed. Each package is published only if its version is not already on the registry, so bump the version of the package(s) you changed before tagging.

    License

    MIT

    Similar plugins