Skip to content
InsightsStrategy
Strategy

How to track project profitability in an AI agency?

Learn how to track project profitability in your AI agency by moving beyond simple revenue. This guide shows you how to measure true project margins by accurately capturing all costs, including team time and AI tool expenses. You'll get a clear framework for project costing, analysis, and reporting to ensure every client engagement drives your bottom line.

Rayhaan Moughal
Sidekick Accounting
February 20269 min read
Key takeaways
  • Profit is not revenue. True AI agency project profitability tracking means knowing the exact margin left after all costs, including team salaries, freelancer fees, and AI tool subscriptions.
  • Time is your biggest cost. You must track time against projects accurately. Without this data, you are guessing at your most significant expense and will consistently underprice work.
  • Standardise your project costing. Build a clear model that includes a direct cost rate for every role and a clear allocation for overheads to see your break-even point for every project.
  • Use the data to price smarter. Project margin analysis isn't just about reporting the past. It's your most powerful tool for setting profitable prices on future AI development and consulting work.

What does project profitability really mean for an AI agency?

Project profitability is the money left from a client fee after you pay all the costs to deliver that work. For an AI agency, this means your fee minus the cost of your developers' time, data scientist hours, AI API usage, cloud computing costs, and a share of your office rent and software.

Many agency owners look at the total invoice amount and think that's profit. It's not. Revenue is just the top line. Profit is what's left after every cost related to that project is accounted for.

This is the core of AI agency project profitability tracking. You are not just tracking if a project made money. You are tracking exactly how much money it made, so you can repeat what works and fix what doesn't.

Why do most AI agencies get project profitability tracking wrong?

Most agencies fail at tracking because they only look at money in versus money out of the bank. They miss the internal costs, especially team time. They treat salaried staff as a fixed cost and don't connect their hours to specific client projects.

This creates a dangerous blind spot. You might have a project that brings in £20,000. If you only count the direct cash you spent, it might look like you made £18,000. But if your team spent 300 hours on it, and their fully loaded cost is £80 per hour, you actually lost £4,000.

Another common mistake is not tracking the cost of AI tools and infrastructure. Using OpenAI's API, Google's Vertex AI, or AWS cloud services costs real money per query or compute hour. If these costs are buried in a general "software" budget, you have no idea which projects are eating your margin.

Good project costing for service businesses requires connecting every pound spent to the client project that caused the spend.

What are the essential costs to track for an AI project?

You need to track two main types of costs: direct costs and allocated overheads. Direct costs are expenses that happen only because of a specific project. Allocated overheads are your general business costs shared across all projects.

Direct costs for an AI agency typically include team labour (your employees' time), freelancer or contractor fees, AI model API usage fees, cloud computing or server costs for that project, and any specific data licensing or acquisition costs.

Allocated overheads include things like your office rent, core software subscriptions (like your project management tool), accounting fees, and management salaries. You spread these costs across projects, usually based on the proportion of team time spent on each project.

Accurate AI agency project profitability tracking means building a habit of coding every expense, from a freelance developer's invoice to an OpenAI credit purchase, to a specific client project in your accounting software.

How do you accurately track team time for profitability?

You need a mandatory, simple time-tracking system. Every team member logs their hours daily or weekly against specific client projects and tasks. This data is the foundation of all project margin analysis.

Time tracking for profitability isn't about micromanagement. It's about cost accounting. You need to know that the 50 hours your lead machine learning engineer spent on Project Alpha cost you £X. Without this, you cannot know if Project Alpha was profitable.

Choose a tool that integrates with your other systems. Many agencies use Harvest, Clockify, or Toggl. The key is consistency and leadership buy-in. Explain to your team that this data is how the business stays profitable and can pay salaries.

Then, assign a cost rate to each team member or role. This isn't their salary. It's their fully loaded cost: salary, employer National Insurance, pension contributions, benefits, and a share of overheads. A £70,000 salary might have a fully burdened cost rate of £95 per hour.

When you multiply logged hours by cost rates, you get the true labour cost for each project. This is the single most important number for project costing for service businesses like yours.

What tools and software can help with project margin analysis?

You don't need one magical tool. You need a connected stack. This usually includes a time tracker, your accounting software (like Xero or QuickBooks), and a spreadsheet or dedicated project accounting tool for analysis.

Your time-tracking tool (e.g., Harvest) should feed data into your accounting system. Your accounting system tracks all the invoices and bills. Then, you use a separate dashboard for project margin analysis tools.

This analysis dashboard is where the magic happens. You pull in time cost data from your tracker and expense data from your accounting software for each project. You compare it to the project's fee. The dashboard then shows you the gross margin for each project in real time.

Some agencies build this in Google Sheets or Excel. Others use more advanced business intelligence tools like Power BI or Looker. The goal is visibility. You should be able to see, at any moment, which of your current AI projects are on track to be profitable and which are burning cash.

Specialist accountants for AI agencies can help you set up this connected system so your financial reporting gives you genuine commercial insight.

How do you calculate a project's true profit margin?

First, find your total direct costs. Add up the cost of all team hours (hours logged x fully loaded cost rate), plus any freelancer invoices, plus all AI API and cloud costs specifically for that project.

Second, calculate your gross profit. Take the total project fee (the revenue) and subtract the total direct costs. The number left is your gross profit.

Third, calculate your gross margin percentage. Divide the gross profit by the total project fee and multiply by 100. For example, a £50,000 project with £30,000 in direct costs has a £20,000 gross profit and a 40% gross margin.

This gross margin percentage is your key metric for AI agency project profitability tracking. It tells you how efficient the project was before overheads. Most profitable service agencies aim for a gross margin of 50-60% or higher.

Finally, to get to net profit, you subtract a fair share of your overheads. If the project used 10% of your team's total time this quarter, allocate 10% of your rent, software, and management costs to it. What's left is the project's net profit.

What should a project profitability report look like?

A good report is simple and focuses on a few key numbers. It should show the project name, total fee, total direct costs, gross profit (in pounds), gross margin (as a percentage), and the final net profit after overheads.

It should also show a breakdown of those direct costs. How much was spent on internal labour? How much on freelancers? How much on AI tools and cloud services? This breakdown shows you where the money went.

Compare the actual numbers to your estimate or budget. Did the project take 20% more hours than you quoted? Did the AI API costs double what you expected? This variance analysis is where you learn for next time.

For ongoing retainers common in AI agencies, run this report monthly. Track the retainer fee against the costs incurred that month to serve that client. This tells you if your retainer is priced correctly or if you are effectively giving away work for free.

Using proper project margin analysis tools to generate these reports monthly turns financial data from a historical record into a forward-looking management tool.

How can you use profitability data to price future projects?

Historical project data is your best pricing guide. Look at your past projects that had healthy margins (say, 55% or above). What did they have in common? Were they a certain type of AI integration? Did they involve a specific client profile?

Conversely, analyse projects that lost money or had very thin margins. Why did they go wrong? Was your team's time estimate too optimistic? Did you fail to account for data cleaning and preprocessing time? Did AI inference costs spiral?

Use these insights to build better cost estimates for new proposals. If you now know that building a custom chatbot typically uses 150 hours of developer time and £500 in API costs, you can price that accurately next time.

This turns AI agency project profitability tracking from an accounting exercise into a core commercial strategy. You stop competing on price and start competing on value, because you know exactly what it costs you to deliver exceptional work.

For a deeper framework on planning, our financial planning template for agencies can help structure this pricing analysis.

What are common profitability pitfalls for AI agencies?

The biggest pitfall is the "proof of concept" trap. You do a small, cheap pilot project to win a bigger deal. But you don't track the time and cost of that pilot. When the big project comes, you've already given away dozens of unbillable hours of strategic thinking.

Another is scope creep on fixed-price projects. The client asks for "one small extra feature" during an AI model build. Your team spends a week on it. Because the price is fixed, that extra week comes directly out of your profit margin.

A third pitfall is underestimating ongoing inference or maintenance costs. You build and deploy a model for a client. Your project margin looks good at launch. But then you get a monthly bill for the cloud hosting and API calls that keeps the model running, eroding the lifetime value of the project.

Strong project costing for service businesses involves anticipating these pitfalls. Build cost buffers into your quotes for unknowns. Define project scope meticulously. And for ongoing costs, structure your agreements as "build fee plus monthly run cost" so the client understands the ongoing expense.

When should you review project profitability?

Review profitability at three key points: during the project, at project completion, and quarterly across all projects.

During the project, do a quick check-in every two weeks. Are you burning through hours faster than planned? Are AI costs tracking to budget? This lets you catch issues early and have proactive conversations with the client if needed.

At project completion, do a full post-mortem analysis. Calculate the final margin. Gather your team and ask: What went well? What took longer than expected? What would we price differently next time? Document these lessons.

Quarterly, look at the profitability of all projects together. This overall view shows you if your business model is working. Is your average gross margin across all clients above 50%? Which client relationships are the most and least profitable?

This regular rhythm of AI agency project profitability tracking creates a culture of financial awareness. It moves your team from just delivering work to delivering profitable work.

Mastering this skill is what separates agencies that grow steadily from those that stay stuck or burn out. It gives you the confidence to invest in your team and technology, knowing exactly what return you need from each client engagement.

Getting your project tracking right is a major competitive advantage. If you want to implement these systems with experts who understand the unique economics of AI services, our team can help.

Important Disclaimer

This article provides general information only and does not constitute professional financial advice. Business circumstances vary, and the strategies discussed may not be suitable for every agency. You should not act on this information without seeking advice tailored to your specific situation. While we strive to ensure accuracy, we cannot guarantee that this information is current, complete, or applicable to your business. Always consult with a qualified professional before making financial decisions.

Questions agency owners ask

What does project profitability mean for an AI agency?

Project profitability refers to the money left from a client fee after all costs to deliver that work are paid. For an AI agency, this includes the fee minus costs such as developer time, AI tool usage, and a share of office rent. Many agency owners mistakenly think revenue is profit, but profit is what remains after all project-related costs are accounted for.

How can I accurately track team time for project profitability?

To accurately track team time, implement a simple time-tracking system where every team member logs their hours against specific client projects. This data is crucial for understanding the true cost of each project. Choose a tool that integrates with your other systems, and ensure your team understands that this data is essential for the business's profitability.

What are the essential costs to track for an AI project?

You need to track direct costs and allocated overheads. Direct costs include team labour, freelancer fees, AI API usage, and cloud computing costs specific to the project. Allocated overheads are general business costs, like office rent and software subscriptions, spread across all projects based on team time spent.

What should a project profitability report include?

A good project profitability report should show the project name, total fee, total direct costs, gross profit, gross margin percentage, and final net profit after overheads. It should also break down direct costs into categories like internal labour and AI tools, allowing for variance analysis against estimates.

When should I review project profitability?

You should review project profitability during the project, at project completion, and quarterly across all projects. Regular check-ins during the project help catch issues early, while a full analysis at completion allows for learning and improvement. Quarterly reviews provide an overall view of your business model's effectiveness.

Rayhaan Moughal
Rayhaan Moughal
Accountant and CFO advisor to agencies
Connect on LinkedIn
Want to know where your numbers really stand?

A no-pressure conversation about your agency, your margins and what proactive planning could change. Pick a time and book straight into the team’s calendar.

Book a call
Talk numbers with a specialistBook a call