LLM Usage

•
6
•

Monitors LLM API spending across multiple providers, storing it locally and making it queryable by coding agents and via a command-line interface.

Stop guessing your LLM API costs and gain full transparency with LLM Usage. This local-first, multi-provider tool captures every LLM call you make, accurately costing it at the moment of transaction. It consolidates spend data from services like Anthropic, OpenAI, DeepSeek, and Qwen into a single, private SQLite store on your machine. Easily query your spending by asking your coding agent through its Model Context Protocol (MCP) server, or get detailed breakdowns, cost comparisons, and model recommendations directly from its powerful command-line interface.

主要功能

01Multi-provider support, including Anthropic, OpenAI, DeepSeek, and Qwen
02Local-first operation with no SaaS or telemetry
03Exposes LLM spend data to coding agents via an MCP server
04Provides a comprehensive command-line interface for querying and analysis
05Accurately calculates costs for streaming and non-streaming LLM API calls
062 GitHub stars

使用案例

01Tracking and analyzing LLM API expenditures across different providers
02Comparing the projected cost of hypothetical LLM workloads across various models
03Receiving model recommendations based on budget constraints for specific tasks