Book a free call

How Much Does Object Detection Cost to Build?

Object detection costs come from labelling, training and running the model. This guide breaks down each part and shows how to estimate a budget for your own project.

Hertiv engineering teamReviewed by a senior engineer
7 min read
How Much Does Object Detection Cost to Build?
On this page

Short answer

Object detection cost depends on how much data you label, how many object classes you need, and whether you run a cloud API or host your own model. A small pilot typically costs a few thousand dollars for labelling and training, while running costs scale with the number of images processed each month.

What is object detection, and what does it cost?

Object detection is a computer vision task that finds objects in an image or video and marks where each one is, usually with a box and a label naming what it is. The cost of building it comes from four parts: labelling the training data, training the model, running it on new images, and checking its output.

Labelling is usually the largest upfront cost, because a person must draw a box around each object and name it. Training is a smaller one-off cost if you start from a pre-trained model. Running costs then scale with the number of images or video frames processed each month.

Cost part When you pay What sets the size
Data labelling Before training Images, objects per image, classes
Model training Before launch, and on retrains Model size, training hours, hardware
Running the model Every month Images or frames per month
Review and fixes Every month Accuracy target, error rate

The definition and how the models work are covered in our explainer on what object detection is.

What drives object detection costs?

Object detection costs are driven by how many object classes you need, how many images you must label, how accurate the result must be, and how fast it must run.

More classes mean more examples per class and more chances of confusion between similar objects. A model that must tell apart ten types of vehicle needs far more labelled images than one that only separates vehicles from people.

Accuracy targets raise costs in two ways. Higher accuracy usually needs more training data, and it needs more human review of the output, because the remaining errors are the hard cases that a model gets wrong most often.

Speed matters too. A model that must answer in under a second on a live camera feed needs more compute per frame than one that processes stored images overnight. Running on the device itself adds hardware cost but removes the per-image API fee.

Image quality is a quiet cost driver. Blurry, dark or crowded images need more labelling effort and more model capacity than clean, well-lit ones, so a camera upgrade can sometimes cut the software budget.

How much does labelling cost?

Labelling cost depends on the number of images, the number of objects in each image, and how much review each label gets. As a planning range, simple single-object labelling often runs from a few cents to around ten cents per image, while crowded scenes with many small objects cost several times more.

Three choices set the price. First, the number of images: a pilot can start with a few thousand, while a production model often needs tens of thousands. Second, the review pass: a second person checking each box adds cost but catches errors that would otherwise reach training. Third, the tool: assisted labelling, where a model pre-draws boxes for a person to correct, usually cuts the per-image time once the model is good enough.

Labelling quality matters more than labelling speed. A model trained on sloppy boxes learns sloppy boxes, and the cost of fixing that later is higher than the cost of a review pass now.

For a first estimate, count the images you need, multiply by the objects per image, and apply a per-object planning rate. Then add a review pass at roughly half the labelling time. Data annotation services can handle the labelling and review if your team has no capacity for it.

Cloud API or a model you run yourself?

The choice between a cloud detection API and a model you run yourself comes down to volume, control and how often the model must change.

Option You pay for Best when
Cloud API Per image or per minute of video Volume is low or spiky, and you want no infrastructure
Hosted model Server hours plus storage Volume is steady and high enough to fill a server
On-device model Hardware and updates Latency is tight or the camera has no connection

Cloud APIs are the cheapest way to start, because there is no training or hosting work. The per-image fee becomes the main cost as volume grows, and at high volume a hosted model is usually cheaper per image, even after the engineering time is counted.

Control is the other factor. A cloud API decides which object classes it supports, while your own model can be trained on exactly the objects your operation needs. If your objects are unusual, such as a specific machine part, a custom model is often the only option.

Many teams start with an API to prove the use case, then move to a hosted model once monthly volume makes the switch cheaper. The comparison in our roundup of computer vision software shows which tools support each approach.

How do you estimate your own object detection cost?

You estimate object detection cost by working through the four parts in order, starting with the data, because the data decides the training and running costs that follow.

  1. Count the images. Decide how many labelled images the first version needs, based on the number of classes and how different the scenes are.
  2. Price the labelling. Multiply images by objects per image and by a per-object planning rate, then add a review pass.
  3. Price the training. Estimate training hours on rented hardware and add one or two retrains for the first year.
  4. Price the running cost. Multiply monthly images or video minutes by the API rate, or by the hosted server hours needed to keep up.
  5. Add review time. Budget human hours for checking the output, especially in the first months when the error rate is highest.

Write the estimate as a range, not a single number, and note the assumption behind each line. When a stakeholder asks why the budget moved, the assumptions are the answer.

Revisit the estimate after the pilot. Real labelling speed, real accuracy and real image volume replace the planning rates, and the second estimate is usually the one the budget is set from.

Example: a warehouse counts pallets with cameras

Example (hypothetical): a warehouse wants cameras to count pallets in each aisle, so staff stop walking the floor with clipboards. The team needs one object class, pallets, seen from fixed cameras in steady light.

Labelling comes first. The team collects 20,000 images and pays a planning rate of $0.08 per image, so 20,000 times $0.08 gives $1,600. Training runs for 40 hours on rented hardware at $3 an hour, so 40 times $3 gives $120.

Running costs use a cloud API. The cameras send 500,000 images a month, and the API charges $0.0015 per image, so 500,000 times $0.0015 gives $750 a month, which is $9,000 a year.

The first-year total is $1,600 for labelling plus $120 for training plus $9,000 for running, which gives $10,720. Review time is extra: one person checks flagged images for 5 hours a week in the first months, and that time falls as the model improves.

What are the common mistakes?

The most common object detection cost mistakes are underestimating labelling, forgetting review time, and picking a pricing model that does not fit the volume.

  • Too little training data. A small dataset gives a cheap pilot and a model that fails in production, which costs more to fix than the data would have.
  • Skipping the review pass. Unchecked labels teach the model the wrong boxes, and the errors show up as false detections on live images.
  • Ignoring the long tail. Rare objects and odd lighting need extra examples; a budget that only covers common cases runs out early.
  • Paying per image at high volume. An API that is cheap at 10,000 images a month can become the largest line item at a million.
  • No retraining budget. Products, packaging and camera angles change, so the model needs fresh data at least once a year.
  • Measuring the wrong thing. A model can score well on a test set and still miss the objects that matter on the floor, so test on real images from the site.

Key takeaways

  • Labelling is usually the largest upfront cost, and its quality decides model accuracy
  • More object classes and higher accuracy targets raise labelling and review costs
  • Cloud APIs are cheapest to start; hosted models win at high steady volume
  • Budget for review time and at least one retrain in the first year
  • Estimate as a range with stated assumptions, then re-estimate after the pilot

Frequently asked questions

How many images do I need to train an object detection model?

A pilot can start with a few thousand images for one or two object classes. Production models often need tens of thousands, especially when scenes vary or objects are small. Start with a pilot, measure accuracy on real images, then add data where the errors are.

Is object detection the same as image classification?

No. Image classification names the main subject of a whole image, while object detection finds each object in the image and marks its position with a box and a label. One photo can return several boxes at once, each with a confidence score.

Can I use a cloud API instead of training my own model?

Yes, if the API supports the objects you need. Cloud APIs are the fastest and cheapest way to start, and they make sense at low or spiky volume. A custom model is needed when your objects are unusual or the volume makes per-image fees too high.

How accurate can object detection get?

Accuracy depends on the data, the number of classes and how clean the images are. Well-labelled data and a clear accuracy target matter more than model choice. Measure on real images from your site, not only on a test set, before deciding.

Do I need a GPU to run object detection?

Not always. Cloud APIs run the model for you, and hosted services handle the hardware. You need your own GPU only when you host the model yourself or run it on a device, such as a camera with no connection.

How often should an object detection model be retrained?

At least once a year, or sooner when the objects, packaging or camera angles change. Each retrain needs fresh labelled images from the new conditions, so keep a small labelling budget running rather than treating it as a one-off cost.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: AI and agent systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning a computer vision project and unsure what it will cost? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Computer Vision service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call