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

Llm Cost Python Packages

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

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

8K 6K 618
kalibr-ai
kalibr

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

4K 31 3
helicone
helicone-async

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

3K 6K 620
helicone
helicone

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

1K 6K 620
m24927605
spendguard-sdk

Agentic SpendGuard — audit-chain spend control for LLM agents. KMS-signed decisions, Stripe-style auth/capture ledger, operator approval, multi-tenant. Adapters for Pydantic-AI, LangChain, LangGraph, OpenAI Agents SDK, Microsoft AGT.

1K 4 1
temurkhan13
openclaw-cost-tracker-mcp

MCP server for AI agent token-cost telemetry across Anthropic, OpenAI, Gemini, Ollama — per-agent attribution, anomaly detection, model-routing recs with savings estimates, monthly forecast.

1K 0 0
smigolsmigol
llmkit-sdk

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

969 13 4
ranajoy-dutta
claude-code-cost-explorer

Local web app to explore Claude Code API cost and token usage by day, session, and turn

913 4 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.

652 4 0
aimaghsoodi
foveance

Cut your LLM token bill 60%+ without changing your code or your answers. Drop-in proxy + one-line Python API that auto-compresses agent context for Claude Code, Codex, OpenAI, Anthropic & Ollama. pip install foveance

585 8 1
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.

533 1 0
OptimNow
cloud-finops-mcp

MCP server exposing the OptimNow Cloud FinOps skill (28 references + 23 named-pattern playbooks) as queryable tools.

524 38 12
tessera-llm
tessera-llamaindex

LlamaIndex integration for the Tessera LLM cost-optimization proxy.

520 2 0
margindash
ai-cost-calc

AI cost calculator and usage tracker. Calculate LLM API costs for 400+ models (OpenAI, Anthropic, Google). No API key required for cost lookups.

512 2 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.

463 1 0
saileshr
aimeter

Cost tracking and attribution for AI agents in production

393 2 0
buildwithabid
llm-spend-profiler

Track, visualize, and optimize LLM API spending. Two lines of code, zero config.

379 4 1
doramirdor
nadir-llm

Nadir is a Python package designed to dynamically choose the best llm for your prompt by balancing complexity and cost and response time.

328 68 3
roli-lpci
claude-router

Embedding-based scaffold router for Claude API. Routes tasks to the right scaffold using centroid matching. By Hermes Labs.

246 0 0
kalibr-ai
llm-cost-optimizer

Automatically reduce LLM API costs. Routes to cheapest model that succeeds. Use kalibr instead.

240 31 3
kalibr-ai
llm-cost-reduction

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

237 31 3
FardinHash
tokencal

Token Price Estimation for LLMs

227 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery