RepoSpend

RepoSpendTrack AI Coding Costs Locally

RepoSpend is a free, open-source dashboard for tracking AI coding usage on your own machine. It reads local session data from Codex, Claude Code, GitHub Copilot, and experimental Cursor support, then groups token consumption and estimated API-equivalent costs by repository, session, model, and tool. No account, telemetry, code uploads, or prompt uploads are required. The project is aimed at developers who use several AI coding assistants and want a clearer view of where tokens are going without sending private project data to another service. Its figures are estimates rather than subscription bills, but they provide a useful way to compare usage across projects and models.

free
AI codingtoken usage trackingAPI cost estimationlocal developer dashboardopen source developer toolsCodex cost trackerClaude Code analyticsprivacy-focused softwareAI coding cost analysis
Indexed
3.3 (0 Number of reviews)

Log in to rate the project

Try Now

AI coding subscriptions make experimentation easy, but they also make spending harder to understand. A developer may use Codex in one repository, Claude Code in another, and GitHub Copilot throughout the day without having a single view of the resulting usage. RepoSpend addresses that gap with a small, local-first dashboard that turns existing AI coding session data into a project-level cost map.

The tool is free and open source, and it runs on the developer’s machine rather than as a hosted analytics service. It does not require an account, does not send telemetry, and does not upload source code or prompts. Instead, RepoSpend reads session files already stored locally and presents the information in a browser at localhost:2005. That design is especially practical for developers who need visibility into usage but cannot justify sending project metadata to yet another cloud dashboard.

A project view of AI coding usage

RepoSpend’s main organizing idea is the Git root. Sessions found inside a repository, package, script directory, or other subfolder can be grouped under the project name developers already recognize. This is more useful than a raw stream of token counts: someone comparing a client project with a personal tool can quickly see which codebase is consuming more assistance.

The dashboard combines several views rather than reducing everything to one headline number. Users can filter by source and inspect totals, top repositories, individual sessions, models, and tools. It also surfaces cache reuse, command problem rates, and file-edit activity. Those signals do not explain every reason a session became expensive, but they can point to areas worth investigating. Repeated prompts, failed commands, or low cache reuse may indicate that a workflow needs tightening.

  • Repository grouping connects local sessions to Git roots, making project-to-project comparisons easier.
  • Session, model, and tool breakdowns help identify where the largest share of token usage came from.
  • Cache reuse and command issue indicators provide clues about repeated or unsuccessful AI interactions.
  • File-edit information adds a little operational context to otherwise abstract token totals.

For example, an independent developer juggling several small applications could use RepoSpend at the end of a week to find out whether a new feature branch, a debugging session, or a particular model is driving usage. It will not tell that developer whether the generated code is good, but it can make the resource trade-off visible before the next billing cycle.

The numbers are estimates, not invoices

This distinction matters more than the dashboard’s visual polish. RepoSpend reports API-equivalent cost estimates, not the amount charged by a subscription provider. It converts observed token usage using public model API rates, creating a common yardstick for comparing tools and models. A user should not treat the result as a replacement for a credit-card statement, a provider usage page, or the terms of an individual plan.

That approach is still valuable. Subscription pricing and usage rules can obscure the marginal cost of different workflows, while an API-equivalent figure gives developers a consistent reference point. It can show, for instance, that one model is responsible for most of a repository’s estimated consumption even when several assistants are active. The estimate may differ from actual spending because subscriptions, included quotas, discounts, rate changes, and product-specific accounting are not necessarily represented.

The project is also trying to keep its pricing assumptions current. Version 0.1.3 lowered the API-equivalent rates for GPT-5.6 Terra and Luna, including cached input and cache-write pricing, while retaining support for user-defined price overrides. It also improved folder grouping for repositories that have not been verified. These changes suggest a model that can be adjusted as pricing changes, rather than a permanently fixed calculator.

Installation is simple, but the project is young

Running RepoSpend requires Node 20+. Once that runtime is available, the basic launch path is a single npx repospend command, followed by opening localhost:2005 in a browser. There is no separate database or hosted account to configure. The project also provides a guided demo using fictional, Lord of the Rings-style data, which lets people explore the interface without exposing real repositories.

That low setup cost is one of RepoSpend’s strongest arguments. A developer who is comfortable with a terminal can install it, inspect the dashboard, and decide within minutes whether the collected data is useful. Someone who avoids command-line tools may find the Node requirement less welcoming, although the absence of server setup keeps the overall process relatively light.

RepoSpend remains an early 0.x project. Version 0.1.3 is functional enough for experimentation, but its community and ecosystem are still small. Support for Codex and Claude Code is described as the most accurate, while GitHub Copilot has initial support and Cursor remains experimental and must be enabled explicitly. Import behavior and cost precision should therefore be checked against the source tools before the numbers are used for serious budgeting.

  • Use the dashboard for trends and comparisons, not as an authoritative billing record.
  • Check which local session formats are available before assuming every tool has equal coverage.
  • Consider setting custom prices when the default API assumptions do not match a team’s internal accounting.

For privacy-conscious developers who use multiple AI assistants, RepoSpend is a pragmatic utility: installable, inspectable, and focused on one narrow problem. Its biggest limitation is also clear. It offers a local view of estimated consumption, not a universal ledger of what every provider will charge.

Pros & Cons

Pros

  • Local-first and privacy-friendly, with no code or prompt uploads
  • Free, open source, and easy to launch without an account
  • Clear repository, session, model, and tool-based usage breakdowns
  • Supports pricing updates and custom price overrides
  • A single npx command provides a low-friction setup

Cons

  • GitHub Copilot and Cursor support are still early, so coverage and accuracy may vary
  • API-equivalent estimates are not the same as real subscription bills
  • The 0.x project has a small community and developing ecosystem
  • Node 20+ and command-line setup may be a barrier for some users

Frequently Asked Questions

Is RepoSpend free to use?

Yes. RepoSpend is free and open source. It can be installed through npm and does not require a paid plan, subscription, or user account. Because it runs locally, users do not need to maintain a hosted service just to view their usage data.

Does RepoSpend upload code or prompts to the cloud?

No. RepoSpend reads existing session data from the local disk and serves its dashboard through localhost. The project states that it uses no telemetry and does not upload source code or prompts. Its local-first architecture is intended to keep the collected information on the user’s own machine.

Which AI coding tools does RepoSpend support?

RepoSpend currently supports Codex, Claude Code, and GitHub Copilot, with experimental Cursor support that must be enabled separately. Codex and Claude Code have the strongest estimation support at this stage. Copilot is described as initial support, while Cursor imports remain subject to the project’s experimental implementation.

Are RepoSpend’s cost figures actual billing amounts?

No. The dashboard shows API-equivalent cost estimates calculated from token usage and public API rates. These figures are useful for comparing models, repositories, and workflows, but they are not subscription invoices. Actual charges can differ because of plan allowances, included quotas, discounts, provider rules, and other pricing details.

What environment is required to run RepoSpend?

RepoSpend requires Node 20 or newer. After installing or accessing the package, users can run npx repospend and open localhost:2005 in a browser. The basic setup does not require a separate database, cloud account, or server, although users should already be comfortable running commands in a terminal.

Explore More

Similar Tools

Pinstripes

Pinstripes

Pinstripes is an AI inference platform built around an unusually clear promise: show users how models are quantized instead of hiding those trade-offs behind a generic API. Its Warp subscription costs $5 per month and includes 4 billion tokens, while Slices provides dedicated capacity with a user-selected model and precision. The service offers an OpenAI-compatible API, making it relatively easy to test with existing applications, agents, and batch pipelines. Pinstripes is aimed at developers who need high-volume inference and want more visibility into weight quantization, KV-cache precision, and benchmark differences. Its pricing is appealing, but users should validate output quality and long-term reliability for their own workloads.

DebugAI

DebugAI is a Python SDK and web workspace for investigating unreliable LLM responses. It analyzes failure categories, severity, evidence, likely root causes, and the pipeline stage where a problem occurred, then suggests practical fixes. The tool is aimed at developers working on prompts, RAG pipelines, tool calling, and broader AI workflows. Teams can wrap an existing LLM client with the SDK for ongoing diagnostics, while the web interface provides a lower-commitment way to paste a failed response and inspect it. Pricing, model compatibility, deployment options, and diagnostic methodology are not publicly clear, so developers should validate the product with representative failures before adopting it.

VibeDev

VibeDev is an early AI product concept focused on automation, interface animation, and vibe coding. Its stated aim is to turn rough ideas into interactive digital experiences, with an emphasis on visual feedback and fast experimentation. The project currently appears on a Lovable-hosted subdomain rather than a full product website, and its public page does not provide a feature list, documentation, pricing, or a clear sign-up path. That makes VibeDev more useful as a signal of where AI-assisted prototyping is heading than as a tool ready for production work. Designers, indie developers, and no-code enthusiasts may still find the concept relevant, especially if they are exploring automated workflows and animated interfaces.

Lem AI

Lem AI

Lem AI is an engineering-focused knowledge and workflow assistant that connects tools such as Slack, Jira, GitHub, Confluence, Meet, and Google Drive. It creates a searchable context layer for technical teams, returning natural-language answers with source links instead of isolated AI responses. The platform can also assemble an implementation.md file from a ticket’s surrounding discussions and documentation, giving coding assistants more useful project context. Its workflow checks flag issues such as unlinked branches, unexplained dependencies, missing pull request details, or code that does not match the ticket. Pricing is not publicly listed, so teams should request a demo and validate security, data quality, and integration behavior before committing.

Bindfort

Bindfort is a security and evidence gateway for the Model Context Protocol (MCP). Positioned between an AI agent and its MCP servers, it checks allow and deny policies before tools run, scans complete installed dependency trees for supply-chain risks, and creates HMAC-signed receipts after each decision. The product is aimed at teams that need stronger controls and verifiable audit trails around agent-driven automation. Bindfort offers a free MCP scan, while full product pricing has not been publicly disclosed. Its core policy and dependency-scanning features are marked as working, but runtime guardrails remain on the roadmap.

AI-Native eCommerce Infrastructure

AI-Native eCommerce Infrastructure

AI-Native eCommerce Infrastructure is a StoreFrame-hosted control plane built for Magento and Mage-OS teams that want more than a locked-down hosting environment. It combines containerized services, live observability, and a browser-based Claude Code shell connected to real store data. Merchants can ask natural-language questions about products, customers, or revenue, while developers can investigate logs, metrics, and security signals from the same workspace. The service starts with a three-day trial and does not require a credit card. Its main caveats are equally important: the AI workflow depends on the customer’s own Claude subscription, and the platform’s policies and documentation are still developing.

Open-source Alternatives

guidellm: Open-Source Tool for Evaluating and Optimizing LLM Inference

guidellm is an open-source tool developed by the vLLM team to evaluate and optimize Large Language Model (LLM) inference performance in production environments. It offers stress testing, latency analysis, and throughput assessment to help developers identify bottlenecks and fine-tune deployment configurations. The project is primarily written in Python and licensed under Apache-2.0. At the time of collection, it had 1214 stars on GitHub.

ai-gateway: Unified AI Gateway Based on Envoy Gateway

ai-gateway is an open-source project built on Envoy Gateway, offering a unified API gateway to manage access to diverse generative AI services. It simplifies AI application integration and operations by providing features like load balancing, caching, and rate limiting for various AI providers. The project is written in Go and licensed under Apache-2.0.

go-micro: Go framework fusing AI agent harness with microservices

go-micro is an open-source Go framework that fuses an AI agent harness with microservices, supporting MCP, A2A, and multi-LLM integration. It is licensed under Apache-2.0 and primarily written in Go. As of the collection time, the project had 22,755 stars on GitHub.

Kun: Local-First AI Agent Workspace

Kun is a local-first AI agent workspace that unifies coding, writing, design, research, and automation through a shared GUI and TUI runtime. The project is primarily developed in TypeScript and has an 'Other' license. As of collection time, it has 4813 GitHub stars.

terax-ai: Lightweight Tauri-based Desktop Dev Environment

terax-ai is a Tauri-based desktop development environment with a size of only 7-8 MB. It integrates a GPU terminal, CodeMirror editor, Git tools, and multi-provider AI agents, offering an all-in-one development experience. The project is primarily written in TypeScript and licensed under Apache-2.0.

jar-analyzer: Open-Source GUI Tool for Java JAR Analysis with AI Assistant

jar-analyzer is an open-source GUI tool for Java JAR package analysis, featuring an integrated AI assistant. It offers robust capabilities like JAR DIFF, method call graph exploration, DFS call chain analysis, taint analysis, and control flow graph (CFG) program analysis. Ideal for Java developers and security researchers, it streamlines code auditing and reverse engineering tasks. The primary language is Java, licensed under GPL-3.0, with 2111 GitHub stars at the time of collection.