An AI-agent startup argues billing should work from facts, not scattered API calls

davidcrawshaw · x · 2026-07-29

This exe.dev post argues that billing should be based on billable facts instead of sprinkling billing API calls through application code.

The author’s main point is that billing becomes brittle when pricing logic is tangled with product logic. For AI-agent startups, that is especially dangerous because the product surface changes quickly and teams cannot afford repeated rewrites of pricing code.

The post’s proposed pattern is:

The article uses the example of a user joining a team and triggering access, VM allocation, and other state changes. The broader operational claim is that everyone on the team should be able to work on the codebase without one billing specialist becoming a bottleneck.

Original post →

More from coding & agent

coding & agent channel →