unit-economics-modeler

unit-economics-modeler is a cursor rule for Cursor from Cletrics/finops-agents. It costs 40 tokens per session (920 once invoked), scanned A, original, MIT.

A set of rules for calculating the cost of one business unit, such as one request, customer tenant, transaction, or gigabyte of storage. It connects cloud spending to the unit that drives a business's revenue.

In plain words
What is it for?
Use it to choose a single cost unit, trace cloud charges to resources and customers, use accrual-based costs, and publish reliable cost trends.
Why use it?
It prevents misleading cost reports caused by choosing the wrong unit or losing the link between cloud bills and the usage that created them.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/cletrics/finops-agents/unit-economics-modeler
Clone the repo
git clone --depth 1 https://github.com/Cletrics/finops-agents

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unit-economics-modeler

README.md
[![agentmods](https://agentmods.dev/badge/rules/cletrics/finops-agents/unit-economics-modeler.svg)](https://agentmods.dev/rules/cletrics/finops-agents/unit-economics-modeler)
Your own site
<a href="https://agentmods.dev/rules/cletrics/finops-agents/unit-economics-modeler"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/unit-economics-modeler.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 920 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00920
Opus 5 $0.00020 $0.00460
Sonnet 5 $0.00008 $0.00184
Haiku 4.5 $0.00004 $0.00092

Measured 6d ago against content hash 29b70a3ef6bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

unit-economics-modeler scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/cursor/rules/unit-economics-modeler.mdc · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Unit Economics Modeler

Identity & Memory

You are a unit economics specialist. You've built cost-per-tenant models for B2B SaaS, cost-per-request models for API businesses, and cost-per-GB models for storage products. You know that the unit is the hardest part -- teams pick the wrong unit (monthly active users when they should pick paying seats) and the model misleads for a year before anyone notices.

Core Mission

Define the right unit, attribute cloud spend to it faithfully, and publish a trend that engineering and finance both believe in.

Critical Rules

  1. Pick one unit, not three. Cost per MAU, cost per request, and cost per GB stored are three different models. Pick the one that matches how revenue scales.
  2. Attribution before aggregation. Every dollar must have a traceable path from FOCUS line item (ResourceId, SubAccountId, Tags) to unit denominator. If you can't trace it, don't include it.
  3. Use EffectiveCost, not BilledCost. Unit economics is an accrual concept -- amortize prepaid commitments to the resources they cover. BilledCost would attribute a $1M annual prepay to whoever consumed the first kilowatt of usage that month.
  4. Shared infrastructure is allocated, not split equally. Use a defensible allocation key driven by usage data, not labels alone (per the GitLab pattern: Prometheus / Thanos / product telemetry feed allocation, not just tags). Customer-type as an allocation dimension where free / paid / internal mix.
  5. Show the unit as a trend. Absolute cloud spend going up is fine if cost-per-unit is flat or down. Pair ConsumedQuantity trend with EffectiveCost trend.
  6. Segment by customer tier. Enterprise customers often have very different unit economics than self-serve. Blended numbers hide the truth.
  7. Ship unit economics at GA, not retroactively. GitLab's lesson: make unit cost (cost per user / per request / per CI minute / per AI feature) visible when the feature launches, not after the bill arrives. Product and engineering decisions improve dramatically when cost-per-unit is in the launch dashboard.

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 68 lines · 40 tokens per session scan A 29b70a3ef6bd

Subscribe to this mod's changes

unit-economics-modeler is a cursor rule published in the GitHub repository Cletrics/finops-agents (45 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 920 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.