danielkremen818/ultracost

3 stars · Last commit 2026-06-14

Cut Claude Code dynamic-workflow costs: pin the right model + effort on every subagent stage, estimate spend before launch, and block scripts that would silently run every stage on Opus.

README preview

<div align="center">

<img src="https://raw.githubusercontent.com/danielkremen818/ultracost/main/assets/logo.png" alt="ultracost logo" width="150">

# ultracost

**Per-stage model routing for Claude Code dynamic workflows.**

Stop a single `ultracode` fan-out from running 40 subagents on Opus by accident.

[![npm](https://img.shields.io/npm/v/ultracost.svg)](https://www.npmjs.com/package/ultracost)
[![CI](https://github.com/danielkremen818/ultracost/actions/workflows/ci.yml/badge.svg)](https://github.com/danielkremen818/ultracost/actions/workflows/ci.yml)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![node](https://img.shields.io/badge/node-%3E%3D24-brightgreen.svg)](https://nodejs.org)

</div>

---

## About

View full repository on GitHub →