macOS
brew install toktoplocal Homebrew formula metadata
安装
brew install toktoplocal Homebrew formula metadata
概览
LLM usage monitor in terminal
历史
toktop is a small terminal dashboard for monitoring OpenAI and Anthropic token usage and costs. Its own README frames it as "htop but for llm tokens", placing it in the recent wave of developer tools that turn cloud AI spend into a live terminal workflow.
The official repository is a compact Rust project with a README, Cargo metadata, and a short changelog. The changelog records early 0.1.x releases in November and December 2025, with work focused on cost API fixes, chart rendering, filtering, grouping by model or API key, and richer usage summaries.
Available history is limited to the official project repository and package metadata. Homebrew carries the tool as `toktop`, and the upstream README documents `cargo install toktop --locked`, so adoption appears centered on Rust/Cargo and Homebrew users who want terminal-native LLM account monitoring.
The README documents running `toktop` after setting `OPENAI_ADMIN_KEY` and `ANTHROPIC_ADMIN_KEY`, passing an env file with `toktop -e .env`, or letting the program prompt for API keys. In package-manager terms, it is a single executable meant to sit beside other terminal observability tools.
For package nerds, toktop is interesting less as infrastructure history and more as a marker of a new CLI niche: local, terminal-first accounting for metered LLM APIs. Its packaging surface is intentionally small: one binary, MIT license, Cargo install path, and a Homebrew formula.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
toktop | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/htin1/toktop
安装元数据
| 软件包键 | brew:toktop |
|---|---|
| 版本 | 0.1.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/toktop |
| 主页 | https://github.com/htin1/toktop |
| 仓库 | https://github.com/htin1/toktop |
| 上游文档 | https://github.com/htin1/toktop#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/htin1/toktop/archive/refs/tags/v0.1.5.tar.gz |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | toktop |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.