NextfitProductivity & docs

paulfxyz/cheap-inference

A set of small Python tools and a guide for cutting what you spend on language models.

DOES IT FIT?
Maybe

Cheap to try and MIT-licensed, but one maintainer, a young repo, and savings not measured on your usage.

High confidence. AI review, 2026-12-02. No person checked it. Based on the README, activity, licence and health signals.
Best for
Developers and small teams running LLM apps on paid model APIs.
Good for
Software development
Setup
Easy
Licence
MIT · free to use and change

Business fit

Shows which prompt parts and long sessions drive token spend, before you pay for them.

Technical fit

Standard-library Python with no dependencies. Runs locally with no hosting. Reports 151 tests.

Try it locally

git clone https://github.com/paulfxyz/cheap-inference.git
cd cheap-inference
python tools/tokens.py templates/AGENTS.md
python tools/budget.py examples/budget.json

Project health

Check it yourself

README · Releases · Issues · Pull requests · Commits · Security · Licence

Open in Nextfit → · the original on GitHub

More in Productivity & docs

All Productivity & docs projects, best rated first