← Plugins

Sail Research Usage

Shows Sail Research credit balance, spend, and inference tokens in Paseo's native Usage view

$ paseo plugin add panosjee/sail
Sail Research Usage screenshot 1

Shows a Sail Research organization's credit balance, spend, and total inference tokens in Paseo's native Usage view, beside the other provider accounts.

How it works

Paseo asks the plugin for a usage report and the plugin reads the Sail API key from the daemon environment or from the Sail login on the same machine. It makes one read-only request to the production Sail usage endpoint and maps the response to a balance and detail rows. No background job runs and nothing is cached on disk.

Setup

Use one of two credential sources:

  1. Set SAIL_API_KEY in the environment that starts the Paseo daemon.
  2. Sign in with Sail on the same machine, which writes auth.toml and config.toml under ~/.sail (or $SAIL_HOME). The stored login must target https://api.sailresearch.com in prod mode; a staging or self-hosted login is refused before a request is sent.

The key is reread on every refresh, so rotating it does not require restarting Paseo. The plugin supports macOS, Linux, and Windows wherever the Paseo daemon runs, and requires Paseo 0.18.2 or newer.

What it shows

The credit balance is the organization's current balance in USD. Spend covers the range Sail actually returns for the request, and the card labels that range; Sail may shorten a thirty day request, for example to seven days for a free organization. The details also show inference spend, Sailbox spend, and total inference tokens. Negative balances stay negative, an unavailable balance is marked unavailable while spend and tokens remain visible, and an organization with no billing account is identified instead of showing zeroed figures.

Data and limits

The plugin sends the API key in an Authorization header to https://api.sailresearch.com and receives the organization's usage summary. It does not send prompts, tool output, or local session data, and it does not write to Sail or to the login store. It reads no files beyond auth.toml and config.toml under the Sail home. Redirects are rejected, response bodies are never shown in errors, and the key is never logged.

One account is shown per daemon host. There is no organization picker, no per-session attribution, and no history beyond the range Sail returns.

Related plugins

Browse all plugins →