{"package":"tokencost","ecosystem":"pypi","latest_version":"0.1.26","description":"To calculate token and translated USD cost of string and message calls to OpenAI, for example when used by AI agents","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://pypi.org/project/tokencost/","repository":"https://github.com/AgentOps-AI/tokencost","downloads_weekly":86555,"health":{"score":62,"risk":"moderate","breakdown":{"maintenance":10,"popularity":10,"security":25,"maturity":12,"community":5},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.1.26","total_count":29,"recent":["0.1.6","0.1.7","0.1.8","0.1.9","0.1.10","0.1.11","0.1.12","0.1.14","0.1.15","0.1.16","0.1.17","0.1.18","0.1.19","0.1.20","0.1.21","0.1.22","0.1.23","0.1.24","0.1.25","0.1.26"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":0,"first_published":null,"last_published":"2025-08-13T06:28:37.492144Z","dependencies_count":10,"dependencies":["tiktoken>=0.9.0","aiohttp>=3.9.3","anthropic>=0.34.0","pytest>=7.4.4; extra == \"dev\"","flake8>=3.1.0; extra == \"dev\"","coverage[toml]>=7.4.0; extra == \"dev\"","tach>=0.6.9; extra == \"dev\"","tabulate>=0.9.0; extra == \"dev\"","pandas>=2.1.0; extra == \"dev\"","python-dotenv>=1.0.0; extra == \"dev\""]},"github_stats":{"stars":1967,"forks":104,"open_issues":28,"is_archived":false,"pushed_at":"2025-09-05T08:10:10Z","subscribers_count":7},"bundle":null,"typescript":null,"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"0.1.26","version_hint":null,"summary":"tokencost@0.1.26 is safe to use (health: 62/100)"},"version_scoped":null,"requested_version":null,"_cache":"hit","_response_ms":0,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":20,"first_release_age_days":null,"last_release_days_ago":259,"avg_days_between_releases":null,"release_velocity":"moderate"}}