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

Cost Optimization Python Packages

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

Run, manage, and scale AI workloads on any AI infrastructure. Use one system to access & manage all AI compute (Kubernetes, Slurm, 20+ clouds, on-prem).

1.3M 10K 1K
Netflix
metaflow

Build, Manage and Deploy AI/ML Systems

836K 10K 1K
skypilot-org
skypilot-nightly

Run, manage, and scale AI workloads on any AI infrastructure. Use one system to access & manage all AI compute (Kubernetes, Slurm, 20+ clouds, on-prem).

151K 10K 1K
Netflix
metaflow-stubs

Build, Manage and Deploy AI/ML Systems

87K 10K 1K
chaandannn
finops-mcp

Local-first, AI-native FinOps. Ask your AWS, Azure, GCP, Kubernetes, and SaaS bill anything inside Claude or Cursor. Runs on your machine; credentials never leave it.

32K 4 0
Smart-AI-Memory
attune-ai

Attune-AI is a spec-driven meta-orchestration framework designed to establish a deterministic alignment layer between autonomous LLM agents and a production codebase.

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

16K 1 0
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.

8K 22 4
Smart-AI-Memory
attune-author

AI-powered .help/ template authoring pipeline. Python package for the attune-docs help platform.

7K 0 0
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 keeps costs 70–85% lower.

7K 39 5
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 keeps costs 70–85% lower.

6K 39 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.

5K 28 1
Smart-AI-Memory
empathy-framework

Attune-AI is a spec-driven meta-orchestration framework designed to establish a deterministic alignment layer between autonomous LLM agents and a production codebase.

4K 6 0
skypilot-org
trainy-skypilot-nightly

SkyPilot: An intercloud broker for the clouds

4K 10K 1K
x7even
opencloudcosts

Anchor AI FinOps to real, live cloud pricing — open source MCP server for AWS, GCP, and Azure

4K 3 0
cafitac
cafitac-hermit-agent

Quiet MCP executor for Claude Code and Codex. Offload edits, tests, refactors, and commits to cheaper local or flat-rate models.

4K 3 1
pankajniet
leancontext

Trim the redundant tool output your AI agent re-sends every turn. Deterministic, type-aware token reduction with a fidelity score — never breaks the agent.

3K 0 0
doramirdor
nadirclaw

Open-source LLM router & AI cost optimizer. Routes simple prompts to cheap/local models, complex ones to premium — automatically. Drop-in OpenAI-compatible proxy for Claude Code, Codex, Cursor, OpenClaw. Saves 40-70% on AI API costs. Self-hosted, no middleman.

3K 555 69
Rodiun
frugon

Free, local, open-source LLM cost analyzer — see where your LLM bill leaks, on your machine.

3K 0 0
SpareCores
sparecores-crawler

Pull and standardize data on cloud compute resources.

3K 15 5
Crack525
tokenxray

Live cost alerts, hard-stop ceiling, and session analysis for Claude Code. The spending guard Claude Code doesn't ship with.

2K 1 0
abyo-software
s4-codec

GPU-accelerated transparent compression S3-compatible storage gateway. Drop-in replacement for AWS S3 endpoints; cuts your S3 bill 50-80% with no app changes (Rust, nvCOMP, zstd).

2K 146 9
rhishi99
agy-headless-bridge

Call the Google Antigravity CLI (agy) headlessly from any non-TTY context — Windows ConPTY + POSIX pty + MCP server. Fixes the empty-output bug (#76).

2K 9 2
abyo-software
s4fs

GPU-accelerated transparent compression S3-compatible storage gateway. Drop-in replacement for AWS S3 endpoints; cuts your S3 bill 50-80% with no app changes (Rust, nvCOMP, zstd).

2K 146 9
    • Data from PyPI, GitHub, ClickHouse, and BigQuery