cost-control

Open repos and models their makers tagged cost-control, most starred first. The same for everyone.

Run my own servicesRepo

ccLoad

Self-hosted AI API gateway for Claude Code, Codex and Gemini: pool API keys and subscription accounts behind one endpoint with failover, protocol conversion and cost tracking.

  • 444
  • Go
  • MIT
  • 5 h ago
caidaoliTake it
AI agentsRepo

loopgain

An open-source cost controller for AI agent loops — stops a loop when it's actually converged and rolls back before it degrades, instead of running to a fixed max_iterations cap. Real-time loop-gain (Aβ) bands + best-so-far rollback. Adapters for LangGraph, CrewAI, AutoGen, LangChain, OpenAI Agents, and Claude Agent SDK; raw API for custom stacks.

  • 127
  • Python
  • Apache-2.0
  • 3 wk ago
loopgain-aiTake it
AI on my own machineRepo

rightsize

Make every Claude token count. rightsize picks the right model and effort for each prompt, while keeping cache and context costs low. It learns how you work and gets better over time.

  • 43
  • TypeScript
  • MIT
  • 9 h ago
archid21Take it
AI agentsRepo

treasury

Cost governance for Massive Intelligence (IM) agent orchestration: hard per-request, per-task, and per-day USD budgets with depletion events, pre-flight cost forecasting, prefix-cache break-even planning across sixteen provider profiles, and cheapest-first cascade routing. Zero dependencies, node-free core, deterministic, TypeScript-first.

  • 1
  • HTML
  • Apache-2.0
  • 5 mo ago
Search GitHub and Hugging Face for cost-control

Get , open it once and sign in. Then come back here and press the button again.