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

Cost Optimization Python Packages

Python packages with the GitHub topic cost-optimization. Sorted by monthly downloads, with stars and forks.
skypilot-org
skypilot

The AI Compute Platform for frontier teams. SkyPilot turns fragmented AI compute into one AI supercomputer, so frontier AI teams build custom intelligence faster.

1.8M 11K 1K
Netflix
metaflow

Build, Manage and Deploy AI/ML Systems

462K 10K 1K
skypilot-org
skypilot-nightly

The AI Compute Platform for frontier teams. SkyPilot turns fragmented AI compute into one AI supercomputer, so frontier AI teams build custom intelligence faster.

177K 11K 1K
Netflix
metaflow-stubs

Build, Manage and Deploy AI/ML Systems

64K 10K 1K
mborn1
pyoptex

Flexible and accessible design of experiments in Python. Provides industry with an easy package to create designs based with limited expert knowledge. Provides researchers with the ability to easily create new criteria and design structures.

31K 24 5
xorbitsai
xrouter-llm

A prompt-aware LLM router that predicts which models can complete each request, then selects the cheapest capable one: 53.2% lower cost and +1.9 pts completion on our tested dataset.

27K 42 2
utkarsh5026
aws-analyzer

Readable reports on your AWS data from a SageMaker or Jupyter notebook: S3 buckets, DynamoDB tables, Bedrock knowledge bases and the SageMaker notebook itself. What's there, what it costs, and what to do next. Read-only, boto3 only; one file per service, or pip install aws-analyzer.

20K 1 0
ptimizeroracle
ondine

Batch-process tabular data with any LLM. pandas & Polars in, structured columns out. Checkpointing, budget limits, and 100+ providers built in.

12K 6 2
ahwurm
localharness

An open-source, coding agent harness designed specifically for local LLMs. Designed as everything a user needs to jumpstart their own harness (detailed event steams, logs, and performance data) or quickly replace closed source one (featuring out of the box plugins for web search, image gen, memory, auto research and more in dev).

12K 77 7
getnable
finops-mcp

The headless FinOps intelligence layer: API-first, agent-first cost control for cloud + AI. Connect your cloud stack in Claude, Cursor, or the terminal, and gate what agents do to your infra before they act. Propose-only. Open source, local-first.

9K 20 1
skypilot-org
trainy-skypilot-nightly

The AI Compute Platform for frontier teams. SkyPilot turns fragmented AI compute into one AI supercomputer, so frontier AI teams build custom intelligence faster.

8K 11K 1K
Smart-AI-Memory
attune-ai

Persistent memory and receipt-verified workflows for Claude Code — plugin, MCP server, and spec-driven dev framework in one pip install.

8K 11 3
cloudwise-app
cloudcostwise

Find AWS waste from your terminal or your AI assistant (CLI + MCP server). Runs locally with your own read-only credentials. Nothing is sent unless you choose to share a summary. Apache-2.0.

8K 1 1
dshakes
distil-llm

Compression with a quality contract — cache-aware, causally-pruned LLM context compression for agentic runtimes, certified non-inferior across 7 domains. Works with any SDK.

7K 21 3
ypollak2
llm-routing

Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.

6K 131 17
jambuai
gpu4agents

GPU for Agents: your agent rents the GPU it needs, on its own. You pay only while it works.

6K 0 0
belalshafeq
agenttrafficcop

A zero-config runtime circuit breaker for multi-agent systems. Stops infinite loops and runaway API spend.

6K 0 0
dshakes
firstpass

The verification layer for LLM serving — your check runs on every answer before it ships, with a signed, tamper-evident receipt for each decision and a distribution-free bound on wrong answers served. Proof over prediction.

6K 2 1
ypollak2
claude-code-llm-router

Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.

5K 131 17
behrouzbk
prompt-tokensaver

Count tokens across AI models and get concrete, priced suggestions to cut your prompt costs. Runs offline.

4K 7 2
SpareCores
sparecores-crawler

Pull and standardize data on cloud compute resources.

4K 17 5
ashhadahsan
cachemaxxing

Stop paying full price for the same tokens.

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

4K 20 3
Traigent
traigent

Tune your AI agent for accuracy and cost, with proof before you ship. Open-source Python SDK for LLM evaluation, model selection and prompt optimization. Works with OpenAI, Anthropic, LangChain and LlamaIndex.

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