Hacker News new | ask | show | jobs
by Koshima 376 days ago
I am building Flexprice, an open source metering and billing platform for AI and agentic-based companies. I've recently published a guide showing how to replicate Clay's credit-pricing model.

This guide includes: - Configuring recurring credit grants (e.g., 100 credits/month) - Capping rollover at 2× monthly allocation - Real-time metering (e.g., 10 credits to create a table; 1.5 per-row on enrichment) - Monthly vs annual billing models, credit expiry rules

This addresses a challenge many SaaS/AI/API products face: building transparent, usage-aligned pricing that’s easy to iterate on.

Would be grateful for HN feedback especially around edge cases or UI/UX when exposing credit consumption to users.

1 comments

This is super helpful!

Really like the direction Flexprice is going. Excited to see more OSS approaches in the billing space, it’s long overdue.