#16 · Primary category: AI Usage & Cost Monitoring
tokencost
Easy token price estimates for 400+ LLMs. TokenOps.
Project last updated:09/05/25
GitHub Stars
2.0K
Forks
106
Contributors
20
License
MIT
Why we included this project
LLM API costs tend to sneak up on you: the numbers look small per request, but they compound fast when an app or agent is calling models all day. Tokencost puts a maintained price table in front of you, covering hundreds of models from the major providers, plus simple functions that estimate prompt and completion costs before you send anything. That makes it handy for teams comparing models, forecasting spend, or deciding which provider should handle a given query. It also counts prompt tokens for OpenAI-style requests, so you get a reliable estimate without building out a full observability stack. It is a small library that does one job well, and the kept-up price data spares you the chore of checking provider pricing pages yourself.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
CodexBar
Show usage stats for OpenAI Codex and Claude Code, without having to login.
codeburn
Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Codex, Gemini and more), by model, project, and task. npx codeburn
Claude-Code-Usage-Monitor
Real-time Claude Code usage monitor with predictions and warnings
helicone
🧊 Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23 🍓
agentsview
Local-first session search, analytics, insights, and token use statistics for coding agents, supporting Claude Code, Codex, and more than 20 other agents.