Skip to content
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.

23K 0 1
roy-tong
verovo

Audit AI agent spend and value: reconcile charges, track costs, and compare spend with verified task outcomes. CLI, MCP & Agent Skill.

10K 221 12
kazenai-ai
kazenai

A hard spending limit for every customer's AI. Python SDK that checks each OpenAI and Anthropic call against a limit before it runs.

4K 0 0
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
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.

3K 1 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
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.

2K 266 42
kazenai-ai
kazenai-finops

A hard spending limit for every customer's AI. Customer SDK for Agent FinOps: limits checked before each call, with cost per customer, feature and workflow.

2K 0 0
Keyveve
veqen

What every AI request costs, by customer, feature or project, with the key hint that lets Veqen catch stolen keys.

817 0 0
Keyveve
veqen-pricebook

Dated AI model prices, cache rates and billing rules, with no tracking dependencies.

748 0 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.

740 4 0
RedRobotKK
replay-doctor

Replay Doctor names the turn your prompt cache broke on and what it cost. Signed release binary, no telemetry.

625 3 0
tessera-llm
tessera-llamaindex

LlamaIndex integration for the Tessera LLM cost-optimization proxy.

616 2 0
giuggiai
giuggiai-meter

Know what each project really spends on AI — and check it against the bill. One line of code, every major provider (OpenAI, Anthropic, Gemini, Grok, DeepSeek, Qwen…), zero dependencies.

496 0 0
Keyveve
langchain-veqen

AI cost monitoring and protection: local Python and JavaScript SDKs, model prices, coding-agent bills, and AI cost reviews for pull requests.

471 0 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.

471 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.

470 4 1
Floe-Labs
pipecat-floe

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

207 1 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.

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

Floe metered-inference + budget-guard plugin for LiveKit Agents

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