arXiv:2610.08775cs.AIOct 2026

Manuscript Offprint

arXiv:2610.08775

Agent in a Bottle: Can LLM Agents Turn Their Capabilities Into Cheap, Scalable Artifacts?

Ankit Sonthalia, Haritz Puerto, Alexander Rubinstein, Martin Gubri, Seong Joon Oh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Large language models (LLMs) can solve many narrow tasks, but querying them separately for millions of related instances can be prohibitively expensive. Can LLM agents autonomously create cheaper solutions for such workloads? We call this ability bottling: the ability to turn general capabilities into task-specific solutions that balance answer quality and amortised cost. We introduce BOTTLED, a benchmark in which agents receive an entire unlabelled workload and must complete it under fixed time, compute and LLM API budgets. Agents choose their own approach, such as training a small model or writing a reusable program. Across ten models and three tasks, we find that strong zero-shot task performance does not reliably translate into strong bottling capabilities. Models with similar zero-shot scores can differ substantially after bottling, and 48 of 60 bottling runs score below the lower bound of the 95% confidence interval of their model's zero-shot performance. Moreover, 31 of 60 runs underperform the stronger of two small-model distillation baselines with the same token budget. Nevertheless, bottling can yield substantial savings: on query-product relevance classification, Opus 5 retains about 82% of its zero-shot macro-F1 at roughly 657 times lower reported cost. Bottling is also competitive with Jev, a “system one” model built especially for cheap, repetitive inference: Opus 5 on the same task recovers about 94% of Jev's macro-F1 at a quarter of Jev's projected full-workload cost. BOTTLED provides a basis for evaluating and improving agents' ability to invest limited resources in reusable solutions for large, repetitive workloads.

GitHub

1 INTRODUCTION

LLM agents are increasingly used to automate narrow, repetitive tasks. Examples include extracting device specifications from millions of product descriptions and converting financial reports into structured records. When an agent invokes a general-purpose LLM for every instance, the total inference cost grows approximately linearly with the number of instances. Yet each task may require only a narrow subset of the model's capabilities. Recent work argues that small language models are sufficient for many such tasks (Belcak et al., 2025). Existing approaches train smaller task-specific models through distillation (Hsieh et al., 2023), or create other lightweight artifacts such as reusable programs (Wang et al., 2025a; Huang et al., 2026).

The next goal is for LLM agents to create suitable artifacts autonomously for a given repetitive workload. We call this ability bottling: the ability to turn general capabilities into a task-specific solution that balances answer quality and amortised cost. In this work, we evaluate bottling through the quality achieved on a complete batch under fixed resource budgets. The agent must balance exploration and exploitation: resources spent on the creation and refinement of an artifact must be weighed against those needed to apply it across the workload. This requires the agent to judge whether an upfront investment will yield sufficient savings across the batch.

Bottling has direct practical value. An artifact can replace repeated, expensive LLM calls with cheaper operations. Bottling brings the construction of small language models and other task-specific artifacts into the agent's workflow. This could reduce the human engineering needed to

1^{1}University of Tübingen. 2^{2}ELLIS Institute Tübingen, Max Planck Institute for Intelligent Systems, Tübingen AI Center. 3^{3}École Polytechnique, Institut Polytechnique de Paris, CNRS. 4^{4}KAIST AI. Correspondence to Ankit Sonthalia ankit.sonthalia@uni-tuebingen.de.

Figure

bottled gap to zero-shot zero-shot

Qwen3-0.6B student -- SmoILM2-360M-it student

Figure

Pareto frontier …… zero-shot

dominated

Figure 1: Bottling performance separates models with similar zero-shot capabilities; more expensive models do not necessarily bottle better. We show aggregated relative gains for each model, averaged over the three tasks and two runs. Left: each model's bottled score against its zero-shot score. Right: Pareto frontier.

adapt a system to a new repetitive task. For example, on ESCI, Opus 5 achieved a mean bottled macro-F1 of 0.499 at a reported cost of 26.28,comparedwithazero−shotmacro−F1of0.609andanestimatedfull−workloadcostof26.28, compared with a zero-shot macro-F1 of 0.609 and an estimated full-workload cost of17,273. This retains approximately 82% of the zero-shot macro-F1 at roughly 657 times lower reported cost. We also consider the newly released Jev (Almeida, 2026), a system one model built especially for cheap, repetitive inference: Opus 5's mean bottled macro-F1 is approximately 94% of Jev's 0.531, at roughly a quarter of Jev's estimated full-workload cost of $105.

Beyond its practical value, bottling tests an aspect of intelligence: the ability to reuse computation across related problems. Evidence from human probabilistic reasoning suggests that people reuse previous inferences when answering related queries (Gershman & Goodman, 2014). We therefore ask whether LLM agents can similarly recognise and exploit opportunities to amortise effort on unfamiliar workloads.

We introduce BOTTLED, a benchmark for the bottling capabilities of LLM agents. BOTTLED provides an evaluation protocol in which agents receive the entire unlabelled workload upfront and must return answers under fixed time, compute and LLM API budgets. They choose how to allocate these resources and whether to train a small model, write a program, or use a hybrid approach. We provide zero-shot LLM evaluation and a distillation baseline with the same token budget as the agents, alongside initial experimental results to support comparisons across agents.

Our results show that strong zero-shot performance does not reliably translate into strong bottling capabilities. Models that perform well when queried separately for each instance can struggle to turn those capabilities into an effective solution under a limited budget. On MAVE, GPT 5.6 Terra and Sonnet 5 both achieve zero-shot F1 scores of approximately 0.44, but their mean bottled F1 scores differ substantially: 0.405 and 0.154, respectively. This gap suggests that bottling requires capabilities beyond those measured by zero-shot task evaluation. Our contributions are:

  1. We introduce BOTTLED, providing a basis for developing models and harnesses that can judge when, how and how much to invest in reusable artifacts for repetitive workloads.

  2. Using BOTTLED, we study the bottling capabilities of 10 models across 3 tasks.

  3. Our analysis reveals that task knowledge does not guarantee bottling capability, and that many modern agents are often beaten by a naive distillation baseline.

References (33)