Decision Workspace
llm-cost-cap vs llm-budget vs model-router
Side-by-side comparison of Rust crates
41
llm-cost-cap
experimentalv0.1.0
Pre-flight USD cost gate for LLM calls. Estimate input plus output cost from token counts and reject calls that would exceed a configured cap.
57
llm-budget
experimentalv0.2.0
Hard USD spend limits for LLM agents: per-agent and fleet caps, real per-model prices, kill switch, automatic model downgrade
54
model-router
experimentalv0.2.0
Cost-aware LLM routing core: per-model pricing tables, USD budget tracking, and task-class routing with fallback chains.
Core Metrics
| llm-cost-cap | llm-budget | model-router | |
|---|---|---|---|
| Health Score | 41 | 57 | 54 |
| Total Downloads | 28 | 52 | 1.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 1 | 0 |
| Releases | 1 | 3 | 6 |
| Last Updated | 138d ago | 6d ago | 23d ago |
| Age | 4m | 7m | 1m |
Health Breakdown
llm-cost-cap
Maintenance
6
Quality
16
Community
7
Popularity
2
Documentation
10
llm-budget
Maintenance
19
Quality
14
Community
7
Popularity
2
Documentation
15
model-router
Maintenance
15
Quality
14
Community
6
Popularity
4
Documentation
15
Technical Details
| llm-cost-cap | llm-budget | model-router | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 2 | 20 | 9 |
| Crate Size | 9KB | 58KB | 57KB |
| Features | 2 | 7 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •llm-budget leads with a health score of 57/100, but none of the options score above 80.
- •model-router has the most downloads (1.2K), suggesting wider adoption.