A decision study on real data
Measured on 3,080 banking support messages and 77 intents: accuracy with intervals, cost per 1,000 requests, speed, and the monthly volume where the answer flips. With few labels, prompt. With many, put each message's most similar labelled examples in the prompt: that beat fine-tuning, for 6 cents per 1,000 requests.
Common beliefs, checked on the same test messages.
Fine-tuning beats prompting when labels are scarce
Given the same 385 labelled examples, Claude Haiku with them in its prompt got 86.7% right; a model fine-tuned on them got 62.4%
See notebook 02
With plenty of labels, fine-tune
Haiku given each message's 10 most similar labelled examples got 94.3%, ahead of the fine-tuned model's 93.3%, for 6 cents per 1,000 requests
See notebook 02
A fine-tuned model is simply more accurate than a prompt
Most of its lead over fixed prompts was learned labelling habit: counting answers as defensible as the label, Sonnet came out 0.9 points ahead
See notebook 02
Fine-tuning is what makes a small model good
A small model that was not fine-tuned, trained in about a second, came within a point; a recipe built for few labels (SetFit) trailed it by 4 points
See notebook 03
Prompting a large model is too expensive at scale
Prompt caching cut the bill by 85 to 94%; Haiku with examples stayed cheaper than a model of your own up to about 7 million requests a month
Self-hosting cost is mostly the server
The server was about $53 of a fixed cost near $870 a month; engineer time and labels were the rest
See notebook 05
Price per request decides
What a wrong answer costs moved the answer most: at one cent a mistake, a model of your own paid off from about 1 million requests a month instead of 7 million
See notebook 05
A team needs to sort customer messages into 77 banking intents. They can:
This study measures all of them on the same test messages and turns the results into a decision: how many requests a month, how many labelled examples and what price per wrong answer make each option worth it.
Each answers one question a team would ask.
What does the task look like, and how far does a model with no fine-tuning get?
Short messages, 77 intents; 83% right with 5 labels per intent, 93% with all
02Does a fine-tuned small model beat a prompted large one on the same messages?
Only prompts with fixed examples; with each message's nearest labelled examples, Haiku beats it
03How many labelled examples does fine-tuning need to catch up?
25 to 50 per intent to pass fixed prompts; it never clearly beats not fine-tuning
04What does each option cost per 1,000 requests, and how fast is it?
Haiku 3 to 11 cents, Sonnet 43 cents to $1.27; local models answer in 5 to 15 ms, hosted in about a second
05At what monthly volume does fine-tuning pay off, and when does the answer flip?
Prompting is cheapest up to about 0.1 to 5 million requests a month, depending most on what a mistake costs; above that, the combined option