One of the most practical questions for UK businesses in 2026: when should you build a classical ML model and when should you use an LLM? Both approaches solve different classes of problems, have different costs, and meet different regulatory requirements. The right choice can save £50,000-£200,000 and six months of development. The wrong choice can produce a model that fails to meet FCA or ICO requirements.
When to use LLMs. LLMs solve problems involving unstructured text: contract analysis (analysis and classification of legal documents), customer support automation (understanding free-text queries), document summarisation (summarising reports, NHS discharge summaries), nuanced sentiment analysis (not just positive/negative but complex shades), code generation and technical documentation, few-shot classification (when you have fewer than 100 labelled examples for a new category). The key advantage of LLMs is their capacity for few-shot and zero-shot learning: you do not need thousands of labelled examples. UK law firms, insurers, and NHS trusts have already implemented LLM-based document processing, reducing processing time by 60-80%.
When to use classical ML. Traditional ML (XGBoost, LightGBM, Random Forest, Logistic Regression, Neural Networks) wins for: tabular data (transactions, financial metrics, sensor data), tasks where explainability is a regulatory requirement (FCA credit decisions, insurance pricing), high-volume real-time predictions (1,000+ requests per second where LLM latency is unacceptable), time-series forecasting (demand forecasting, maintenance prediction), anomaly detection (fraud detection, network security). Critically for UK regulated industries: classical ML with SHAP explanations much more easily satisfies PRA SS1/23 and FCA SYSC 7 requirements on model explainability for automated decisions.
Cost comparison: LLM (GPT-4o API) for 1 million tokens = $15 (input) + $60 (output). For a production system processing 10,000 documents per day at 1,000 tokens that is $750 per day or roughly $22,500 per month on LLM API alone. A classical XGBoost model for the same 10,000 requests per day on a standard cloud instance costs $50-$200 per month. A self-hosted open-source LLM (Llama 3.1 70B on 4x A100) costs $3,000-$6,000 per month on cloud compute but handles unlimited request volume. For high-volume automation classical ML or self-hosted LLM is significantly more economical. For low-volume high-value tasks (contract review, complex Q&A) a hosted LLM API is justified.
Regulatory comparison for the UK. FCA Consumer Duty (2023) requires AI systems in financial services to deliver fair customer outcomes. For automated decisions: classical ML plus SHAP makes explainability easier to demonstrate. LLM: more complex to interpret — additional measures are needed (chain-of-thought prompting, retrieved evidence citation). Equality Act 2010: both approaches require bias testing. LLMs may detect subtler forms of bias in text-based decisions. ICO AI Guidance: both require DPIA and a lawful basis. LLMs with proprietary APIs (OpenAI, Anthropic) require additional Data Processing Agreements and data residency assessment. NHS AI Lab standards (DTAC): both approaches require clinical safety assessment for medical applications.
Practical decision tree for UK businesses. Is your data predominantly textual or unstructured? Yes — use LLM or RAG. Is your data predominantly tabular or numerical? Yes — use classical ML. Is explainability required for a regulator (FCA, ICO, PRA)? Classical ML plus SHAP is simpler for compliance. Volume over 10,000 requests per day? Classical ML or self-hosted LLM on cost grounds. No labelled training data (fewer than 100 examples)? LLM few-shot may solve the problem without expensive annotation. A hybrid approach is also common: LLM for document understanding and feature extraction, then classical ML for prediction and scoring. For example, LLM extracts structured features from customer complaints text, then XGBoost classifies priority and routes to the appropriate team.
Related Codeworth Services
Need Help with Implementation?
The Codeworth team is ready to implement these ideas in your project. Free consultation.
Discuss the ProjectCodeworth team specialist.