Small Language Models for Phishing Website Detection: Cost, Performance, and Privacy Trade-Offs
Georg Goldenits, Philip König, Sebastian Raubitzek, Andreas Ekelhart
SBA Research · University of Vienna
Key points
From the paper's conclusion- We systematically evaluate 15 commonly used SLMs, ranging from 1 billion to 70 billion parameters, benchmarking their classification accuracy, computational requirements, and cost-efficiency.
Abstract
Phishing websites pose a major cybersecurity threat, exploiting unsuspecting users and causing significant financial and organisational harm. Traditional machine learning approaches for phishing detection often require extensive feature engineering, continuous retraining, and costly infrastructure maintenance. At the same time, proprietary large language models (LLMs) have demonstrated strong performance in phishing-related classification tasks, but their operational costs and reliance on external providers limit their practical adoption in many business environments. This paper presents a detection pipeline for malicious websites and investigates the feasibility of Small Language Models (SLMs) using raw HTML code and URLs. A key advantage of these models is that they can be deployed on local infrastructure, providing organisations with greater control over data and operations. We systematically evaluate 15 commonly used SLMs, ranging from 1 billion to 70 billion parameters, benchmarking their classification accuracy, computational requirements, and cost-efficiency. Our results highlight the trade-offs between detection performance and resource consumption. While SLMs underperform compared to state-of-the-art proprietary LLMs, the gap is moderate: the best SLM achieves an F1-score of 0.893 (Llama3.3:70B), compared to 0.929 for GPT-5.2, indicating that open-source models can provide a viable and scalable alternative to external LLM services.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PhishGen: Understanding LLM Capabilities in Automated Phishing Website GenerationarXiv · 2026
- AI-Powered Phishing Website Detection using Machine Learning and Browser Extension IntegrationInternational Journal of Creative and Open Research in Engineering and Management · 2026
- Real time identification of phishing attacks through machine learning enhanced browser extensionsScientific Reports · 2026
- Explainable phishing website detection for secure and sustainable cyber infrastructureScientific Reports · 2025
- Cross-model evaluation of phishing detectors against LLM-generated emails.Frontiers in big data · 2026
- Phishing Website Detection Using A Stacked Hybrid Model With Explainable AIInternational Journal for Research in Applied Science and Engineering Technology · 2026