llm-cost-cap
v0.1.0 ExperimentalPre-flight USD cost gate for LLM calls. Estimate input plus output cost from token counts and reject calls that would exceed a configured cap.
Quick Verdict
- !Pre-1.0: API may have breaking changes
- โTiny footprint (9KB, 2 deps)
- โPermissive license (MIT)
Security
Deep Insights
6 downloads in the last 30 days (0/day), up 500% from the previous period.
The primary maintainer publishes 176 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 9KB, llm-cost-cap is lightweight. Small crate size correlates with focused, well-scoped functionality.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on llm-cost-cap