← Back to Paper Radar

Blackhole AI: Intelligent Query Routing and Cost-Optimized RAG System

Mr. Sahil A. Katkar, Mr. Harshal N. Barge, Mrs. Kajal P. Khalate, Mr. Prathmesh V. Ingale, M. Yeske
International Journal for Research in Applied Science and Engineering Technology | 2026

Reading guide · Based on pages from the original PDF

The authors propose Blackhole AI, a RAG design that scores each query's complexity before inference and sends simple queries to a local model and complex ones to a cloud LLM to reduce cost. The design is offered without empirical validation.

Why read this

Practitioners sketching hybrid local/cloud RAG routing may find the component outline useful as a checklist, but those seeking evidence that routing saves cost or preserves accuracy will find none.

What the authors found

  • The authors define a design, not a measured result. A complexity score is a weighted sum of query length, semantic hardness and retrieval confidence, and it is compared against a threshold T to pick the local or cloud model. The weights, the threshold value, how hardness is computed and which models are used are not specified. “PDF page 6” restates the formula with different symbols. PDF page 4
  • Retrieval uses FAISS top-k search over Sentence-BERT-style embeddings. When retrieval confidence falls below a threshold τ, the system falls back to web fetching, then parses, filters and deduplicates the fetched content before merging it with indexed results. Neither τ nor the confidence computation is quantified. PDF page 4
  • The comparison with cloud-only LLMs, basic RAG and RAGRouter-like systems is a qualitative yes/no/partial table. It contains no measurements. The authors characterize prior routing work as not jointly optimizing cost and latency. PDF page 6

Main limitation

No experiments are reported. Accuracy, latency, cost and routing efficiency are listed only as metrics for future validation, so the cost savings are an aim rather than a finding, despite the conclusion's framing. PDF page 7

Where to start

PDF page 4 · Read the architecture and complexity-score definition to judge whether the routing signal is concrete enough to implement. Compare it against the inconsistent restatement in S6.

Abstract

The rapid adoption of large language models (LLMs) in enterprise and knowledge-intensive applications has introduced significant challenges related to inference cost, latency, and scalability. Most existing deployments rely on uniform cloud-based processing, which leads to unnecessary resource consumption for simple queries. This paper presents Blackhole AI, an adaptive query routing framework that integrates seman-tic embedding, retrieval-augmented generation, and quantitative complexity estimation to dynamically select between local and cloud-based models. The proposed system introduces a cost-aware routing mech-anism that evaluates query difficulty before model invocation, enabling efficient allocation of computational resources. By com-bining vector-based retrieval with adaptive decision thresholds, Blackhole AI aims to balance response accuracy with operational efficiency. The framework highlights the importance of intelligent routing strategies in achieving scalable and economically sustain-able LLM deployment.

Generated automatically from PDF pages on 2026-11-28.