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

Ai Cost Python Packages

Python packages with the GitHub topic ai-cost. Sorted by monthly downloads, with stars and forks.
llmspendguard
llm-spendguard

Know what an LLM job will cost before you run it — and prove your ledger matches the provider's bill. Pre-submit estimates, hard caps, and reconciliation to actual billing. No proxy.

11K 0 1
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
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
Floe-Labs
floe-guard

AI Initiative Ledger — local spend meter and budget gate for AI tasks. Meters every vendor leg (LLM, speech, telephony, search, tools), hard-stops before the ceiling. MIT, no account.

4K 357 55
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.

3K 3 0
tessera-llm
tessera-llm-proxy

Drop-in LLM cost-optimization proxy. Auto-route + cache + compress + batch. Flat monthly pricing by token volume, keep 100% of savings. Free 60M tokens/mo.

332 4 0
tessera-llm
tessera-llamaindex

LlamaIndex integration for the Tessera LLM cost-optimization proxy.

291 2 0
madeburo
llmprices

CLI tool and Python library to compare LLM API prices across OpenAI, Anthropic, Google, DeepSeek, xAI, Mistral, Cohere and more. Instant cost estimation by prompt or token count.

288 1 0
tessera-llm
tessera-langchain

LangChain integration for the Tessera LLM cost-optimization proxy. One line of config routes ChatOpenAI / ChatAnthropic / ChatMistralAI / ChatGroq / ChatCohere through the proxy.

267 1 0
buildwithabid
llm-spend-profiler

Track, visualize, and optimize LLM API spending. Monitor OpenAI & Anthropic costs per feature, detect waste, suggest savings. Zero-config Python profiler.

260 4 1
Floe-Labs
pipecat-floe

AI Initiative Ledger — Pipecat voice plugin: STT, LLM and TTS on one key and one budget

233 1 0
Floe-Labs
livekit-plugins-floe-v1

AI Initiative Ledger — LiveKit Agents plugin: metered inference and budget guard

101 0 0
Quadrant-Labs
quadrant-openharness

Local AI call profiler and model gateway for tracking LLM cost, tokens, latency, failures, prompts, and agent workflows from a CLI proxy.

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