Choosing Models for Application Tasks
A larger model is usually paired with more training data, because the goal is to maximize its performance rather than to match a smaller model on the same data.
A Natural Guess About Smarter Models
When you first learn that large language models are more capable than small ones, a natural guess follows: a more capable model should be able to learn from fewer examples. If the model is smarter, surely it needs less help from labeled data. This belief feels reasonable, and it shapes how many people estimate the cost of building an AI application. It is also wrong in the way that matters most for budgeting. This article explains why, and then shows how to turn a labeling quote into a realistic budget.
What do you think happens?
Suppose you switch an application from a small model to a much larger one, and you keep the same labeling budget. What do you think happens to the number of labeled examples the larger model needs?
Reveal answer
It usually needs more labeled examples to reach its best performance.
A larger model has more capacity to absorb patterns. Feeding it only the small dataset leaves much of that capacity unused, so bigger models are usually paired with bigger training datasets.
Measuring the Right Thing
The key to the puzzle is what the comparison is measuring. One way to test a large model is to give it the same data a small model received and ask whether it does as well. That question is not the one builders usually care about. A builder wants the strongest performance the application can reach, so the relevant question is how much data the large model needs to reach its own best performance.
Seen this way, the answer changes. A large model has more capacity to absorb patterns, and feeding it only the small dataset leaves much of that capacity unused. Scaling up the model is therefore usually paired with scaling up the training data, so that the bigger model has enough examples to make use of its extra size.
What Drives the Price of Labels
Labeling data is a service with a price, and that price is not fixed across projects. The actual cost of labeling depends on three main factors. The first is the complexity of the task: how difficult it is for a labeler to make each judgment. The second is the scale of the dataset. The third is the labeling service provider you choose, since providers set their own prices.
Scale behaves differently from the other two factors. Complexity and provider choice change the price you pay for each sample. Scale tends to push the per-sample price down, because larger datasets typically come with a lower cost per sample. But scale also means you are buying more samples in total. The per-sample price and the total budget are separate quantities, and a good estimate tracks both.
Volume Pricing in a Real Service
Amazon SageMaker Ground Truth offers a concrete illustration of volume pricing. As of September 2024, it charged 8 cents per image for labeling fewer than 50,000 images, and only 2 cents per image for labeling more than 1 million images. Prices change over time, so these figures are a snapshot of one provider at one date rather than a permanent rate.
How Much Cheaper Is the Larger Tier?
Using the September 2024 SageMaker Ground Truth figures, compare the per-image price for a project under 50,000 images with the price for a project over 1 million images.
- 1Identify the smaller-tier price
Projects labeling fewer than 50,000 images were charged 8 cents per image.
- 2Identify the larger-tier price
Projects labeling more than 1 million images were charged 2 cents per image.
- 3Compare the two prices
Dividing 8 cents by 2 cents gives 4, so the per-image price drops by a factor of four as the project moves to the larger tier.
- 4Note the scope of the figure
This is one provider at one date. A different provider, or the same provider later, may quote different tiers and prices.
The per-image price falls by a factor of four between the smaller and larger tiers, but the total budget for a larger project still grows because it contains far more images.
Calculating Total and Per-Sample Cost
Quoted per-sample prices must be multiplied by the number of samples, and the price tier a project falls into matters. The two quantities are linked by two simple relationships. The total cost is the per-sample price multiplied by the number of samples. Going the other way, the per-sample cost is the total cost divided by the number of samples.
Total Cost From a Per-Image Quote
A project must label 12,000 images, and the provider quotes 8 cents per image for a project of this size. What is the total labeling cost, and what is the per-sample cost?
- 1Write down the quoted price
The quote is 8 cents per image, which is 0.08 dollars per image.
- 2Write down the number of samples
The dataset contains 12,000 images.
- 3Multiply to get the total
0.08 times 12,000 equals 960, so the total labeling cost is 960 dollars.
- 4Divide back to get the per-sample cost
960 divided by 12,000 equals 0.08, so the per-sample cost is 8 cents, which matches the quote.
The total labeling cost is 960 dollars, and the per-sample cost is 8 cents. Dividing the total by the sample count returns the quoted price.
Working Backward From an Invoice
A provider sends an invoice for 1,200 dollars covering 15,000 labeled images. What is the per-sample cost?
- 1Identify the total
The total labeling cost on the invoice is 1,200 dollars.
- 2Identify the sample count
The invoice covers 15,000 images.
- 3Divide total by samples
1,200 divided by 15,000 equals 0.08.
- 4Convert to a per-image price
0.08 dollars is 8 cents per image.
The per-sample cost is 8 cents per image. This is the figure to compare with other providers' per-image quotes.
What do you think happens?
A dataset of 20,000 images is quoted at 8 cents per image. Before calculating, what do you think the total labeling cost is in dollars?
Reveal answer
1,600 dollars
Multiply the per-image price of 0.08 dollars by 20,000 images to get 1,600 dollars. Since 20,000 is below 50,000, the 8 cents tier applies in the cited example.
Budgeting Errors to Avoid
The following errors appear when teams plan labeled data. Each one comes from treating the per-sample price and the total budget as if they were the same quantity, or from assuming the quoted price never changes.
Common mistake Using the per-sample price as the total budget
What it looks likeA team sees 8 cents per image and budgets 8 cents for the whole project.
Why it failsThe per-sample price must be multiplied by the number of samples. Per-sample price and total budget are separate quantities.
Do this insteadMultiply the quoted price by the dataset size, so 12,000 images at 8 cents is 960 dollars.
Common mistake Assuming a bigger dataset costs proportionally less in total
What it looks likeBecause larger datasets have a lower cost per sample, a team assumes a project of double the size costs the same.
Why it failsScale tends to lower the per-sample price, but it also means buying more samples in total, so the total budget grows.
Do this insteadTrack both the per-sample price and the total budget when comparing dataset sizes.
Common mistake Treating a quoted price as fixed across projects
What it looks likeA team copies a price from a published tier and assumes it applies to its own project.
Why it failsLabeling cost depends on task complexity, dataset scale, and the labeling provider, and prices change over time.
Do this insteadGet a quote for your own task, check which price tier your project falls into, and check the date of the quote.
Common mistake Assuming a bigger model can get by with the same labeled data
What it looks likeA team upgrades to a larger model but keeps its original labeling budget, expecting the extra capability to cover the gap.
Why it failsA larger model is usually paired with more training data, so that its extra capacity is used rather than left unused.
Do this insteadWhen the model size grows, plan the labeled dataset to grow with it.
Common mistake Forgetting to confirm what a quoted price covers before multiplying it out
Practice: Planning a Labeling Budget
A team plans to label 40,000 images for a classification application. The provider quotes 8 cents per image for projects under 50,000 images. Calculate the total labeling cost and confirm the per-sample cost. Then explain why a larger model in the same application would probably need a larger labeled dataset rather than a smaller one.
Hints
- Multiply the per-image price, written in dollars as 0.08, by the number of images.
- Divide your total by 40,000 to check that you get back the per-image price.
- Think about whether the larger model's extra capacity would be used by the same dataset.
Key Takeaways for Budgeting
- 1A larger model is usually paired with more training data, because the goal is to maximize its performance rather than to match a smaller model on the same data.
- 2Labeling cost depends on task complexity, dataset scale, and the labeling service provider.
- 3Total cost equals the per-sample price multiplied by the number of samples, and the per-sample cost equals the total divided by the number of samples.
- 4Larger datasets typically lower the cost per sample but increase the total labeling budget, so estimates must track both quantities.
At a glance
- A larger model is usually paired with more training data, because the goal is to maximize its performance.
- Labeling cost depends on task complexity, dataset scale, and the labeling service provider.
- Total labeling cost is the per-sample price multiplied by the number of samples; per-sample cost is the total divided by the sample count.
- Larger datasets typically lower the per-sample price but raise the total budget, and quoted prices must be checked against the applicable tier and date.