Throughput & cost
Compare the combined cost of your AI tools and engineering work against the stories, pull requests, and code your teams deliver.
Available at AI impact → AI ROI → Throughput & cost
Throughput & cost puts cost and output side by side, so you can see what your organization spends per unit of delivered work and whether that number is moving. It combines AI token usage from your AI coding tools with the estimated cost of engineering time, then divides it by the stories, pull requests, and code your teams ship.
This helps you answer questions your finance and leadership teams tend to ask: What are we spending per story or pull request? How much of our engineering cost is AI tools now? Is the AI spend translating into more output per engineer?
Pick a timeframe and optionally a team to drill into. Everything is bucketed by calendar month, and all amounts are shown in US dollars.

Total cost
The first chart stacks developer cost and AI token usage per month, so you can see how the two move relative to each other. Alongside it you get the timeframe totals: developer cost, AI token usage, AI token usage per FTE per month, and AI token usage as a share of total cost.
Throughput and cost per unit
Each section pairs a measure of output per FTE per month with its matching cost per unit:
Issue throughput shows completed stories or epics and their cost. Use the Stories and Epics tabs in this section to choose the issue type.
PR throughput shows merged pull requests and their cost.
Code throughput shows lines changed and their cost. Select Exclude test files in this section to measure non-test lines instead. Swarmia identifies test files using your test file rules.
Throughput is divided by developer effort rather than headcount, so growing or shrinking teams don't distort the trend. The cost charts stay stacked into developer cost and AI token usage, which shows you whether a change in unit cost comes from AI token usage or from engineering time.
Team breakdown
The table at the bottom breaks the same metrics down by team. Select a team to drill into its child teams, and download the table as a CSV.
How the costs are calculated
Both cost components are estimates, and each has its own caveats:
AI token usage is the list price of tokens consumed by your AI coding tools, based on the AI coding tool integrations. It isn't your invoice, and it doesn't include seat or subscription fees.
Developer cost is estimated from developer effort and an organization-wide average: a team's monthly FTE multiplied by one twelfth of your configured average yearly developer cost.
To get developer cost, an organization admin needs to turn on Show estimated cost and set an Average yearly developer cost in Settings → Organization → General. The figure should cover salary, benefits, and overhead. Until it's set, the Throughput & cost tab shows AI token usage only, and the cost-per-unit metrics reflect AI token usage alone. Estimated developer cost is visible to admins only.
If you configure the average developer cost in euros, Swarmia converts it to US dollars at a fixed rate so both cost components share one currency.
What good looks like
Start with the AI cost share, because it tells you where your effort is worth spending. If AI spend is a small fraction of developer cost, the upside is in getting more out of the tools, not in trimming the tool bill: shaving a few percent off a small AI cost barely moves the total, while a real gain in throughput per FTE does. Cutting AI cost is worth the attention once it makes up a significant share of your total cost.
From there, read the page as a trend rather than as a single month.
Is the AI spend paying off?
AI cost share climbing while cost per unit falls. You're trading engineering time for tool spend and getting more out per unit of effort.
AI cost share climbing while cost per unit holds or rises. The spend isn't translating into output yet.
How has the shape of the work changed?
The three unit costs often move in different directions. Read together, they tell you what changed about the work, not just whether it got cheaper.
Cost per line changed falls while cost per merged pull request rises. Your pull requests are getting bigger: AI produces more code per change, but each change still needs a review. Check batch size and review time in code metrics to see whether review has become the constraint.
Cost per merged pull request falls while cost per story holds. The code is flowing faster, but there's no clear increase in customer-facing increments. That points at something outside coding, such as scoping.
What the numbers don't tell you
Cost per issue is the closest thing here to a business outcome, so it's also the one worth questioning: does one story or epic still represent the same amount of customer value it did a year ago? Teams that change how they work with AI tools might change how they split and size issues too.
Treat the unit costs as directional rather than exact. They measure output, not the value of what you shipped, so pair them with quality signals like DORA metrics. For the wider picture, see the guide on understanding the impact of AI tools.
Calculating ROI
If you need a single ROI (return on investment) figure on your AI spend, compare a current period with a deliberate pre-AI baseline:
ROI = ((current throughput per FTE / baseline throughput per FTE − 1) × current developer cost − current AI token usage) / current AI token usage
Use the same output measure (lines, PRs, stories, or epics), timeframe length, and comparable work in both periods. Use a baseline period where AI wasn't in use and AI token usage was zero (or negligible). Note that a baseline can become stale as seasonality, work mix, team composition, or processes change, and marginal ROI from small token-usage changes is noisy. Use a controlled rollout or cohort comparison where possible.
Requirements and limitations
AI token usage requires data from a supported AI tool integration, including custom AI tools.
Issue throughput and cost per story require an issue tracker integration, with issues mapped to the story and epic issue types.
Lines changed counts merged pull requests and excludes auto-generated files.
FTE follows the usual effort rules: effort counts the working days someone was active, and each person contributes at most 1.0 FTE per month. Authors need their Git and AI tool accounts connected on the Authors page for their AI token usage and effort to land on a team.
The current, incomplete month is included in the charts, so the latest data point moves as the month fills in.
Frequently asked questions
Why don't the figures match what we pay for AI tools?
AI token usage is the list price of the tokens your tools consume, including the harness. Seat and subscription fees aren't included, and on plans where heavy usage doesn't increase your bill, it won't match your invoice.
Why is developer cost missing?
Either cost estimation isn't set up yet, or your user role doesn't allow you to see estimated cost. Admins can turn it on in Settings → Organization → General.
Further reading
Measuring AI ROI takes more than one number by Miikka Holkeri, Product Manager · Sep 28, 2026
Last updated
Was this helpful?