Preparing for system design interviews?  Try bugzed.com →

tokencost

JSON →
library 0.1.26 ·python
verified Jun 28, 2026

tokencost is a Python library that provides client-side token counting and USD cost estimation for over 400 Large Language Models (LLMs) from providers like OpenAI, Anthropic, Google, and AWS Bedrock. It helps AI agents and LLM applications accurately track and manage API expenses by offering up-to-date pricing and model-specific tokenization, released frequently to reflect changing LLM provider costs.

total hits 26
actors 8 distinct systems
last hit 8d ago PetalBot
GPTBot
4
Amazonbot
3
Script
1
ByteDance
1
Search engines
8
Humans
3

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany