Back to search

The Ohio State University

Adaptive Model Routing for Cost-Efficient LLM-Based AI Agent Systems

Abstract

dc:description

Large language model (LLM)-based agent systems are economically dominated by per-call inference cost. Flagship models charge on the order of $15 per million output tokens, and agents that issue many calls per request can accumulate substantial spend; the natural response of always using a cheaper model is undermined by the assumption that lower price implies lower task quality.This work presents an adaptive model routing system that organizes a heterogeneous pool of models into four tiers, with a low-cost tier as the routing default and three escalation paths for tasks the default cannot handle. A classifier subsystem with both heuristic and LLM-based backends routes incoming tasks, and an integrated retry-and-escalate runtime detects soft failures and redirects to a higher tier without losing prior work. The router is implemented as a self-contained Python package that wraps the open-source OpenClaw agent framework through a subprocess boundary, and its tier assignments are calibrated against per-task profiling data rather than an a priori cost-quality ordering.On the 23-task PinchBench benchmark, the canonical adaptive run achieves a mean score of 0.7618 at $0.3844, against an all-premium baseline of 0.7410 at $2.3717: an 83.8% cost reduction with a 0.021 absolute score improvement. The tier-1 model alone scores 0.8245 on the same suite, an empirical departure from the cost-quality monotonicity assumption that prior routing literature relies on. The upward cascade is therefore reframed as a failure-recovery mechanism rather than a quality cascade, supporting the design pattern for heterogeneous workloads in which the deployer cannot guarantee that the low-cost default will succeed on every task.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Xia, Yinglun
Advisor dc:contributor.advisor
  • Liu, Jia (Kevin)

Subjects

dc:subject × 9

Rights

dc:rights
Statement dc:rights
  • restricted--full text unavailable until 2027-05-10
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Xia, Yinglun. Adaptive Model Routing for Cost-Efficient LLM-Based AI Agent Systems. masters thesis, The Ohio State University, 2026. http://rave.ohiolink.edu/etdc/view?acc_num=osu1776952494592833