rime speedtest
Measure time-to-first-byte (TTFB) for configured environments. The command sends a TTS request to each endpoint and reports the latency, so you can pick the fastest endpoint from your network as your default. Each test request is a real synthesis request made with your API key.
Flags
Behavior
- No flags: tests all configured environments
--urlalone: 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
--yesto skip the prompt and switch automatically.
Example output (single run)
Example output (--runs 3)
--runs 3 or more before switching your default on a small difference. 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
rime uninstall
Remove the Rime CLI binary, configuration, and shell PATH entries. For a shell-script install, the command lists what it will remove and asks for confirmation before deleting anything.
Flags
If you installed via Homebrew, the command removes nothing and prints
brew uninstall rime-cli for you to run instead.
