Decision Model vs Fine-Tuned Small Language Model for Classification: Fine-Tune When Labels Are Stable
Fine-tune a small encoder for stable labels on text, use boosted trees for tables, and test a decision model only where labels change per request. Costs at 1 million decisions a month are shown.
For most text classification jobs with a stable label set and at least 200 labelled examples, a fine-tuned small language model is the better buy. Fine-tuned DeBERTa V3 and RoBERTa beat zero-shot GPT-4 and Claude Opus on every task in the main published comparison. Boosted trees such as XGBoost remain the better buy for tabular data. A decision model, which picks one option from a list sent with each request, suits label sets that change often, but no published benchmark compares one with a fine-tuned small model.
A decision model, a zero-shot classifier and a fine-tuned classifier differ in when the labels are fixed.
The phrase "decision model" is not a standard machine learning term. People use it for tree-based models such as XGBoost, for zero-shot classifiers, and for a newer kind of product. This guide uses it for the product. That kind of model reads the situation and a list of allowed options supplied with the request. It then returns one option with a confidence score, and it can hand a low-confidence case to another system.
A zero-shot classifier also accepts labels at request time. The model card for bart-large-mnli describes how this works: the text is the premise, and each label is written as a sentence such as "This example is {label}." A prompted LLM does the same job with an instruction.
A fine-tuned classifier learns a fixed set of outputs from labelled examples. That gives it higher accuracy on known labels. It also means that a new label requires new examples and another training run.
The four kinds of model differ in how they choose a label and whether the labels are fixed at training:
| Meaning | How it chooses a label | Labels fixed at training? |
|---|---|---|
| Tree-based model (XGBoost, random forest) | Learns splits on features from labelled rows | Yes |
| Zero-shot NLI or prompted classifier | Scores each label written as a sentence, or asks an LLM | No |
| Decision-model product | Ranks options supplied with each request and returns a probability for each | No |
| Fine-tuned small language model | Learns a classification head on top of a pretrained encoder or decoder | Yes |
Fine-tuned small models win on text once you have a few hundred labels.
The strongest evidence comes from Martin Bucher and Marco Martini, in a study revised in August 2024. They compared fine-tuned RoBERTa, DeBERTa V3, ELECTRA and XLNet with zero-shot GPT-3.5, GPT-4, Claude Opus and BART on four tasks. Fine-tuning won every time. On tweet stance, DeBERTa V3 reached 0.93 macro-F1, and Claude Opus reached 0.57. On sentiment in news coverage, the margin was smaller: 0.90 for the best fine-tuned model and 0.84 for GPT-4.
The amount of data needed was small. In their learning-curve test, RoBERTa-large beat zero-shot BART on every dataset once it had more than 200 training examples. The authors put "the sweet-spot" between 200 and 500 examples.
For long documents or languages other than English, a small decoder can be the better choice. Lujun Li and colleagues, in an ACL 2025 Industry Track paper written with the insurer Foyer S.A., tested prefix tuning on Llama-3.2-1B. It reached 0.892 accuracy on an 11-label academic dataset and 0.865 on mostly French company emails. Fine-tuned ModernBERT-base reached only 0.514 on the same emails. The authors attribute that result to limited French and domain pretraining. ModernBERT's model card says that it was trained mainly on English and code.
A plain prompt on the same 1B model failed. It scored 0.186 on the academic dataset, which is close to chance.
Boosted trees win on tables and sometimes on text.
Léo Grinsztajn, Edouard Oyallon and Gaël Varoquaux compared tuned neural networks with tree-based models on 45 tabular datasets, in work presented at NeurIPS 2022. Trees stayed ahead at about 10,000 samples, even before counting their speed. At TrustNLP 2024, Matyas Bohacek and Michal Bravansky reported that an older ensemble pipeline beat GPT-4 and LLaMA 2 pipelines on news trustworthiness classification. The paper's title names XGBoost.
No study cited here tests inputs that mix free text and structured fields. For that case, the comparison has not been published.
Self-hosted fine-tuned models cost a fixed $424.80 a month on one A40, while API and decision-model costs grow with volume.
The table shows the cost of 1 million decisions a month, using the assumptions in the worked example that follows:
| Option | Best fit | New label needs | Cost per month at 1M decisions |
|---|---|---|---|
| Fine-tuned DeBERTa V3, RoBERTa or ModernBERT | English text, stable labels, 200+ examples | Retraining | $424.80 for one A40 |
| Prefix-tuned Llama-3.2-1B | Long or non-English text | Retraining | $424.80 for one A40 |
Zero-shot gpt-6-luna or gpt-6.2-sol |
No labels yet | A new prompt | $62.50 or $1,250 |
| Decision model (Parsec's TOD) | Labels that change per request | A new option list | $300 |
XGBoost is left out of the table because none of these sources prices its hardware. The fine-tuned rows assume that one GPU carries the load, which has not been measured. The zero-shot rows have no published accuracy on these tasks for these two models.
Parsec's TOD is a decision model of the kind defined above. Its page describes ranking a list of allowed actions, generating no free text, and passing low-confidence turns to a larger model. The page lists $0.30 per 1,000 decisions, flat regardless of context length. The repository says that the model was tested with up to 300 options. Parsec's own page also reports that TOD scored below its untrained base model on the public JevBench test, and it says that a fix is planned. No independent evaluation has been published, and none compares TOD with a fine-tuned encoder.
A worked cost example shows that a fixed GPU cost stays flat as volume grows.
The example uses one workload and list prices as shown on November 24, 2026. The assumptions are listed first:
- The workload is 1 million classification decisions a month.
- Each request has 600 input tokens, including the label list, and 5 output tokens.
- No prompt caching is used, and reasoning on OpenAI models is set to
none. - Self-hosting runs one RunPod A40 with 48 GB around the clock for 720 hours.
The costs then follow from the price lists:
- Zero-shot
gpt-6.2-solat $2 per million input tokens and $10 per million output tokens costs $1,200 plus $50, which is $1,250. - Zero-shot
gpt-6-lunaat $0.10 and $0.50 per million costs $60 plus $2.50, which is $62.50. - A decision model at $0.30 per 1,000 decisions costs $300, before the cost of any deferred cases.
- One A40 at $0.59 an hour costs $424.80. ModernBERT-base needed 1.72 GB for inference in the industrial study, and Llama-3.2-1B needed 25.78 GB, so either fits.
Deferral adds cost to the decision model. If 20% of cases were deferred to gpt-6.2-sol, those 200,000 calls would add $250 at the same token counts. That deferral rate is an assumption, not a measured figure.
At 10 million decisions a month, the per-request options grow tenfold, to $12,500, $625 and $3,000. The single A40 stays at $424.80 if it can carry the load. Training cost is left out, because none of these sources prices a training run. Latency is also left out, because none of these studies reports it on named hardware.
Input type, label count and how often labels change decide the first choice.
Calibration matters for every option that defers. Chuan Guo and colleagues showed at ICML 2017 that modern neural networks are often poorly calibrated, and that temperature scaling fixes most of the error. Apply it to a fine-tuned model before you pick a confidence threshold. Calibration error and accuracy at a fixed deferral rate have not been compared across these options.
With that step in place, the situations sort as follows:
- If your inputs are mostly structured fields, start with XGBoost, because trees led the 45-dataset tabular benchmark.
- If you classify English text into stable labels and can label 200 to 500 examples, fine-tune DeBERTa V3 or ModernBERT and self-host it.
- If your text is long, French or another non-English language, prefix-tune Llama-3.2-1B and compare it with an encoder on held-out data.
- If you have no labels at all, run
gpt-6-lunazero-shot as a stopgap and log its answers for review. - If your label list changes every week or differs per customer, test a decision model or a zero-shot classifier, because neither needs retraining for a new label.
- If you are buying a decision-model product, ask the vendor for accuracy on your own held-out set next to a fine-tuned encoder and a TF-IDF plus XGBoost baseline.
Sources
- Bucher and Martini, Fine-Tuned 'Small' LLMs (Still) Significantly Outperform Zero-Shot Generative AI Models in Text Classification: https://arxiv.org/abs/2406.08660
- Bucher and Martini, full text (v2): https://arxiv.org/html/2406.08660v2
- Li et al., Small Language Models in the Real World: Insights from Industrial Text Classification: https://arxiv.org/html/2505.16078v3
- ModernBERT-base model card: https://huggingface.co/answerdotai/ModernBERT-base
- facebook/bart-large-mnli model card: https://huggingface.co/facebook/bart-large-mnli
- Grinsztajn, Oyallon, Varoquaux, Why do tree-based models still outperform deep learning on tabular data?: https://arxiv.org/abs/2207.08815
- NeurIPS 2022 Datasets and Benchmarks poster: https://nips.cc/virtual/2022/poster/55627
- Bohacek and Bravansky, When XGBoost Outperforms GPT-4 on Text Classification (TrustNLP 2024): https://aclanthology.org/2024.trustnlp-1.5/
- Guo et al., On Calibration of Modern Neural Networks: https://arxiv.org/abs/1706.04599
- OpenAI, API pricing: https://developers.openai.com/api/docs/pricing
- OpenAI, gpt-6-luna model page: https://developers.openai.com/api/docs/models/gpt-6-luna
- RunPod, Pricing: https://www.runpod.io/pricing
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, TOD repository: https://github.com/daseinlabs/tod