AgentOps-AI/tokencost
Easy token price estimates for 400+ LLMs. TokenOps.
This tool helps AI application developers and budget managers estimate the cost of using Large Language Models (LLMs). It takes your LLM prompts and completions and outputs an estimated cost in USD. This is ideal for anyone building AI-powered applications or managing the expenses associated with their use.
1,952 stars. Used by 2 other packages. No commits in the last 6 months. Available on PyPI.
Use this if you need to accurately predict and track the expenses of integrating various LLMs into your applications or services.
Not ideal if you're not actively working with LLM APIs and don't need to monitor their associated costs.
Stars
1,952
Forks
103
Language
Python
License
MIT
Category
Last pushed
Sep 05, 2025
Commits (30d)
0
Dependencies
3
Reverse dependents
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/AgentOps-AI/tokencost"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
jmuncor/tokentap
Intercept LLM API traffic and visualize token usage in a real-time terminal dashboard. Track...
Merit-Systems/echo
The User Pays AI SDK
Ruthwik000/tokenfirewall
Scalable LLM cost enforcement middleware for Node.js with budget protection and multi-provider support
adarshxs/TokenTally
Estimate Your LLM's Token Toll Across Various Platforms and Configurations
azat-io/token-limit
🛰 Monitor how many tokens your code and configs consume in AI tools. Set budgets and get alerts...