Show HN: Hardcount – Self-hosted usage billing for AI products
Category: infrastructure
Tags: billing, usage-based-pricing, ai-infrastructure, self-hosted, stripe, postgres
Score: 6.8/10 (Innovation: 5, Technical: 7, Documentation: 9, Utility: 6)
Hardcount is a self-hosted usage billing system for AI products that prices per model and token type, supports prepaid credit, and generates invoices with Stripe charging. It differentiates from Stripe Billing and Lago by offering a free MIT-licensed edition with per-customer margin reporting and test clocks for safe billing experimentation.
Target audience: backend developers, devops, AI product teams, SaaS operators
Repository: https://github.com/gethardcount/hardcount · Go · MIT · 6 stars
View on Hacker News