LLM Token Tracker

•
5
•

Monitor and report token usage and costs for OpenAI and Claude APIs, including support for the Model Context Protocol.

LLM Token Tracker offers a comprehensive solution for transparently tracking token usage and associated costs across both OpenAI and Claude APIs. It seamlessly integrates by wrapping existing API clients, automatically calculating expenses with up-to-date pricing for a wide range of models. The tool supports tracking usage per user or session, provides currency conversion (USD, KRW), and can act as an MCP server for applications like Claude Desktop, enabling real-time conversational cost insights, budget management, and comparison between different LLM models. It also includes file-based persistence to maintain historical usage data across restarts.

주요 기능

01Automatic token usage and cost tracking for OpenAI and Claude APIs
02Up-to-date pricing for a wide range of LLM models (2025 data)
03Model Context Protocol (MCP) server integration for real-time session tracking
04User and session-specific usage management with currency support (USD, KRW)
05File-based persistence for historical data across server restarts
060 GitHub stars

사용 사례

01Billing end-users or internal teams based on their LLM API consumption
02Integrating token tracking, cost comparison, and budget management directly into AI assistant workflows
03Monitoring and optimizing LLM application costs in real-time