awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ryoppippi avatar

ryoppippi/ccusage

0
View on GitHub↗
10,826 星标·371 分支·TypeScript·other·4 次浏览ccusage.com↗

Ccusage

This project is a command-line utility designed to monitor and analyze token consumption and financial expenditure for AI coding assistants. By parsing local session logs directly on the user's machine, it provides a privacy-focused way to track development activity without transmitting sensitive data to external servers.

The tool distinguishes itself through its ability to aggregate disparate log formats from multiple coding assistants into a unified, schema-agnostic representation. It features a decoupled pricing engine that allows users to apply custom model-specific cost multipliers, override default pricing, and account for different service tiers. This enables granular reporting across various dimensions, including individual interaction sessions, specific projects, or custom time-based billing windows.

Beyond core tracking, the utility supports a wide range of analytical capabilities such as trend visualization, currency conversion, and the ability to inspect individual conversation logs. Users can configure reporting parameters, define project aliases, and export findings into machine-readable formats for further integration. The entire analysis process operates locally, ensuring that usage telemetry remains private and accessible even without an active network connection.

Features

  • Agent Usage Aggregators - Consolidate local log files from multiple coding assistants into a unified report to track token consumption and estimated costs across different tools.
  • AI Coding Assistants - Provides analytics and cost tracking for AI coding assistants by parsing local session logs.
  • AI Cost Monitoring - Calculates financial expenditure based on token usage and cached pricing data for major AI model providers.
  • Token Cost Calculators - Monitors and aggregates token usage data from coding assistants to provide detailed financial and activity reports.
  • Data Privacy Tools - Performs all analysis locally on the user machine without transmitting usage data to external servers.
  • Local-First Architectures - Processes raw session files directly on the user machine to ensure data privacy and offline availability.
  • Token Usage Analytics - Parses local logs to calculate token consumption and estimate costs across various AI models.
  • LLM Cost Management - Calculates financial expenditure by mapping token counts to pricing models for recorded activity.
  • Local Usage Aggregators - Reads session logs from local databases to track model interactions and token consumption.
  • Usage Reporting - Produces structured summaries of activity grouped by day, month, or session with support for compact terminal views.
  • Local Data Processing Tools - Ensures data privacy by processing sensitive session logs and usage telemetry entirely on the local machine.
  • Pricing Engines - Calculates financial expenditure by applying model-specific cost multipliers to token counts independently of data ingestion.
  • Log Aggregation - Consolidates token usage and activity data from local session and message files.
  • Conversation Cost Aggregators - Parses local session files from coding assistants to calculate total token consumption and estimate costs.
  • Usage Monitoring - Computes financial expenditure using offline pricing caches and per-model breakdown modes.
  • Usage Analytics - Organizes consumption data by individual interaction sessions to provide granular insight.
  • Model Pricing Managers - Updates and maintains a database of current model costs to ensure accurate financial analysis.
  • Model Pricing Overrides - Supplies custom token costs for specific models to ensure accurate financial tracking.
  • Schema-Agnostic Aggregators - Normalizes disparate log formats from multiple coding assistants into a unified internal representation for consistent analysis.
  • Log Aggregators - Parses structured local log files to extract token counts and session metadata for unified analysis.
  • Local - Processes local session files and logs to generate usage metrics without transmitting data to external servers.
  • Project Usage Categorizers - Groups consumption metrics by project instance with support for custom naming aliases.
  • Offline Analysis Engines - Uses locally cached pricing information to perform cost calculations and usage analysis when offline.
  • Conversational Session Management - Breaks down aggregated data into specific conversation logs to review performance and cost.
  • Usage Grouping - Organizes flat log entries into nested structures by session, project, or timeframe to enable granular reporting.
  • API Usage Analytics - Groups AI coding assistant activity by session and project to identify usage patterns and trends.
  • Reporting Default Configurations - Defines shared settings for consumption reports, including options to hide cost data or apply consistent formatting.
  • Embedded Cost Extractors - Reads pre-calculated cost values directly from session logs to provide accurate financial reporting.
  • Session Activity Monitors - Displays hierarchical session activity to track complex multi-agent interactions.
  • Trend Analysis - Visualizes changes in token consumption and model adoption over time to monitor shifts in activity.
  • Session - Groups token consumption data by individual interaction sessions to identify high-cost workflows.
  • Service Tier Selectors - Applies pricing models based on service tiers and model-specific multipliers to estimate expenses.
  • Usage-Based Billing - Calculates usage patterns within specific time-based billing blocks to help monitor and optimize service costs.
  • Weekly Usage Aggregators - Summarizes token consumption and costs on a weekly basis for project activity tracking.
  • Gemini Usage Aggregators - Parse local log files from specific directories to extract token consumption and session data for unified analysis.
  • Kimi Usage Aggregators - Parse local wire logs from specific command line tools to extract token consumption and cost data for unified analysis.
  • Data Path Configurations - Provides settings to define custom file paths and directories for log ingestion.
  • Usage Report Renderers - Displays consumption data in tables or structured formats with customizable cost metric inclusion.
  • Source Filters - Isolates usage data for a specific assistant to generate detailed performance and cost metrics.
  • Command Line Configuration - Customizes reporting through local configuration files, environment variables, or command-line arguments.
  • Developer Productivity - Analyzes coding workflow patterns and session activity to provide insights into development productivity.
  • Path Mapping Configurations - Provides configurable mapping of log file paths and pricing overrides for accurate usage analysis.
  • Reporting Timezone Configurations - Adjusts temporal references for date-based calculations to ensure logs align with local time zones.
  • Agent Log Path Overrides - Allows users to specify custom directories where coding assistant logs are stored for parsing.
  • Metrics Visualizers - Displays token consumption and spending data through graphical dashboards and terminal interfaces.
  • Real-Time Monitoring - Renders a compact summary of current token consumption directly within the command line interface for immediate feedback.
  • Usage Period Analyzers - Groups consumption data into daily, weekly, or monthly intervals to identify trends and patterns in development activity.

Star 历史

ryoppippi/ccusage 的 Star 历史图表ryoppippi/ccusage 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

ryoppippi/ccusage 是做什么的?

This project is a command-line utility designed to monitor and analyze token consumption and financial expenditure for AI coding assistants. By parsing local session logs directly on the user's machine, it provides a privacy-focused way to track development activity without transmitting sensitive data to external servers.

ryoppippi/ccusage 的主要功能有哪些?

ryoppippi/ccusage 的主要功能包括:Agent Usage Aggregators, AI Coding Assistants, AI Cost Monitoring, Token Cost Calculators, Data Privacy Tools, Local-First Architectures, Token Usage Analytics, LLM Cost Management。

ryoppippi/ccusage 有哪些开源替代品?

ryoppippi/ccusage 的开源替代品包括: kilo-org/kilocode — Kilocode is an autonomous engineering platform designed to orchestrate AI agents for complex software development… microsoft/vscode-copilot-chat — This project is an AI-powered IDE extension and LLM coding assistant that provides a conversational interface for… juliusbrussee/caveman — Caveman is a set of tools and configurations designed for large language model token optimization. It focuses on… helicone/helicone — Helicone is an AI gateway and observability platform designed to intercept, manage, and monitor interactions with… winfunc/opcode — Opcode is a desktop interface designed for managing AI-assisted software development workflows. It provides a… mnfst/manifest — Manifest is a language model provider unification system that standardizes access to multiple AI backends through a…

Ccusage 的开源替代方案

相似的开源项目,按与 Ccusage 的功能重合度排序。
  • kilo-org/kilocodeKilo-Org 的头像

    Kilo-Org/kilocode

    15,616在 GitHub 上查看↗

    Kilocode is an autonomous engineering platform designed to orchestrate AI agents for complex software development tasks. It functions as a comprehensive system for automating coding, testing, and repository management by integrating directly with your codebase and terminal. The platform provides a unified gateway for model orchestration, allowing for the management of agentic workflows, event-driven automation, and persistent session state across distributed development environments. The platform distinguishes itself through its federated task management and policy-based access control, which

    TypeScriptaiai-ageai-coding
    在 GitHub 上查看↗15,616
  • microsoft/vscode-copilot-chatmicrosoft 的头像

    microsoft/vscode-copilot-chat

    9,493在 GitHub 上查看↗

    This project is an AI-powered IDE extension and LLM coding assistant that provides a conversational interface for generating, refactoring, and debugging code. It functions as an AI agent framework and a Model Context Protocol client, connecting AI models to external data sources and tools to automate complex development tasks. The system is distinguished by its use of autonomous AI agents capable of multi-step task execution, including the ability to read files, modify code, and run terminal commands iteratively. It supports recursive agent orchestration through subagent delegation and employ

    TypeScript
    在 GitHub 上查看↗9,493
  • juliusbrussee/cavemanJuliusBrussee 的头像

    JuliusBrussee/caveman

    73,390在 GitHub 上查看↗

    Caveman is a set of tools and configurations designed for large language model token optimization. It focuses on reducing the amount of data processed during AI interactions to lower costs and maximize the available context window. The project implements a fragmented communication style that replaces full grammatical sentences with concise technical keywords. This approach extends to AI context optimization by condensing memory files and tool descriptions, and includes a specialized configuration for generating terse, one-line code reviews and short conventional commit messages. The system i

    JavaScriptaianthropiccaveman
    在 GitHub 上查看↗73,390
  • helicone/heliconeHelicone 的头像

    Helicone/helicone

    5,830在 GitHub 上查看↗

    Helicone is an AI gateway and observability platform designed to intercept, manage, and monitor interactions with large language models. By acting as a reverse-proxy, it provides a centralized layer for routing requests across multiple AI providers, allowing developers to maintain consistent application logic while gaining deep visibility into model performance, usage, and costs. The platform distinguishes itself through a robust suite of traffic management and prompt engineering tools. It enables policy-driven control, including automatic failover between providers, rate limiting, and edge-b

    TypeScript
    在 GitHub 上查看↗5,830
  • 查看 Ccusage 的所有 30 个替代方案→