# Hardcount > Hardcount is an open-source (MIT), self-hosted usage-billing engine for AI products: it prices tokens per model, sells prepaid credit, shows margin per customer, makes invoices, and charges cards through Stripe. These docs describe Hardcount v0.12.0. The API reference is the OpenAPI spec below. - [OpenAPI spec](https://gethardcount.com/openapi.yaml): every endpoint, request and response; use it to generate a client - [Product](https://gethardcount.com/product/): what Hardcount does - [Pricing](https://gethardcount.com/pricing/): free and MIT-licensed; what running it costs - [Compare](https://gethardcount.com/compare/): Hardcount next to Stripe Billing, Lago, OpenMeter, Flexprice and Kill Bill - [FAQ](https://gethardcount.com/faq/): cost, safety for real money, lock-in, who maintains it ## Documentation Sets - [Abridged documentation](https://gethardcount.com/llms-small.txt): a compact version of the documentation for Hardcount, with non-essential content removed - [Complete documentation](https://gethardcount.com/llms-full.txt): the full documentation for Hardcount ## Notes - llms-full.txt has every guide, concept and API page. Each endpoint is in the OpenAPI spec, /openapi.yaml. Design records, the changelog and contributor pages are left out. - The content is automatically generated from the same source as the official documentation