OpenChargeback
I looked at enterprise FinOps platforms. They had slick dashboards with rounded corners, AI anomaly detection, and plenty of multi-cloud cost optimization. They also wanted a lot of money, and ideally a dedicated person to run them and get the project off the ground. If I wanted it to happen, that person would have to be me.
Research groups aren’t enterprise operations with billing teams. There are department admins, but fewer of them than there used to be, and they don’t want to spend their time chasing down receipts and invoices. Centralized purchasing platforms leave a lot to be desired.
A lot of usage that could or should be charged for falls through the cracks. Over time, researchers come to believe these resources are “free”. On the tech side, we know “not being charged” and “free” are rarely the same thing. Here, the cost gets absorbed into overhead, and faculty will tell you so: “That’s what my overhead is for!”
Central teams don’t bill because it’s an obnoxious manual process that has resisted automation, and there’s no common interchange format. Distributed academic IT teams don’t bill for the same reasons, and also because it’s hard to bill for something you don’t want them to pay for. We gave away so many pieces of hardware to research groups just to keep their labs running smoothly: network cables, RAM, an extra SSD here or there.
If they want new equipment, no problem. We send a shopping cart from our trusted VAR, they approve it, and it shows up a few days later. But if they’re okay with old stuff we have on hand, I don’t want to haggle with a grad student over what a two-year-old 250GB SSD is worth. Or two 8GB sticks of DDR3 that have been on the shelf for eight years but could make an old machine they need for a project usable.
I just want to give it to them, say “good luck!”, and move on with my day. What I want out of it is to show the researchers the value their IT staff provided, whether or not anyone pays.
So I built the tool I needed to close the gap.
The core insight
Show the list price even when the bill is zero.
If a PI’s HPC allocation is fully subsidized by a departmental grant or free-tier access, they still see: List Price $2,400 / Discount -$2,400 / Amount Due $0. Most billing systems would skip that line entirely, and it’s the main reason this tool exists. When IT goes to the budget folks asking for $2M to refresh the storage array, someone’s going to ask “Is it worth it?” The zero-dollar statements answer that. They make the value of institutional infrastructure visible for grant budgets, for annual reports, and for the conversation that decides whether an upgrade gets funded next year.
How it works
Everything flows through the FOCUS format, the FinOps Foundation’s open billing standard. AWS billing exports, Azure cost data, Slurm job records, storage utilization reports: if it can produce a CSV, OpenChargeback can ingest it. FOCUS is the common interchange, and everything normalizes into the same shape before a single charge gets calculated.
A month moves through a fixed sequence: import, review, generate statements, close, close package, finalize.
- Review: charges get flagged by configurable rules (missing PI or fund, a pattern like “sandbox,” an unrecognized account code), and a reviewer approves or rejects each one.
- Close a billing period and it locks against new imports. You can still reopen it.
- Finalize it and the numbers are permanent. Corrections go into the next period as adjustments.
The window before finalize is where institutional trust gets built. Nobody wants to argue about a charge they saw for the first time on a finalized statement.
The deliverable at the end of the month is a close package: one hashed bundle, as a ZIP or a PDF portfolio, holding the original source files, the statements exactly as emailed, the journal export, the proof-of-send log, and the audit trail. The bytes are deterministic, so the same month always produces the same hash. Research accounting keeps the package. That lets OpenChargeback step down from system of record to flight-data recorder, and the audit liability sits with whoever holds the package.
The output is template-driven:
- PDF statements for PIs, emailed monthly.
- GL journal entries for finance, plus a workflow to close out each month once the list of charges is received.
- CSV exports for anything else.
The templates are Jinja2, so whatever format your institution’s systems take, you write a template for it. It’s meant to fit into what you already have without replacing it. There’s also templated text you can paste into your institution’s agentic coder or web chat, so it knows exactly where to look and what questions to ask you to customize it for your needs.
Right-sized by design
SQLite instead of Postgres, because I didn’t want to build a multi-tenant platform before anyone asked for one. SQLAlchemy underneath, so if someone does want to scale it up, that path exists. Python with FastAPI, Jinja2 templates, and htmx, plus a Typer command line that shares the web app’s engine. No front-end build step, no external services, no enterprise contract. A single research computing person can deploy, configure, and maintain it without a team.
It’s about 11,500 lines of Python with 379 tests, and the docs cover authentication, role-based access (admin, reviewer, viewer), an audit trail, and a software bill of materials. There are also five instructional videos — what it is and isn’t, importing data, reviewing charges, statements and close, and setup — scripted with my Instructional Videos as Code project, IVaC.
Once the cloud providers were working, it became clear the same approach works for anything with usage metadata: Kubernetes clusters, Docker hosts, file storage, GPU allocations. If you can attach tags to a resource, you can generate usage invoices from it.
The whole application is metadata-driven, and the governance model is up to you. You don’t need to configure the app or pre-stage your users. The FOCUS imports are the source of truth, and all the needed metadata (faculty names, email addresses, account numbers, etc.) comes in through billing tags. It’s convention over configuration. Tag your resources when they’re created in the cloud, and everything else just works. If you want, you can also set rules on your cloud platform of choice to enforce a tagging schema, and decide how you monitor compliance.
The other half
OpenChargeback answers “here’s what it cost.” Its companion, OpenResearchDataPlanner, answers the question that comes first: “what will this cost?” One is for planning, and one is for accountability. Both are built to be forked and owned: clone it, customize the config for your institution, and run it.
I built these because I needed them. Some institutions already have enterprise solutions in place. If yours doesn’t, these two projects are meant to help. Both are MIT licensed.
Where it stands
Version 0.4.1, marked alpha, 95 commits from January to July 2026. Claude co-authored nearly all of it (86 of the 95 commits carry its trailer), and I directed the design and decided what it should and shouldn’t do. OpenChargeback is deliberately a record of what already happened: it doesn’t approve spending or enforce budgets. The repo includes a write-up on putting budget guardrails upstream of it, as a separate system.