Hardcount

Hardcount is a software project built with billing, usage-based, self-hosted, listed on Viber's Vault, a community directory of vibe-coded and AI-assisted software. It is available at github.com.

⚡ Hardcount is self-hosted, usage-based billing for AI products—giving you clear, reliable control over what customers use and what you earn. Built in Go, it tracks LLM consumption and lets you set pricing by model and token, so costs and charges stay aligned as your product scales. 💳 Support prepaid credits, monitor usage per customer, and understand your margins without relying on a hosted billing platform. Hardcount offers an alternative to Stripe Billing and Lago for teams that want more…

Tags: billing, usage-based, self-hosted, stripe, go, llm, ai billing, usage-based billing, token metering, prepaid credits

Live demo

Source code

Browse more projects on Viber's Vault