Skip to main content

rime speedtest

Measure time-to-first-byte (TTFB) for configured environments. The command sends a TTS request to each endpoint and reports the latency.

Flags

--url forwards your configured API credentials to every supplied URL. Use it only with endpoints you trust. The CLI also prints this warning at runtime.

Behavior

  • No flags: tests all configured environments
  • --url alone: tests only the specified URLs and skips the config environments
  • --env + --url: tests both the named envs and the extra URLs
  • After the test completes, if the fastest environment differs from the current default, the CLI prompts you to switch. Use --yes to skip the prompt and switch automatically.

Example output (single run)

Example output (--runs 3)

When --runs is greater than 1, the JSON output includes ttfb_min_ms and ttfb_max_ms fields in addition to ttfb_ms (mean).

rime usage

Display daily character usage per model, Coda included. The table has one column for each model with usage in the window plus a Total column. Cloud and on-prem usage are summed per day, and a footer shows the split when both appear. Days are UTC. Per-model history begins 2026-04-01, so earlier days show 0.

Flags

A range cannot exceed 90 days. The global --json flag prints the per-day records unchanged: each day carries a breakdown list of {model, environment, charCount} entries, and a day with no usage has an empty list.

Example output

The same two days as CSV:

rime uninstall

Remove the Rime CLI binary, configuration, and shell PATH entries. The command detects whether you installed the CLI via Homebrew or the shell script and prints instructions for that install method.

Flags

If installed via Homebrew, the command prints brew uninstall rime-cli instead of performing removal directly.