Performance and Cost Evaluation of ML vs. LLMs for CRM Message Tagging

Authors

Keywords:

software engineering, machine learning, large language models, text classification, customer relationship management

Abstract

Customer relationship management (CRM) automation in the food and beverage industry heavily relies on accurate text classification to optimize response routing. However, software engineers face architectural trade-offs between deploying computationally lightweight traditional machine learning (ML) models and integrating highly contextual, API-driven Large Language Models (LLMs). This study evaluates the industrial viability of a self-hosted Random Forest model against a zero-shot LLaMA 70B model accessed via application programming interfaces. The ML model was trained on a preprocessed dataset of 5,000 samples, while both architectures were benchmarked against 200 unseen customer messages across five CRM categories. Quantitative evaluation reveals that the LLM achieved a superior overall accuracy of 71.50% compared to the ML model's 65.50%. Despite this, the LLM exhibited a critical algorithmic blind spot in identifying potential buyers (2.5% accuracy) and incurred continuous token-based operational costs coupled with network latencies ranging from 200 to 800 milliseconds. Conversely, the Random Forest model demonstrated sub-5 millisecond local inference speeds, deterministic consistency, and zero ongoing operational expenditures. The findings conclude that a hybrid architectural approach deploying the cost-effective ML model as the primary filtration layer and utilizing the LLM exclusively as a fallback validator for ambiguous classifications provides the most scalable, economically viable, and resilient solution for enterprise CRM infrastructures.

Downloads

Published

2026-09-16

How to Cite

Harpanda, A., Iqbal, M., & August Seventeenth, F. (2026). Performance and Cost Evaluation of ML vs. LLMs for CRM Message Tagging. Tekinfo Transactions on Software Engineering, 1(1), 1–12. Retrieved from https://journal.techno-center.id/index.php/INFOSE/article/view/1

Issue

Section

Articles