<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mateo Paz</title>
    <description>The latest articles on DEV Community by Mateo Paz (@mateo_paz).</description>
    <link>https://dev.to/mateo_paz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4278646%2Fcb4454dc-ad05-4072-8dd7-bada9b843fd3.png</url>
      <title>DEV Community: Mateo Paz</title>
      <link>https://dev.to/mateo_paz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mateo_paz"/>
    <language>en</language>
    <item>
      <title>The unit cost of finished software work, in 5 steps</title>
      <dc:creator>Mateo Paz</dc:creator>
      <pubDate>Wed, 02 Dec 2026 14:09:41 +0000</pubDate>
      <link>https://dev.to/mateo_paz/the-unit-cost-of-finished-software-work-in-5-steps-4c3e</link>
      <guid>https://dev.to/mateo_paz/the-unit-cost-of-finished-software-work-in-5-steps-4c3e</guid>
      <description>&lt;p&gt;What did each unit of shipped software work cost? Most teams cannot answer this question. They know the cost per hour, the AI token bill and the number of merged pull requests. None of these is the unit cost of finished work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Unit cost = total cost of the period ÷ units of finished work in the same period&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Both sides of the formula must be complete:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The total cost&lt;/strong&gt; has all the inputs: salaries, vendor invoices, AI seats, tokens and the review time that engineers spend on AI work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The units of finished work&lt;/strong&gt; count only work that shipped, and each unit is weighted by its size and complexity. A 1-line fix and a new payment flow are not the same unit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If 1 side is not complete, the number is not a unit cost. Token spend per pull request leaves out the people. Cost per hour leaves out the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  The units that teams use today
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Unit&lt;/th&gt;
&lt;th&gt;What it shows&lt;/th&gt;
&lt;th&gt;What it misses&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Cost per hour&lt;/td&gt;
&lt;td&gt;The price of time&lt;/td&gt;
&lt;td&gt;The result. AI agents do not bill hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost per story point&lt;/td&gt;
&lt;td&gt;The cost of sized work in 1 team&lt;/td&gt;
&lt;td&gt;Teams size points differently, so no comparison&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost per merged pull request&lt;/td&gt;
&lt;td&gt;The cost of shipped changes&lt;/td&gt;
&lt;td&gt;A small and a large pull request count the same&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Output per AI dollar&lt;/td&gt;
&lt;td&gt;What AI spend returns&lt;/td&gt;
&lt;td&gt;The cost of people, the largest cost in software work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost per outcome&lt;/td&gt;
&lt;td&gt;The cost of a business result&lt;/td&gt;
&lt;td&gt;The unit changes for each project, so no benchmark&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost per sized unit of finished work&lt;/td&gt;
&lt;td&gt;The total cost of sized, shipped work&lt;/td&gt;
&lt;td&gt;Needs a scoring model that both sides accept&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The 5 steps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Choose 1 period.&lt;/strong&gt; Use 1 full month. Shorter periods move too much.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add every cost.&lt;/strong&gt; Salaries of the team, vendor invoices, AI seats, tokens, and the review time of engineers on AI work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score the finished work.&lt;/strong&gt; Score each shipped pull request, ticket and document on the same scale. Do not count work in progress.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Divide.&lt;/strong&gt; Total cost ÷ units of finished work, for each team, vendor and AI agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put quality beside it.&lt;/strong&gt; Add the rework rate. A low unit cost with high rework is not a low cost.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Example: 1 month, 1 team, 2 vendors and AI agents
&lt;/h2&gt;

&lt;p&gt;These are example numbers:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;Units&lt;/th&gt;
&lt;th&gt;Total cost&lt;/th&gt;
&lt;th&gt;Cost per unit&lt;/th&gt;
&lt;th&gt;Rework&lt;/th&gt;
&lt;th&gt;Cost per unit after rework&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;In-house team&lt;/td&gt;
&lt;td&gt;1,100&lt;/td&gt;
&lt;td&gt;$242,000&lt;/td&gt;
&lt;td&gt;$220&lt;/td&gt;
&lt;td&gt;5%&lt;/td&gt;
&lt;td&gt;$232&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor B, nearshore&lt;/td&gt;
&lt;td&gt;800&lt;/td&gt;
&lt;td&gt;$152,000&lt;/td&gt;
&lt;td&gt;$190&lt;/td&gt;
&lt;td&gt;9%&lt;/td&gt;
&lt;td&gt;$209&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor C, offshore&lt;/td&gt;
&lt;td&gt;600&lt;/td&gt;
&lt;td&gt;$108,000&lt;/td&gt;
&lt;td&gt;$180&lt;/td&gt;
&lt;td&gt;14%&lt;/td&gt;
&lt;td&gt;$209&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI agents, with review&lt;/td&gt;
&lt;td&gt;500&lt;/td&gt;
&lt;td&gt;$55,000&lt;/td&gt;
&lt;td&gt;$110&lt;/td&gt;
&lt;td&gt;10%&lt;/td&gt;
&lt;td&gt;$122&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;"Cost per unit after rework" divides the cost by the units that did not come back. Vendor C has the lowest rate before rework. After rework, it costs the same as Vendor B. The AI agents have the lowest unit cost, but only for the work they can do.&lt;/p&gt;

&lt;p&gt;The next decisions are clear: renegotiate Vendor C on the quality rule, and move more small, well-specified work to the agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who uses the unit cost
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CFOs:&lt;/strong&gt; to see what the engineering budget and the AI budget bought.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consulting and IT services firms:&lt;/strong&gt; to quote a project by results and protect the margin of each account when AI agents do more of the work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Buyers of outsourced software:&lt;/strong&gt; to compare vendors on 1 scale and renegotiate contracts with data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CTOs:&lt;/strong&gt; to decide which work goes to engineers, to vendors and to AI agents.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Using AI spend as the total cost.&lt;/strong&gt; In software work, people are most of the cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Counting work in progress.&lt;/strong&gt; Only shipped work is finished work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Comparing story points across teams.&lt;/strong&gt; Each team sizes points in its own way.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reading the unit cost without quality.&lt;/strong&gt; Rework moves the real cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Using the numbers to rank engineers.&lt;/strong&gt; Measure teams, vendors, agents and work, not individuals.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;The full guide compares 9 platforms that track a part of this cost: &lt;a href="https://pensero.ai/blog/unit-cost-finished-software-work" rel="noopener noreferrer"&gt;Platforms that track software work unit cost&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;At Pensero, the unit is the delivery point (magnitude × complexity), scored after the work ships, the same way for people and AI agents. Related: &lt;a href="https://pensero.ai/blog/cost-per-merged-pull-request-ai-agents" rel="noopener noreferrer"&gt;Is cost per merged pull request a good metric?&lt;/a&gt;&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>finops</category>
      <category>ai</category>
      <category>management</category>
    </item>
    <item>
      <title>Why hourly rates break when AI agents write the code</title>
      <dc:creator>Mateo Paz</dc:creator>
      <pubDate>Wed, 02 Dec 2026 13:43:46 +0000</pubDate>
      <link>https://dev.to/mateo_paz/why-hourly-rates-break-when-ai-agents-write-the-code-12h8</link>
      <guid>https://dev.to/mateo_paz/why-hourly-rates-break-when-ai-agents-write-the-code-12h8</guid>
      <description>&lt;p&gt;Most software services contracts still sell hours. A firm bills 2,500 hours at $60, and the client pays $150,000 each month. This model worked while 1 hour of work gave about the same result in every team.&lt;/p&gt;

&lt;p&gt;AI agents break this link. When agents write part of the code, the same scope takes fewer hours. The firm delivers more work and gets less revenue. The client gets more work, but the invoice does not show it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes when agents do part of the work
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hours go down.&lt;/strong&gt; The same scope takes fewer hours, so hourly revenue goes down.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The invoice shows effort, not results.&lt;/strong&gt; A timesheet does not tell the client what shipped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The market moves.&lt;/strong&gt; In November 2026, FPT Software said it moves away from the hourly billing model, and Baker McKenzie said it looks to stop using the billable hour as its default.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  An example with numbers
&lt;/h2&gt;

&lt;p&gt;These are example numbers for 1 client:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;Months 1 to 3 (hours, baseline)&lt;/th&gt;
&lt;th&gt;Months 4 to 6 (hours, AI agents)&lt;/th&gt;
&lt;th&gt;Months 7 to 9 (fixed fee from finished work)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Finished work per month&lt;/td&gt;
&lt;td&gt;300 points&lt;/td&gt;
&lt;td&gt;330 points&lt;/td&gt;
&lt;td&gt;330 points&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hours per month&lt;/td&gt;
&lt;td&gt;2,500&lt;/td&gt;
&lt;td&gt;2,000&lt;/td&gt;
&lt;td&gt;2,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Price per month&lt;/td&gt;
&lt;td&gt;$150,000&lt;/td&gt;
&lt;td&gt;$120,000&lt;/td&gt;
&lt;td&gt;$145,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Price per unit of work&lt;/td&gt;
&lt;td&gt;$500&lt;/td&gt;
&lt;td&gt;$364&lt;/td&gt;
&lt;td&gt;$439&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rework&lt;/td&gt;
&lt;td&gt;8%&lt;/td&gt;
&lt;td&gt;9%&lt;/td&gt;
&lt;td&gt;6%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In months 4 to 6, AI agents cut 500 hours each month. On hourly billing, the firm loses $30,000 of revenue each month, and it delivers more work.&lt;/p&gt;

&lt;p&gt;In months 7 to 9, the firm quotes a fixed monthly fee from its real cost per unit of finished work. The client pays 12% less per unit than in the baseline, gets 10% more work and less rework. The firm gets back most of its revenue.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to move off hours in 3 steps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Measure a baseline while you still bill hours.&lt;/strong&gt; Score the finished work of the last 3 to 6 months: each pull request, ticket and document, weighted by size and complexity. Put the cost and the quality beside each unit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quote the next phase from your real cost.&lt;/strong&gt; Use your cost per unit of finished work to quote a fixed fee or milestones. Give part of the AI savings to the client.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review each month with the client.&lt;/strong&gt; Show the units, the cost, the time and the quality, and the work behind each unit.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The pitfalls to avoid
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pitfall&lt;/th&gt;
&lt;th&gt;What goes wrong&lt;/th&gt;
&lt;th&gt;Fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A unit nobody can audit&lt;/td&gt;
&lt;td&gt;Each invoice becomes a discussion&lt;/td&gt;
&lt;td&gt;Each unit links to a pull request, ticket or document&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No baseline&lt;/td&gt;
&lt;td&gt;Nobody knows if the new price is fair&lt;/td&gt;
&lt;td&gt;Measure 3 to 6 months of output while you still bill hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No quality floor&lt;/td&gt;
&lt;td&gt;Fast work comes back as rework&lt;/td&gt;
&lt;td&gt;Agree the maximum rework and defects&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Story points as the unit&lt;/td&gt;
&lt;td&gt;The team that bills the points also sets them&lt;/td&gt;
&lt;td&gt;Use a unit scored from the finished work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI costs not in the price&lt;/td&gt;
&lt;td&gt;AI tools and tokens eat the margin&lt;/td&gt;
&lt;td&gt;Put the full cost in the cost per unit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;All clients at the same time&lt;/td&gt;
&lt;td&gt;Problems hit every account at once&lt;/td&gt;
&lt;td&gt;Start with 1 client and 1 phase&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What to write in the new contract
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The unit:&lt;/strong&gt; a unit of finished work, scored from the code, the tickets and the documents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The evidence:&lt;/strong&gt; each unit links to the work, and both sides read the same report.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The price:&lt;/strong&gt; a fixed fee or milestones, with the cost per unit behind the quote.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The quality floor:&lt;/strong&gt; the maximum rework and defects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The review:&lt;/strong&gt; a monthly review of cost, time and quality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The exit:&lt;/strong&gt; a return to milestones if the measure stops working.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What clients ask
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"Do we pay more?"&lt;/strong&gt; No. The client pays the same or less per unit of finished work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"What if the scope changes?"&lt;/strong&gt; New work is sized with the same unit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"How do we know the AI agents did the work well?"&lt;/strong&gt; The same quality checks apply to engineers, AI-assisted engineers and AI agents.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Plan about 6 to 9 months for the first client. The second client goes faster, because the firm already knows its cost per unit.&lt;/p&gt;




&lt;p&gt;The full guide, with a timeline and the best practices for each step, is here: &lt;a href="https://pensero.ai/blog/time-and-materials-to-outcome-based-contracts" rel="noopener noreferrer"&gt;From time and materials to outcome-based contracts&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;At Pensero, we score finished work in delivery points (magnitude × complexity), the same way for engineers, AI-assisted engineers and AI agents, with cost and quality beside each point. More examples: &lt;a href="https://pensero.ai/blog/outcome-based-pricing-examples-it-services" rel="noopener noreferrer"&gt;Outcome-based pricing in IT services: 7 examples&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>outsourcing</category>
      <category>consulting</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
