Topics / #cost-optimization

Cost-optimization projects on GitHub

Tools for estimating and reducing cloud infrastructure spending.

As of , the most-starred Cost-optimization projects on GitHub are infracost (12.6K stars), automq (10.9K stars) and skypilot (10.7K stars). GitHub.Locker tracks 15 Cost-optimization repositories with 80.3K stars combined. The fastest-growing on October 16 was cost-xray, with +206 stars in a day.

15Projects
80.3KStars in total
+232Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

15 projects · by stars

  1. #1 · infracost/infracost

    infracost

    Infracost gives engineers, AI coding agents, and CI/CD pipelines cloud cost estimates and FinOps recommendations for Terraform, Terragrunt, CloudFormation, and AWS CDK before changes are deployed.

    12.6K
  2. #2 · AutoMQ/automq

    automq

    AutoMQ is a diskless, stateless fork of Apache Kafka that stores all log data on S3 or S3-compatible object storage instead of local disks, cutting cloud costs by up to 10x and removing cross-AZ traffic fees.

    10.9K
  3. #3 · skypilot-org/skypilot

    skypilot

    SkyPilot is an open-source system for running, managing, and scaling AI workloads — training, serving, batch inference — on any infrastructure: your own Kubernetes or Slurm clusters, reserved GPUs, or 20+ clouds.

    10.7K
  1. 4

    metaflow

    10.3KNetflix/metaflow · Python

    Metaflow is an open-source Python framework for building, managing and deploying real-life AI and ML systems — from quick prototyping in notebooks to reliable production deployments.

  2. 5

    pxpipe

    7.5Kteamchong/pxpipe · TypeScript

    pxpipe is a local proxy that cuts Claude Code's (and other LLM clients') input token usage by rendering bulky context — system prompts, tool docs, and conversation history — as compact PNG images instead of raw text, since an image's token cost depends on its pixel size, not the amount of text packed into it.

  3. 6

    ClawRouter

    6.6KBlockRunAI/ClawRouter · TypeScript

    ClawRouter is an open-source LLM router built for autonomous agents: it picks the cheapest capable model from 78 models across 9 providers in under 1ms, entirely locally, and lets an agent pay per request with USDC (via the x402 protocol) instead of signing up for a human account.

  4. 7

    router

    5.6Kweave-os/router · Go

    A drop-in proxy that routes every prompt from your coding agent or app to the best available model across Anthropic, OpenAI, Gemini, and OSS models via OpenRouter, cutting inference costs by 40-70% just by swapping the API endpoint.

  5. 8

    cost-xray

    5.4Ktigerless-labs/cost-xray · Python

    cost-xray is a local tool that captures the raw API traffic between Claude Code or Codex and their providers, then breaks down exactly what's in each request and what each part costs — system prompts, tool schemas, MCP blocks, cached vs fresh tokens, and more.

  6. 9

    cascadeflow

    3.9Klemony-ai/cascadeflow · Python

    An open-source in-process intelligence layer (cascading runtime) for AI agents: it sits inside the agent execution loop and optimizes every model call for cost, latency, quality, budget, compliance, and energy.

  7. 10

    ai-agents-the-definitive-guide

    2.8KNicolepcx/ai-agents-the-definitive-guide · Jupyter Notebook

    It is the companion code repository for the book 'AI Agents - The Definitive Guide': a set of runnable Jupyter notebooks that walk through every chapter, from basic agent patterns to production deployment and threat modeling.

  8. 11

    typesafe-computer-use

    1.2Kawlevin/typesafe-computer-use · Python

    A Python agent that drives your Mac toward a goal you type in plain English: it OCRs the screen, a cheap classifier picks each action, and it clicks — about $0.0002 per step.

  9. 12

    hermes-jev-skills

    1.1Kkerpopule/hermes-jev-skills · Python

    Hermes Jev Skills gives an AI agent a cheap, fast 'second brain' for small routine decisions (model routing, memory filtering, skill selection, turn compaction, computer/browser use) so the expensive frontier model only does the writing. The decisions are handled by Jev, TypeSafe's calibrated decision model.

  10. 13

    ai-system-design

    672amitshekhariitbhu/ai-system-design · Markdown

    A free, open-source guide that teaches AI System Design step by step: how to combine GPUs, inference servers, caches, vector databases, AI agents, guardrails, and evals into one system that is fast, cheap, reliable, and safe.

  11. 14

    jev-router

    602gargpratyush/jev-router · JavaScript

    jev-router automatically picks the cheapest capable AI model for each turn in Claude Code or OpenAI Codex, sending simple requests to a fast/cheap tier and hard requests to a stronger tier, while keeping each CLI's native interface, tools, and authentication untouched.

  12. 15

    Astra-Ares

    308miuuyy/Astra-Ares · JavaScript

    Astra-Ares is an experimental tool that lets Jev, an AI evaluator, adapt GPT-6's reasoning effort while a Codex task runs, matching thinking depth to each next step to reduce token usage.

Often tagged together