What does growth cost?

ProfitCTL is an open-source tool that models AI and infrastructure costs for teams building AI products. See how usage and pricing change your margin before you ship.

Open source · Runs on your machine · No sign-up

Illustrative scenario

Can a $20 plan afford a research feature?

1,000 subscribers pay $20 a month. A research request costs more to serve than a basic answer. Raise usage to see where the margin falls below the 60% target.

60
Gross margin with research
66.5%6.5 points above target
Added cost of research
$4,200 a month
Gross margin as usage grows Basic answersWith research
Explore the cost calculator

Try your own assumptions.

Change the price, user count or requests. Both options use the same sample rates.

Interactive example
Sample costs · 60% margin target

Your assumptions

1,000

How many people use the product?

60

Monthly usage per active user.

$20

The recurring revenue from each user.

Inspect the sample costs

Both options use $400 monthly overhead and $1.50 per user in other variable costs.

A basic answer costs $0.01 per request. A research request costs $0.08.

This example calculates gross margin only. Payment fees, growth over time and stress tests are available in the command-line tool.

Modeled monthly revenue$20,000

Today

Basic answers

Cost / month
$2,500
Gross margin
87.5%
Cost / user
$2.50

With the feature

With research

Cost / month
$6,700
Gross margin
66.5%
Cost / user
$6.70

The feature clears your margin target.

Research adds $4,200 per month. The modeled margin meets the 60% target.

This is an illustration with sample costs. A real decision needs your own rates and usage.

ProfitCTL in action

Watch a margin problem unfold.

This is the real command-line tool, running in your browser. Follow a fictional AI product as usage grows and its margin fails, then see what a lower cost per request does.

profitctl
$ profitctlWatch real commands run against the sample scenarios.
Choose a story step to inspect its result.

A fictional AI product starts with 1,000 users, a $20 plan, and a 60% margin target.

The workflow

From a cost assumption to a decision.

Use saved scenarios to connect each assumption to a cost, a comparison and a margin you can defend.

  1. Start with what changes.

    Describe usage, pricing, model calls, and infrastructure. Keep each cost tied to its source and assumptions.

    Usage + rates + pricing
  2. Put the options side by side.

    Compare a feature, model, deployment, or pricing plan. See the effect on revenue, margin, and cost per user.

    Today → proposed
  3. Set the limits before you ship.

    Test margin and cost targets, including growth and tail risk. Keep the decision evidence in your review.

    Margins + cost targets

Run the same scenario in each tool.

Local CLICodex skillPull request checks

Evidence and assumptions

Keep the evidence with the estimate.

Trace each estimate to its rates, assumptions and margin targets.

  • Source + capture date
  • Confidence + notes
  • Margin + cost targets
Can I use my own costs?

Yes. Save pricing, fixed and variable costs, usage, and targets in a YAML scenario. Compare it with another option, then inspect the output.

What happens when usage grows?

Use simulations and growth scenarios to test margin and cost limits. Tail-risk checks help expose outcomes that an average alone can hide.

What is available today?

The open-source local CLI, Codex skill, and CI output are available. Hosted workspaces, saved team history, and approvals are planned.

Make it yours

Bring one real decision.

Start with a saved comparison. Then replace the assumptions with your own costs and usage.

View on GitHub

This quick start builds from source, so it needs Git and Go. For a ready-made download, see the installation guide.

Terminal · Git + Go
git clone \
  https://github.com/IntelIP/ProfitCtl
cd ProfitCtl
go run . compare \
  examples/hybrid_steady_profit.yml \
  examples/hybrid_profit.yml