'How much will it cost?' is the first question most leaders ask about AI, and the honest answer is that it depends on a handful of factors you can identify upfront. This article breaks AI development cost into phases, explains what drives each one, and gives indicative ranges from our own AI and machine learning projects, clearly labelled as estimates rather than prices.
What drives the cost of an AI project
Two projects with the same headline, such as 'predict customer churn', can differ several times over in cost. These are the drivers that make the difference:
- Problem clarity. A defined decision, metric and user cost less than an open-ended 'explore what AI can do'.
- Data condition. Clean, accessible data with recorded outcomes is cheap; scattered spreadsheets, scanned documents and missing labels are expensive.
- Type of model. Classical machine learning on tables is usually lighter than computer vision, which needs images, labelling and often hardware. Generative AI built on existing models shifts cost from training to integration, evaluation and usage.
- Integration. Each system the prediction must flow into, such as an ERP, CRM, mobile app or legacy database, adds work.
- Accuracy, speed and scale. Real-time responses, high availability and strict accuracy targets need more engineering and testing.
- Compliance. Regulated data in healthcare or finance adds security, audit and documentation work.
Cost by phase
Most AI projects move through the same five phases. Durations overlap and vary by scope, but the shape is consistent.
- Weeks 1 to 3Discovery
Define the decision and metric, measure the baseline, review data samples, agree scope.
- Weeks 2 to 8Data preparation
Build access and pipelines, clean and join data, create labels and features.
- Weeks 5 to 12Modelling and evaluation
Train and compare models against the baseline, test on unseen data, review errors.
- Weeks 9 to 16Integration
Expose predictions through an API or UI, connect to business systems, user acceptance testing.
- OngoingMLOps and support
Monitoring, drift detection, retraining, incident response and improvements.
Indicative timing for a single production use case. Pilots compress these phases; complex platforms extend them.
DivTech SystemDiscovery
A short, usually fixed-price phase that turns an idea into a scoped plan. It is the cheapest place to discover that the data does not support the use case. If you have not yet prioritised use cases, our AI strategy roadmap and AI readiness checklist cover the groundwork.
Data preparation
Frequently the largest and least predictable phase. Costs rise with the number of sources, inconsistent identifiers, manual labelling and the need to build reliable pipelines rather than one-off exports. Time spent here is rarely wasted, because good pipelines serve reporting and later models too.
Modelling and evaluation
Often smaller than people expect, especially for structured data where proven techniques exist. Evaluation deserves real budget: testing on unseen data, analysing errors and confirming the model beats the baseline in ways that matter to the business.
Integration
The model has to live somewhere: a prediction service, usually in Python, called by your applications, with authentication, logging and a user interface where needed. Integration effort scales with the age and number of systems involved.
MLOps and support
Monitoring, scheduled retraining, infrastructure updates and fixes after launch. This is ongoing work, often handled through a support and maintenance agreement, with deployment automation from a DevOps team.
Indicative ranges by complexity
The figures below are DivTech's indicative estimates for build cost, based on our delivery model and typical scopes. They are not quotes, they exclude third-party licences and usage fees, and your project may fall outside them in either direction.
Indicative estimates only; they vary by scope, data condition, integrations and compliance needs, and exclude third-party licences, cloud and model usage costs.
DivTech SystemFor comparison with non-AI builds, our guide to custom software development cost explains how scope and team model affect price more generally.
The running costs people forget
Build cost is a one-off; running cost recurs every month and grows with usage. Budget for these from the start:
| Running cost | What drives it | How to keep it under control |
|---|---|---|
| Hosting and compute | Model size, request volume, real-time versus batch | Batch predictions where possible, autoscaling, right-sized instances |
| Model or API usage | Requests and text volume for hosted models, priced by each provider | Shorter prompts, caching, smaller models for simple tasks |
| Monitoring and logging | Volume of predictions and retention period | Sample logs, set retention rules, alert only on what matters |
| Retraining and labelling | How fast your data changes, need for new labels | Retrain on a schedule tied to measured drift, not by default |
| Support and improvement | Incidents, user feedback, new features | A clear support agreement with defined response times |
Cloud spend is the item most likely to creep. Our guide to cloud cost optimisation has practical ways to keep it in check.
How to de-risk the investment with a pilot
- Fix the scope: one use case, one user group, one success metric.
- Agree a kill criterion in writing, for example 'stop if the model does not beat the current rule on last quarter's data'.
- Use existing data for the pilot and defer heavy pipeline work until results justify it.
- Run in shadow mode so predictions are compared with real decisions without operational risk.
- Decide at a set date whether to scale, adjust or stop, based on the agreed metric.
Whether you need a custom model at all is a separate cost question; our build versus buy AI guide compares the total cost of ownership of each route.
Choosing an engagement model
Discovery and pilots suit a fixed price because scope is narrow. Data preparation and modelling, where findings change the plan, usually suit time and materials or a dedicated team billed monthly. Our engagement models page explains how DivTech structures each option.
Questions to ask before you sign
- Which phases does the estimate cover, and which are excluded, such as data labelling, cloud hosting or model usage fees?
- What assumptions about our data is the estimate based on, and what happens to cost if they turn out to be wrong?
- Who owns the code, the trained model and the pipelines at the end of the project?
- How will success be measured, and is there a decision point where we can stop without paying for later phases?
- What does it cost to run and support in the first year after launch, at our expected volume?
Clear answers to these questions matter more than the headline number. Two estimates that differ widely often turn out to cover different scope once the assumptions are written side by side.
Get an estimate based on your data
The most accurate estimate comes after a short look at real data samples and the systems involved. Share your use case through our quote request form and we will come back with a phased estimate and the assumptions behind it.
Frequently asked questions
What is the most expensive part of an AI project?
Often data preparation, especially when data is spread across systems, inconsistent or unlabelled. Integration into legacy systems and ongoing operation are the next most commonly underestimated items.
Is generative AI cheaper to build than classical machine learning?
It can be faster to prototype because you start from an existing model, but running costs depend on usage, and evaluation, guardrails and integration still take real engineering. Compare total cost over at least two to three years.
How much should we budget for running costs?
It depends on volume, model type and hosting. Ask for a running-cost estimate based on your expected request volume alongside the build estimate, and review it after the first month in production.
Can we start small and expand later?
Yes, and it is usually the best approach. A pilot on existing data proves value at limited cost, and the pipelines and integration you build carry over to later use cases.