Decision Workspace
promptbudget vs token-budget-pool vs slash-tokens
Side-by-side comparison of Rust crates
44
promptbudget
experimentalv0.1.0
Token-budget-aware text truncation with multiple strategies. Bring-your-own tokenizer, no hard tiktoken dep.
48
token-budget-pool
experimentalv0.1.0
Shared token + dollar budget across concurrent LLM tasks. Thread-safe, returns BudgetExceeded when a record would push past a cap. Zero deps.
45
slash-tokens
experimentalv0.0.2
Token budget estimation in 4.8 KB WASM. Sub-millisecond. Zero dependencies.
Core Metrics
| promptbudget | token-budget-pool | slash-tokens | |
|---|---|---|---|
| Health Score | 44 | 48 | 45 |
| Total Downloads | 18 | 21 | 36 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 2 |
| Last Updated | 65d ago | 58d ago | 102d ago |
| Age | 2m | 1m | 3m |
Health Breakdown
promptbudget
Maintenance
9
Quality
15
Community
6
Popularity
2
Documentation
12
token-budget-pool
Maintenance
10
Quality
15
Community
6
Popularity
2
Documentation
15
slash-tokens
Maintenance
12
Quality
15
Community
6
Popularity
2
Documentation
10
Technical Details
| promptbudget | token-budget-pool | slash-tokens | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.0.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 8KB | 8KB | 1KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.75 | 1.74 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •token-budget-pool leads with a health score of 48/100, but none of the options score above 80.
- •slash-tokens has the most downloads (36), suggesting wider adoption.