Skip to content
← All articles

Founders

How to compare gross margins across customer cohorts for AI coding tools

AI coding tools: Compare customer cohorts using the same cost and revenue definitions.

Compare customer cohorts using the same cost and revenue definitions. A cohort may be organized by start month, product version, acquisition channel, or workload. Make the choice explicit so a change in mix is not mistaken for improved economics.

Start with the decision

Build a revenue-to-delivery-cost bridge for each cohort. Include usage, support, and human work consistently. Keep missing data and one-time onboarding separate, then investigate the drivers behind any difference.

The illustrative scenario

This is an educational workbook. The company or fund and all numerical inputs below are fictional. They are not ADIN results, customer claims, market benchmarks, or a forecast.

The fictional tool proposes small code changes in an internal development environment. Engineers review the patch and run the project's checks before merging. The product's user and the person approving a purchase may be different.

A patch that compiles can still violate the intended behavior. Repository permissions, test coverage, and rollback procedures matter alongside developer enthusiasm.

A monthly cost bridge with visible assumptions

For this exercise, assume 460 completed units in a month, 23 minutes of human work per unit, and a fictional labor rate of $30 per hour. The labor rate, service cost, and revenue are invented inputs. They are not current vendor prices, customer results, or a suggested commercial offer. A patch that compiles can still violate the intended behavior. Repository permissions, test coverage, and rollback procedures matter alongside developer enthusiasm.

The bridge subtracts only the costs shown. The remainder is not an accounting gross margin or profit figure: other expenses, taxes, timing differences, and classifications are outside this simplified model. A negative result is useful information about the assumptions, rather than evidence that an entire product category cannot work.

Now change one input. If the workflow requires twice the review time, the human-work line doubles even when the provider's unit price stays constant. If volume rises, distinguish a genuinely fixed cost from a cost that will step up. Reconcile the model with observed delivery logs before using it to support a pricing or fundraising claim.

Worked example: AI coding tools
ItemIllustration
Completed workflow units460
Assumed revenue for this month$2,600.00
Variable service cost460 × $0.35 = $161.00
Listed fixed delivery cost$600.00
Human work at an assumed $30/hour$5,290.00
Remainder after these listed costs-$3,451.00

Use this worksheet

Answer the questions with a source, date, owner, and next action. Mark an unknown as unknown. Use public or permissioned information and involve a qualified specialist when a question requires expertise beyond the team’s competence.

  1. What defines the cohort?
  2. Are revenue periods aligned?
  3. Which costs are included?
  4. What data is missing?
  5. Which change explains the difference?

Questions specific to this scenario

  • Who owns the repository permission?
  • Which tests represent the intended behavior?
  • How is a bad change rolled back?

Track accepted and rejected patches, tests run, review comments, and downstream fixes. Use representative repositories that the team is authorized to process.

A concrete next test

Select a small accepted patch and a rejected patch from an authorized repository. Ask the maintainer to explain the intended behavior and the checks used. Record whether the tool shortened review or merely moved investigation into a different step.

Interpret the result

A better blended margin can arise because the customer mix changed. Look at comparable cohorts before crediting a product improvement, and use qualified finance review for formal gross-margin reporting.

Compare time to a reviewed, accepted change with the existing workflow. Count investigation and rework rather than treating generated lines as delivered value.

Sources and method

These primary resources provide background for the concepts. The fictional scenario, calculations, and worksheet are ADIN educational examples; the sources do not report or validate those invented results. Reviewed October 11, 2026.