TL;DR: We run 2pizza, so read this as a biased source that shows its numbers. An AI engineer in the US had a median total pay of $155,000 a year on Levels.fyi when I checked on 25 November 2026. Our starter scope is $1,000 fixed for one automation, live in 1-2 weeks. Hire when AI is your product and the work never stops. Use an agency when you have a short list of processes to fix and nobody to manage an engineer.
Founders ask me this almost every week. They have three or four manual processes that eat their team, they have read that AI can do the work, and they wonder whether to hire someone or pay someone outside. I sell the second option, so I will be plain about where the first one wins.
Every number below comes from a public page I read on 25 November 2026. If the page changed after that, the page wins.
What does an in-house AI engineer cost?
Levels.fyi listed a median total compensation of $155,000 for AI engineers, based on 300+ salaries reported to the site and updated the day I checked. The 25th percentile was $109,000 and the 75th was $212,000. Total compensation there means base salary plus stock and bonus.
For a wider baseline, the US Bureau of Labor Statistics gives a median annual wage of $135,980 for software developers in May 2025. That covers all software developers, not only those working on AI.
Neither number includes what it costs to find the person, the tools they need, or the hours a founder or CTO spends giving them direction. I am not going to put a number on those, because they vary too much between companies. They are real, and you should add your own estimate before you compare.
What does 2pizza cost for the same work?
Our prices are on the pricing page and are fixed before we start.
- Starter scope: $1,000 fixed, one production automation, up to 3 tools, error handling and alerts, documentation, delivered in 1-2 weeks, 30 days of support.
- Standard build: $2,000-4,000 fixed, 3-6 connected automations with Claude or OpenAI, up to 8 tools, 2-4 weeks, 60 days of support.
- Custom build: $5,000-15,000 fixed, a full system with its own interface, 4-8 weeks, 90-day warranty.
Provider costs, like your Make plan or your model API bill, are billed at cost to your own accounts. The code is yours when we finish.
When should you hire instead of using an agency?
Hire when the work does not end. If AI is part of what you sell, if your product team ships changes every week, or if you have enough automation work to keep one person busy for a year, a hire is the better deal. A person learns your business in a way no agency will, and they are there on the day something breaks.
Hire also when you already have someone who can manage an engineer. A good engineer with no clear owner spends months building the wrong things. That is not a dig at engineers. It is what happens when nobody decides what matters.
When is a fixed-price agency the better choice?
When you can write the problem down as a short list. Invoices typed by hand, enquiries copied into a CRM, reports pulled together every Monday. Each of those is a scope with an end, and paying a salary for a scope with an end is expensive.
An agency also fits when you do not know yet whether automation will pay off for you. One $1,000 build tells you more than a year of reading about it. If it works and you want more, you can still hire later, and the person you hire inherits working code instead of a blank page.
What are the limits of using 2pizza?
We are not in your Slack all day. Support windows are 30, 60 or 90 days depending on the scope, and changes after that are a new piece of work. If your processes change every week, that gets tiring for both sides, and a hire makes more sense.
We also do not take on work we cannot price up front. If the problem is too vague to scope, we will say so and suggest a short audit first, or tell you to hire.
How should you decide?
- Write down every process you want automated. If the list has fewer than ten items and each one has a clear end, price it as fixed scopes first.
- If the list keeps growing every month and touches your product, start hiring.
- If you are not sure, buy one small build, measure the hours it saves for a month, and decide with real numbers.
I wrote a longer breakdown of the cost on both sides in AI automation vs hiring: the real cost breakdown on this blog. The numbers in this post are newer.
Questions people ask
How much does an in-house AI engineer cost in the US?
Levels.fyi showed a median total compensation of $155,000 for AI engineers on 25 November 2026, with $109,000 at the 25th percentile and $212,000 at the 75th, based on 300+ reported salaries. That is pay only, before recruiting, benefits, tools and management time.
How much does 2pizza charge for one automation?
A starter scope is $1,000 fixed price for one production automation with up to 3 tools, delivered in 1-2 weeks with 30 days of support. Larger builds are $2,000-4,000 or $5,000-15,000, also fixed price and agreed before kickoff.
When is hiring an AI engineer the better choice?
When automation or AI is part of your product, when changes arrive every week, and when you already have someone who can manage an engineer and keep them busy for a full year.
Who owns the code if 2pizza builds it?
You do. The code is yours, provider accounts are yours and provider costs are billed at cost to you, as stated on the 2pizza pricing page.
Sources, read 25 November 2026: levels.fyi/t/software-engineer/title/ai-engineer, bls.gov/ooh/computer-and-information-technology/software-developers.htm, 2pizza.team/pricing.
Our scopes, prices and timelines are public. See pricing