BigHugger
GH Repository · AgentOps-AI

tokencost

Easy token price estimates for 400+ LLMs. TokenOps.

stars
2,008
30-day movement
+21/day
Related entries
60
Connections
1
tokenizationtokenpythonprice-trackerpriceopenaiobservabilityotherlarge-language-modelsllmclaudePythonanalytics

tokencost is a Python library from AgentOps-AI that provides token price estimates for over 400 LLMs, including OpenAI and Claude models. It is MIT-licensed and positioned as a TokenOps tool for cost tracking.

You reach for it when you need to estimate LLM token costs across many models without manually maintaining pricing tables.

Use it to

  • Estimate prompt and completion costs per model
  • Compare pricing across 400+ LLMs
  • Add cost tracking to LLM applications
  • Support observability and analytics pipelines

For Developers building or monitoring LLM applications

Role
other
Language
Python
Licence
MIT
Forks
106
Open issues
19
Last push
2025-09-05
Latest release
0.0.1 · 2023-12-26
topicsllmtoken-costpricingobservabilitypythonanalytics