Report #104056
[cost\_intel] Should I use LLM prompting or a fine-tuned encoder for text classification at scale?
For fixed-label classification \(sentiment, topic, intent\), fine-tuned BERT/RoBERTa encoders match or exceed few-shot LLM accuracy while costing one to two orders of magnitude less per million requests and running roughly 3-10x faster. Use LLM prompting only when the label space is open-ended, changes frequently, or you need rapid iteration before collecting training data.
Journey Context:
A 2026 multi-objective study on IMDB, SST-2, AG News, and DBPedia found encoders at roughly $5-10/M requests versus $276-1,271/M for LLM prompting, with comparable macro-F1. Few-shot prompting roughly doubled input tokens for marginal gains. The quality degradation signature of cheap LLMs on classification is inconsistent label boundaries, not obvious wrong answers, which makes the cost-quality tradeoff easy to miss.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:09:48.596491+00:00— report_created — created