News for hackers. Stuff that matters.

markaroo

In theory, yes! The nice thing about moving the complexity into your own application logic is that it makes you platform-agnostic. As long as Workday can accept a single, large integer for a 'unit' and multiply it by a price, this pattern stays the same.

Show HN: Bypassing Stripe's 20-item limit for multi-model AI billing

We’ve been building out the usage-based billing for Tonic Fabricate, and I ran into a Stripe limitation that isn’t really advertised but can completely break your checkout flow if you’re doing multi-model AI billing.Like many AI-native applications, Fabricate supports a variety of LLMs (Sonnet, Haiku, Opus, etc.) for various agents and tasks. Users pay for usage by the token. We’d love to use...

( Read More... | 3 comments | 2 points | on HN )
Re:Netflix to Acquire Warner Bros on Friday December 05, 2025 @02:35PM (#46166202)
YouTube and Tiktok are the real winners here. The enshitification of traditional media will accelerate.
Re:Cloudflare is down on Friday December 05, 2025 @08:14AM (#46160841)
React Server Components. Let that sink in. What did they do to us? This is a thing that should not exist, causing pain in the real world.
Re:CSS now has an if() conditional function on Friday December 05, 2025 @08:10AM (#46160797)
if (it's fast) { i'm excited }
Re:Response to "Ruby Is Not a Serious Programming Language" on Monday December 01, 2025 @01:37PM (#46111158)
Ruby is a little silly, but given its pedigree of generational internet projects, Rails is indisputably a serious framework.