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 experiential (20.1K stars), infracost (12.6K stars) and automq (10.9K stars). GitHub.Locker tracks 20 Cost-optimization repositories with 121.4K stars combined. The fastest-growing on November 30 was experiential, with +146 stars in a day.

20Projects
121.4KStars in total
+264Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

20 projects · by stars

  1. #1 · experientiallabs/experiential

    experiential

    Experiential is an open source gateway and router for agent workflows that lets you use hosted, BYOK, and local models through one OpenAI-compatible API, control who can spend how much on which models, and turn production traffic into a custom optimized router or your own fine-tuned model.

    20.1K
  2. #2 · 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
  3. #3 · 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
  1. 4

    skypilot

    10.9Kskypilot-org/skypilot · Python

    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.

  2. 5

    metaflow

    10.4KNetflix/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.

  3. 6

    TokenEconomizer

    8.3Kmicrosoft/TokenEconomizer · Python

    TokenEconomizer is an experience-driven system that makes coding agents (like Claude Code or Codex) cheaper to run in repositories you use often, without modifying the agent itself. It learns from past sessions in a repository and uses that experience to cut waste in future sessions.

  4. 7

    pxpipe

    8Kteamchong/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.

  5. 8

    ClawRouter

    6.7KBlockRunAI/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.

  6. 9

    semantic-router

    6.5Kvllm-project/semantic-router · Go

    An open, programmable decision layer that picks or combines LLMs for each call, guided by your own policy, so one API can front many models across local, private, and cloud compute.

  7. 10

    cost-xray

    5.8Ktigerless-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.

  8. 11

    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.

  9. 12

    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.

  10. 13

    OrcaRouter-Lite

    3.4KContinuum-AI-Corp/OrcaRouter-Lite · Python

    A self-hosted server that sits between your apps and LLM providers. It exposes an OpenAI-compatible API, routes each request to the providers whose keys you add, and can fall back to the hosted OrcaRouter when local keys fail.

  11. 14

    ai-agents-the-definitive-guide

    3KNicolepcx/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.

  12. 15

    hermes-jev-skills

    1.4Kkerpopule/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.

  13. 16

    typesafe-computer-use

    1.3Kawlevin/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.

  14. 17

    ai-system-design

    898amitshekhariitbhu/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.

  15. 18

    deepseek-api-pricing-2026

    672benderandrew069/deepseek-api-pricing-2026

    A documentation guide that explains how to estimate monthly costs for DeepSeek's API, covering the deepseek-flash and deepseek-v4-pro models, cache-hit versus cache-miss input pricing, and peak versus off-peak hour pricing.

  16. 19

    jev-router

    670gargpratyush/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.

  17. 20

    Astra-Ares

    316miuuyy/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