Quantifying the Accuracy and Cost Impact of Design Decisions in Budget-Constrained Agentic LLM Search
Organizations: Division of Computer Science & Engineering, Louisiana State University, Baton Rouge, Louisiana, USA
Abstract
Agentic Retrieval-Augmented Generation (RAG) systems combine iterative search, planning prompts, and retrieval backends, but deployed settings impose explicit budgets on tool calls and completion tokens. We present a controlled measurement study of how search depth, retrieval strategy, and completion budget affect accuracy and cost under fixed constraints. Using Budget-Constrained Agentic Search (BCAS), a model-agnostic evaluation harness that surfaces remaining budget and gates tool use, we run comparisons across six LLMs and three question-answering benchmarks. Across models and datasets, accuracy improves with additional searches up to a small cap, hybrid lexical and dense retrieval with lightweight re-ranking produces the largest average gains in our ablation grid, and larger completion budgets are most helpful on HotpotQA-style synthesis. These results provide practical guidance for configuring budgeted agentic retrieval pipelines and are accompanied by reproducible prompts and evaluation settings.
Figures & tables
| Model | Completion Tokens | Searches (16K Token Limit) | Plan | Plan+RF | ||||||
| 500 | 1K | 2K | 4K | 1 | 2 | 3 | Unlimited | |||
| TriviaQA | ||||||||||
| o4-mini | - | - | - | - | 79.33 | 81.56 | 82.68 | 89.72 | 89.39 | 91.25 |
| DeepSeek V3 | 87.45 | 88.01 | 88.95 | 87.08 | 54.51 | 64.78 | 71.07 | 85.98 | 92.34 | 90.65 |
| GPT-4.1-mini | 85.96 | 86.14 | 86.33 | 85.58 | 85.74 | 85.74 | 84.49 | 86.36 | 86.17 | 86.36 |
| Gemma 3 27B | 73.22 | 73.22 | 73.03 | 72.85 | 32.91 | 60.80 | 70.44 | 74.58 | 79.25 | 64.11 |
| Model | Plan | RF | Plan+RF | HS | HS+RR |
|---|---|---|---|---|---|
| LLaMA 3.1 8B | +4.52 | +6.33 | +5.21 | +5.73 | +8.80 |
| Gemma 3 27B | +8.14 | +7.37 | +10.43 | +8.93 | +13.01 |
| Qwen 3 14B | +10.87 | +5.19 | +12.45 | +12.36 | +17.86 |
| GPT-4.1-mini | +4.63 | +3.89 | +4.26 | +4.07 | +5.93 |
| DeepSeek V3 | +5.79 | +4.55 | +4.92 | +6.23 | +9.02 |
| o4-mini | +0.17 | +0.92 | +1.10 | +0.83 | +1.10 |