tokencost v0.1.26
pypiTo calculate token and translated USD cost of string and message calls to OpenAI, for example when used by AI agents
Updated
View on PyPI →
Version
0.1.26
14d ago
License
MIT License
14d ago
Weekly Downloads
N/A
Dependencies
10
14d ago
Required Runtime
>=3.10
14d ago
Deprecated
No
14d ago
Weekly downloads
Release activity
1 release tracked. Last release: 14 days ago.
v0.1.26
current
v0.1.26
Mar 22, 2026
Last changed
| Field | Change | When |
|---|---|---|
| required_runtime | (none) → >=3.10 | 14d ago |
| deprecated | (none) → false | 14d ago |
| latest_version | (none) → 0.1.26 | 14d ago |
| dep_count | (none) → 10 | 14d ago |
| license | (none) → MIT License | 14d ago |
Use it
REST API
$ curl
https://api.grounded-api.dev/v1/pypi/tokencost/latest_version
{ "value": "0.1.26" }
CLI
$ npx grounded-cli tokencost
tokencost@0.1.26 (pypi)