Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Cost Tracking Python Packages

Python packages with the GitHub topic cost-tracking. Sorted by monthly downloads, with stars and forks.
vivekchand
clawmetry

Observability and governance for digital agents and physical AI. Monitor Claude Code, Codex, Cursor and OpenClaw: sessions, tool calls, tokens and spend. Connect robot intent, telemetry and operator policies in scoped pilots for humanoids, robot dogs and drones.

49K 440 73
FiredMosquito831
my-claude-code

Local multi-provider LLM proxy, model router and control plane for Claude Code, Codex, OpenCode and Gemini CLI: 60 providers, fallback routing, credential health, web search and cost provenance.

40K 19 4
metergraph
metergraph-core

Understand which functions and agents drive LLM spend. Self-hosted monitoring and an open model pricing catalog.

18K 5 2
Mandark-droid
genai-otel-instrument

GenAI OpenTelemetry Auto-Instrumentation Library A comprehensive wrapper for automatic instrumentation of LLM/GenAI applications Supports all major LLM providers and MCP (Model Context Protocol) tool calls

13K 3 1
sblattj
agentic-coding-harness

Run, watch, and meter Claude Code, Codex CLI, Gemini CLI, OpenCode, and Kiro from one CLI. Normalized events, cache-aware token usage, cost accounting verified against each agent's own records, budget caps, OpenTelemetry gen_ai spans, Langfuse traces, and a live web dashboard + MCP server.

12K 2 0
superbasedapp
superbased-observer

Track what every AI coding agent costs and see the limit coming. Per-session, per-model cost for Claude Code, Codex, Cursor and 37 more tools from your provider's own token counts, plus limit gauges, a dangerous-command guard and dashboard terminals. Free, Apache-2.0, runs on your machine.

11K 66 6
Mai0313
vibe-coding-tracker

Track AI coding costs in real-time — a lightweight Rust CLI/TUI for Claude Code, Codex, Copilot & Gemini usage and cost analytics

10K 14 7
mozilla-ai
pydantic-ai-otari

Open-source AI gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking.

6K 988 157
last9
last9-genai

OpenTelemetry extension for LLM observability - track conversations, workflows, and costs in Python AI applications

6K 2 0
digital-foundry
actualis

What actually ran. Reads existing coding-agent logs and turns them into clear answers about exposure, activity, and cost. Local, read-only, no dependencies.

5K 2 0
jzills
snoop-cli

Monitor your AI agents in real time. Follow active sessions from a second terminal or inspect past sessions to understand costs, file changes, and time spent. Reads existing agent transcripts with no modifications or data leaving your machine.

5K 0 0
bozdemir
claude-usage-widget

Cross-platform desktop widget + CLI for real-time Claude Code (and opt-in OpenAI Codex) usage — session/weekly limits, cost, forecasts, burn alerts, 11 themes. One pip install (Linux/macOS/Windows).

4K 85 23
swap-mitra
ai-flight-recorder

Flight recorder for AI agents: records every model and tool call to local JSONL, replays runs as regression tests in CI, enforces budgets and model routing, and gates irreversible tool calls behind approval. OpenAI, Anthropic, LangChain, OpenTelemetry.

4K 0 0
jmgb
neutral-llm-gateway

Neutral LLM gateway: typed contracts, provider adapters, explicit retry/fallback/usage/cost accounting.

4K 0 0
ShekharBhardwaj
agentic-ledger

Local-first flight recorder for AI agents: every LLM call, tool call, cost, and loop captured by a transparent proxy. Zero code changes.

3K 7 3
AshishAgrawal101
llmtap-proxy

The flight recorder & firewall for LLM apps. Record, replay, cache, budget and secure every LLM call. Zero code changes, zero dependencies.

3K 1 1
gaurav-gandhi-2411
adk-tracegauge

See what your Google ADK agent costs (per-invocation USD from token usage) and fail CI when it gets more expensive.

3K 0 0
mikehasa
agentacct

See what your coding agents did and what it cost. Breaks each task down into work steps — tools used, files changed, tests run, time and tokens spent. Local-first dashboard for Claude Code, Codex, OpenCode, and more. No login, no telemetry.

3K 753 80
magna56
fiscallm

Open-source AI cost and margin per user. Matches each user's OpenAI, Claude and Gemini cost to what they pay you (RevenueCat, Stripe, CSV). Self-hostable. TypeScript and Python SDKs.

3K 1 3
meyerx
meterline-anthropic

meterline helps people who run or pay for AI tools in an organisation see and compare usage and cost across providers: it reads each provider's usage API and writes the data in one common record format.

2K 0 0
rajdeepmondaldotcom
caliper-ai

Measure every line of AI-written code. Offline-first usage, cost, and ROI intelligence for AI coding tools.

2K 6 1
meyerx
meterline-anthropic-admin

meterline helps people who run or pay for AI tools in an organisation see and compare usage and cost across providers: it reads each provider's usage API and writes the data in one common record format.

2K 0 0
sairintechnologycom
burnlens

Open-source LLM FinOps proxy — track OpenAI, Anthropic (Claude), and Google Gemini costs by feature, team, and customer. Zero code changes. pip install burnlens.

2K 3 0
meyerx
meterline-litellm

meterline helps people who run or pay for AI tools in an organisation see and compare usage and cost across providers: it reads each provider's usage API and writes the data in one common record format.

2K 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology