Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: