Skip to main content
All blogs

A pricing engine that turns vendor prices into margins

A small library that prices AI products from incompatible vendor rates and shows what a business model earns, month by month.

A pricing engine that turns vendor prices into margins: cover
Client
h1902y
Year
2026
Status
Experiment
Timeline
Started October 2026

The problem

AI vendors price in different units: per minute, per message, per seat, per token. Founders cannot tell what a product costs or earns without a spreadsheet.

What we built

  • Rate cards for variable, fixed, step and grant pricing, with exact decimal maths
  • Recipes that combine vendors into a product, and scenarios that show revenue, cost, margin and payback month by month
  • Versioned price cards that record the source page and the date they were checked
  • A first card for Retell

Stack

  • TypeScript
  • Zod
  • Vitest

Where it landed

  • 17 automated tests passing
  • Feeds the multi-tenant platform’s pricing decisions

Want something like this?

Tell us the idea in a few lines. We will say what week one looks like.