Manuscript Offprint

arXiv:2610.41672

Understanding the Energy Cost of Quantized Agents on Shared GPUs

Stephen Abkin, Alex Flesher, Aldric Yang, Nitheesh Kodarapu, Deepak Panigrahy, David Kebo Houngninou

ABSTRACT

Quantization can lower the energy of language-model calls and free memory for serving more agents, but its benefit per completed task remains unclear when agents share a GPU. Measurements of fixed requests or isolated agents leave open how the agents' generated work interact with competition for compute and cache. We present a systematic study of precision and admission limits for two agent models on A100 deployments with 40 or 80 GB of memory, using coding and data-analysis tasks with independently verified outcomes. We replay recorded calls across precisions to isolate execution energy and cap the cache to test the value of freed memory. For both models with four admitted agents where requests fit in the cache, 4-bit weights with 16-bit activations execute the same calls with 10–25% less energy than 8-bit weights and activations. Despite this saving, extra work and fewer completions in live runs raise their energy per verified completion by 49%. Where requests compete for cache on the 40 GB deployment, 4-bit weights cost less, and capping their cache raises energy per verified completion by 34% with 16 agents. These results show how generated work and cache demand change the energy benefit of quantization, providing a practical basis for choosing precision and admission limits together.

1 INTRODUCTION

Independent language-model agents work through software repairs and data-analysis tasks, each alternating model responses with tools that query data, edit programs, or run tests. Open-weight coding models let an operator host these agents on infrastructure it controls (Mistral AI & All Hands AI, 2025). Serving the agents on a shared GPU requires choosing both the model's precision and an admission limit NN, the number of sessions allowed to run concurrently. We compare each combination, or setting, by the energy needed per verified completion in live runs (i.e., the actual task attempts). Energy spent on unsuccessful attempts contributes to the cost of the tasks the service does complete, so cheaper execution is useful only if enough tasks finish correctly and within the service's latency requirement.

Quantization offers two potential benefits for this service. Lower-precision weights can reduce the energy of each model call and leave more GPU memory for reusable context stored as attention keys and values in the key-value (KVKV) cache. Lower precision can also change an agent's responses, which shape the work that follows. A response may need correction, a rejected tool request may be repeated, or

a long attempt may end without a correct solution. Each extra step consumes energy, so a saving on individual calls can be offset by the calls needed to finish a task.

Energy studies measure inference energy per output token (Chung et al., 2026) or per response (Chung et al., 2025), with savings that depend on the kernels and workload (Lin et al., 2025; Chung et al., 2026). Throughput and energy can also favor different settings (Chung et al., 2025; 2026). These measurements can suggest a setting to deploy, but they do not directly count how many agent tasks the service completes. Related studies of cache compression show that longer responses can offset a throughput gain (Gao et al., 2025). For one agent on a dedicated GPU, measurements of quantized agents connect energy per completion to both energy per token and tokens generated per completion (Abkin et al., 2026).

Sharing a GPU adds competition for compute and cache to this relationship between execution cost and generated work. Admitting more agents creates opportunities to batch their calls, but their contexts also compete for memory. Serving studies connect performance to memory management, quantized kernels, and workload shape (Kwon et al., 2023; Lin et al., 2025; Su et al., 2026), while multi-request measurements expose the energy cost of dependencies between calls (Ifath & Haque, 2026). Memory freed by quantization may help admitted requests fit in the cache, even when a change in precision increases the work agents generate.

  • Alex Flesher and Aldric Yang contributed equally. ¹ Texas A&M University, College Station, Texas, USA. Correspondence to: Stephen Abkin stephen122204@tamu.edu.

Preprint.

Single-response and single-agent measurements do not show how these effects combine in a shared service. An operator choosing by energy per token or throughput may select a setting that is cheaper per call but costlier per verified completion.

We study how precision and admission limits jointly affect energy per verified completion when agents share a GPU. We investigate this relationship through four research questions:

RQ1: Does the precision with the lowest energy per verified completion depend on the admission limit and the GPU and serving configuration?

RQ2: Does a saving on fixed recorded model calls carry through to the energy per verified completion of live agents?

RQ3: Does memory freed by quantization lower energy per verified completion when requests compete for cache?

RQ4: Do settings selected in preliminary (pilot) runs for low energy per token or high token throughput meet the service's completion and latency requirements?

We compare three precisions, BF16, W8A8, and W4A16, for two agent models, Devstral Small 1.1 and Qwen3.5-9B.² Their published baseline and quantized checkpoints let us compare deployable precisions of the same trained model. Devstral runs on 80 GB and 40 GB A100 GPUs, and Qwen runs on the 40 GB GPU, where all three precisions fit. For RQ1, we compare energy per verified completion across precisions and admission limits on a shared vLLM server (Kwon et al., 2023). Each live run offers 16 data-analysis and repository-repair tasks with independently checked outcomes.

To explain the live comparisons, we replay recorded calls across precisions to isolate the energy of executing the same work (RQ2). We cap the KV cache to test whether freed memory lowers energy per verified completion (RQ3). For RQ4, we check whether two token-based rules fixed before the main 80 GB Devstral runs choose settings that meet completion and latency requirements.

Summary of findings. On 80 GB, the precision with the lowest observed cost changes with admission. On 40 GB, Devstral's W4A16 costs less than W8A8 at both tested limits (Section 5.1). In our comparisons with four admitted

Figure

Figure 1. W4A16 saves replay energy but costs more per verified completion with four agents where requests fit in the cache. Diamonds show replay-energy ratios; circles show live ratios of energy per verified completion. Bars show 95% intervals from paired repetitions (Devstral: six on 80 GB, seven on 40 GB; Qwen: 11 at N = 4, four at N = 16). Values below one favor W4A16. N is the admission limit; rows not labeled Qwen use Devstral.

agents where requests fit in the cache, extra work and fewer completions raise W4A16's energy per verified completion by 49% over W8A8, despite its saving on fixed recorded calls (Figure 1 and Section 5.2). Where requests compete for cache, freed memory contributes to a lower cost. Capping Devstral's W4A16 cache on 40 GB raises its energy per verified completion by 34% with 16 agents (Section 5.3). On the 80 GB Devstral deployment, settings selected by token measurements from the preliminary (pilot) runs fail both the completion and latency requirements (Section 5.4). These results support evaluating precision and admission together on the intended tasks, checking service requirements before comparing energy per verified completion.

We make three concrete contributions:

  • Task-level measurement of precision and admission on a shared GPU. We measure energy per verified completion, including failed attempts, for three precisions at up to four admission limits across two models and two A100 deployments (Sections 3 and 4).

  • Replay of recorded agent work across precisions. We separate execution savings from differences in generated work by replaying each recorded workload across precisions (Section 5.2).

  • Testing the energy benefit of memory freed by quantization. We test the value of freed memory by capping W4A16's KV cache at W8A8's capacity within paired

²BF16 is the 16-bit bfloat16 format. In W8A8 and W4A16, W gives the bit width of stored weights and A gives the bit width of activations, the intermediate values computed during inference. W8A8 uses 8-bit integer weights and activations, and W4A16 uses 4-bit integer weights and BF16 activations.

repetitions (Section 5.3).

References (27)