International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
Volume 186 - Issue 51 |
Published: November 2024 |
Authors: Deepak Babu Piskala, Vijay Raajaa, Sachin Mishra, Bruno Bozza |
![]() |
Deepak Babu Piskala, Vijay Raajaa, Sachin Mishra, Bruno Bozza . OPTIROUTE Dynamic LLM Routing and Selection Based on User Preferences: Balancing Performance, Cost, and Ethics. International Journal of Computer Applications. 186, 51 (November 2024), 1-7. DOI=10.5120/ijca2024924172
@article{ 10.5120/ijca2024924172, author = { Deepak Babu Piskala,Vijay Raajaa,Sachin Mishra,Bruno Bozza }, title = { OPTIROUTE Dynamic LLM Routing and Selection Based on User Preferences: Balancing Performance, Cost, and Ethics }, journal = { International Journal of Computer Applications }, year = { 2024 }, volume = { 186 }, number = { 51 }, pages = { 1-7 }, doi = { 10.5120/ijca2024924172 }, publisher = { Foundation of Computer Science (FCS), NY, USA } }
%0 Journal Article %D 2024 %A Deepak Babu Piskala %A Vijay Raajaa %A Sachin Mishra %A Bruno Bozza %T OPTIROUTE Dynamic LLM Routing and Selection Based on User Preferences: Balancing Performance, Cost, and Ethics%T %J International Journal of Computer Applications %V 186 %N 51 %P 1-7 %R 10.5120/ijca2024924172 %I Foundation of Computer Science (FCS), NY, USA
With the widespread deployment of large language models (LLMs) such as GPT-4 [12], BART [9], and LLaMA [5], the need for a system that can intelligently select the most suitable model for specific tasks—while balancing cost, latency, accuracy, and ethical considerations—has become increasingly important. Recognizing that not all tasks necessitate models with over 100+ billion parameters, we introduce OptiRoute, an advanced model routing engine designed to dynamically select and route tasks to the optimal LLM based on detailed user-defined requirements. OptiRoute captures both functional (e.g., accuracy, speed, cost) and non-functional (e.g., helpfulness, harmlessness, honesty) criteria, leveraging lightweight task analysis and complexity estimation to efficiently match tasks with the best-fit models from a diverse array of LLMs. By employing a hybrid approach combining k-nearest neighbors (kNN) search and hierarchical filtering, OptiRoute optimizes for user priorities while minimizing computational overhead. This makes it ideal for real-time applications in cloud-based ML platforms, personalized AI services, and regulated industries. [4]