PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Llm Cost Python Packages

Python packages with the GitHub topic llm-cost. Sorted by monthly downloads, with stars and forks.
Helicone
helicone-helpers

🧊 Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23 🍓

20K 6K 683
domondi1
inferrail

Self-hosted OpenAI/Anthropic-compatible gateway: give each AI agent run a dollar budget, enforced before the provider, with a payload-free per-run cost record.

10K 1 0
ferro-labs
ferrogw

Unified AI Gateway for 30+ LLMs (OpenAI, Anthropic, Bedrock, Azure etc) with Caching, Guardrails, A/B test & cost controls. Go-native Fastest & Scalable AI Gateway LiteLLM & Kong AI Gateway alternative.

6K 265 36
serkankorkut
tokenmeter-dashboard

Claude Code token usage and cost dashboard. Cost per prompt, cache misses and usage limits for Claude Code, Codex and GitHub Copilot CLI, read from local logs. Zero dependencies, nothing leaves your machine.

6K 23 0
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.

5K 0 0
RedRobotKK
replay-doctor

If the agent bill went up and nothing errored, a prompt cache broke. Replay Doctor names the turn it broke on, the cause, and the tokens re-billed at write prices. Reads Claude Code and Codex transcripts already on disk. Local Go CLI, zero third-party dependencies, no account, and no network request you did not type.

4K 3 0
OptimNow
cloud-finops-mcp

Cloud FinOps Skill & MCP by OptimNow. FinOps Foundation aligned knowledge for AI agents: cloud cost (AWS/Azure/GCP/OCI), AI inference economics, Kubernetes, data platforms, allocation, chargeback, anomaly management, waste detection, GreenOps. Installs into 12 AI tools, or connect the hosted MCP server by URL. Refreshed twice a month.

4K 58 17
kalibr-ai
kalibr

Stop overpaying to run your agents. Kalibr routes every request to lower-cost model and tool paths without degrading performance.

2K 31 3
pach-boop
tokencur

The CUR for your tokens — convert multi-provider AI/LLM usage into FOCUS-conformant cost datasets, validated by the FinOps Foundation's focus-validator

2K 0 0
helicone
helicone

🧊 Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23 🍓

2K 6K 683
hermes-labs-ai
claude-router

claude-router is a local prompt router that picks the right Claude model tier and prepends the right scaffold using local embeddings before you call the API. A deterministic routing layer for eval, research, content, and review prompts that helps teams stop overspending on Sonnet and Opus when Haiku plus structure is enough.

1K 1 0
thequantumfalcon
kry-attest

Tamper-evident, stranger-verifiable receipts for LLM cost-savings — anyone can recompute your caching/routing savings math offline, no trust in your dashboard required. Pure stdlib, zero-dependency.

1K 1 0
musharna
prompt-receipts

What an AI coding run cost, took and did: receipts for your own Claude Code, Codex and OpenCode sessions, plus prompts run on 7 models

1K 1 0
mario03690
ai-netcafe

Zero-dependency toolbox for AI agents: web search, page-to-markdown, diagrams, transcription, PDF, cross-session memory, and one-sentence app deployment. No install, no signup to start.

1K 0 0
gaurav-gandhi-2411
tracegauge

Three-axis efficiency scorer for Claude Code sessions.

953 0 0
tokenpolice
token-police

TokenPolice Python SDK

835 0 0
RudrenduPaul
tokentrust-cli

CLI and MCP server that verifies AI coding agent context-reduction proxies' token and cost savings claims

764 0 0
orvi2014
baar-core

Budget-Aware Agentic Routing (BAAR) — Intelligent LLM model selection with a zero-call financial kill-switch. Save 90% on costs without losing accuracy.

683 19 3
harunercul
argrouter

LLM router: picks the model and reasoning effort per query from accuracy and real billed cost.

666 1 0
cloudydreamland
tellan

Reconcile LLM API token usage and costs with local estimates, tamper-evident ledgers, and audit statements.

666 1 0
ranajoy-dutta
claude-code-cost-explorer

Local-first observability for Claude Code - drill into costs, prompts, and tool calls turn by turn. Zero instrumentation.

629 4 0
ethanasm
mcp-budget-governor

Distributed, cost-denominated budget enforcement for MCP servers: per-user quotas, per-tool limits, and a global spend circuit breaker backed by atomic Redis counters.

552 0 0
helicone
helicone-async

🧊 Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23 🍓

545 6K 683
smigolsmigol
llmkit-sdk

Know what your AI agents cost. API gateway with budget enforcement, session tracking, and MCP tools.

511 16 5
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology