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.
Hot right now
Most stars gained in a day · Nov 30
+146experiential
experientiallabs/experiential · ★ 20.1KExperiential 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.
+34TokenEconomizer
microsoft/TokenEconomizer · ★ 8.3KTokenEconomizer 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.
+25ai-system-design
amitshekhariitbhu/ai-system-design · ★ 898A 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.
+11semantic-router
vllm-project/semantic-router · ★ 6.5KAn 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.
The all-time top
20 projects · by stars
- 20.1K
#1 · experientiallabs/experientialexperiential
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.
- 12.6K
#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.
- 10.9K
#3 · AutoMQ/automqautomq
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.
- 4

skypilot
10.9Kskypilot-org/skypilot · PythonSkyPilot 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.
- 5

metaflow
10.4KNetflix/metaflow · PythonMetaflow 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.
- 6

TokenEconomizer
8.3Kmicrosoft/TokenEconomizer · PythonTokenEconomizer 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.
- 7

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

ClawRouter
6.7KBlockRunAI/ClawRouter · TypeScriptClawRouter 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.
- 9

semantic-router
6.5Kvllm-project/semantic-router · GoAn 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.
- 10

cost-xray
5.8Ktigerless-labs/cost-xray · Pythoncost-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.
- 11

router
5.6Kweave-os/router · GoA 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.
- 12
cascadeflow
3.9Klemony-ai/cascadeflow · PythonAn 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.
- 13

OrcaRouter-Lite
3.4KContinuum-AI-Corp/OrcaRouter-Lite · PythonA 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.
- 14

ai-agents-the-definitive-guide
3KNicolepcx/ai-agents-the-definitive-guide · Jupyter NotebookIt 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.
- 15

hermes-jev-skills
1.4Kkerpopule/hermes-jev-skills · PythonHermes 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.
- 16
typesafe-computer-use
1.3Kawlevin/typesafe-computer-use · PythonA 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.
- 17

ai-system-design
898amitshekhariitbhu/ai-system-design · MarkdownA 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.
- 18

deepseek-api-pricing-2026
672benderandrew069/deepseek-api-pricing-2026A 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.
- 19

jev-router
670gargpratyush/jev-router · JavaScriptjev-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.
- 20
Astra-Ares
316miuuyy/Astra-Ares · JavaScriptAstra-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.
Related topics
Often tagged together