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.8M 10K 1K
Netflix
metaflow

Build, Manage and Deploy AI/ML Systems

716K 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).

407K 10K 1K
Netflix
metaflow-stubs

Build, Manage and Deploy AI/ML Systems

69K 10K 1K
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.

28K 3 1
skypilot-org
trainy-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).

17K 10K 1K
ypollak2
claude-code-llm-router

DEPRECATED: Use 'llm-routing' instead. This package provides redirect to the new package.

14K 24 4
Smart-AI-Memory
attune-ai

AI-powered developer workflows with cost optimization and multi-agent orchestration

12K 4 1
Crack525
tokenxray

See where your AI coding tokens actually go.

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

10K 22 4
CommonstackAI
uncommon-route

Automatic LLM router — 82% cost savings, 79.4% accuracy, 93.4% pass rate. Drop-in OpenAI proxy.

8K 524 20
Smart-AI-Memory
attune-author

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

8K 0 0
ptimizeroracle
ondine

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

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

7K 24 4
Smart-AI-Memory
attune-help

Lightweight .help/ runtime reader with progressive depth. Python package for the attune-docs help platform.

5K 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 12 3
tokmacher
tok-protocol

tok is an invisible bridge

3K 0 0
Smart-AI-Memory
empathy-framework

⚠️ DEPRECATED: This package has been renamed to attune-ai. Install attune-ai instead.

3K 4 1
arunrajiah
frostwatch

❄️ Open source, self-hostable AI-powered cost and query observability for Snowflake. Snowflake cost monitoring shouldn't cost more than the savings.

2K 0 0
ojuschugh1
sqz

Compress LLM context to save tokens and reduce costs

2K 269 11
Auctalis
nocturnusai

Python SDK for NocturnusAI — a logic-based inference engine and knowledge database

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

2K 497 58
awesome-pro
smartmemo

Semantic memory and caching for LLM agents with classifier-validated equivalence instead of naive cosine thresholds.

2K 1 0
kosty-cloud
kosty

Scan 30+ AWS services. Find cost waste. Detect security gaps. Map your attack surface. One command.

2K 268 23
    • Data from PyPI, GitHub, ClickHouse, and BigQuery