arXiv:2608.29581cs.DCAug 2026

Manuscript Offprint

arXiv:2608.29581

Bridging Agent Semantics with Spot Capacity: An Elastic and Recoverable Service Model

Minchen Yu

Abstract

LLM agents increasingly drive long-running cloud inference workloads in which model calls differ in urgency, redundancy, completion semantics, and replay cost. Model-as-a-Service (MaaS) platforms expose several service models for trading cost against latency, availability, and capacity commitment. These models operate primarily at request, job, or endpoint scopes and provide limited support for combining transient platform supply with the evolving semantics of an agent task.

We present SEMSPOT, a semantics-aware service model that allows agent applications to leverage the spot capacity of LLM inference platforms. At the request level, SEMSPOT lets a provider publish short-lived offers over successful price, completion probability, and failure-notification deadline; the agent runtime selects among these offers using the current task state and completion rule. An audit of 1,535 cases from six agent benchmarks identifies four recurring workflow structures and shows how this service model may produce different cost, service-time, and fallback behavior. With specialized MaaS support, Token-Level SEMSPOT further preserves provider inference state and runtime-verified semantic segments inside a long request. We develop the service model, economic boundary, and the cross-layer research agenda required to realize SEMSPOT.

1 Introduction

LLM agents are becoming a major source of cloud inference demand. A user objective can unfold into a long-running task that plans, retrieves information, invokes tools, explores alternatives, validates intermediate results, and revises subsequent actions. Such tasks maintain state across many model calls and reveal their execution structure online: a speculative branch may become critical after sibling failures, a verifier may initiate another round, and a join may make unfinished work irrelevant. Efficient agent serving must therefore follow the evolving structure of a live task [4, 14, 16, 38].

Model-as-a-Service (MaaS) platforms provide the computational substrate for these tasks. They multiplex requests with heterogeneous context lengths and uncertain generation times over expensive accelerators while workload bursts continually change queue, compute, and memory pressure. Modern serving systems expose substantial internal flexibility through batching, disaggregation, preemption, KV-cache management, and elastic placement [1, 22, 23, 26, 27, 39]. Most of this flexibility remains hidden behind a conventional inference API.

MaaS providers also offer varying service models, including Standard and Priority for interactive requests, Batch for detached work, and Flex or best-effort processing for lower-cost service [3, 9, 10, 20, 21]. These models cover useful cost-service tradeoffs, and runtimes can route different inference calls to different products. Their public contracts are generally selected for a request, job, or capacity commitment. However, they provide limited support for conditioning an offer on the current state of a live task or coordinating recovery after opportunistic execution is interrupted.

This boundary separates two views needed for efficient execution. The runtime manages the current time budget, branch redundancy, completion rule, and replay cost of each call. The platform keeps track of resource utilization, request queue, model placement, and KV-cache availability. Existing products let the runtime select a service and react to its outcome, but they do not provide a common, task-conditioned contract that relates the semantics of the current call to the available capacity. The gap becomes most visible when opportunistic work fails late, several branches fall back together, or useful in-request progress could otherwise be retained.

Cloud Spot services provide a useful economic precedent. They allow a provider to monetize spare infrastructure while retaining a reclaim option, and compensate the user through a discount [2, 11, 24, 25]. Flex processing has brought part of this exchange to model APIs [3, 9, 21]. We argue that agent serving motivates a semantics-aware extension that connects task context with the Spot capacity of MaaS platforms. We use Firm1Firm^{1} to denote the stable execution path against which Spot is selected and recovered. An ideal Spot service should exchange the information needed for a joint decision. The runtime supplies only the semantics needed to choose and recover execution—for example, the current time budget, completion rule, fallback policy, and recovery capability. The provider supplies a priced description of the spot capacity available for that execution and returns a terminal outcome that the runtime can interpret deterministically.

We call this service model SEMSPOT. SEMSPOT operates at two complementary granularities. At the request level, the provider publishes a short-lived menu whose entries describe a settlement horizon, successful price, completion probability, and failure-notification deadline. The runtime chooses among Firm execution and these Spot offers according to the task's current state and completion rule. At the token level, SEMSPOT moves the recovery boundary inside a long request with specialized support of MaaS platforms. Provider-state resume preserves KV-cache and decoder progress, while runtime-verified segment commit preserves output that has already become independently valid to the application.

In this paper, we primarily focus on establishing and analyzing SEMSPOT service model. We first model request-level SEMSPOT under four recurring agent workflow structures identified through a preliminary audit of 1,535 benchmark cases. We then place provider

1^{1}Firm denotes any protected execution path that offers sufficiently stable delivery for the selected inference unit. It may be realized by Standard or Priority request service, and serves as the stable alternative and fallback to Spot.

operational saving and runtime bill reduction of SEMSPOT to derive an economic filter and guide the SEMSPOT configurations for MaaS providers. Finally, we examine the additional platform and runtime support required for token-level SEMSPOT and clarify when physical and semantic recovery are complementary. Realizing SEMSPOT requires coordinated advances in three areas. A portable semantic contract must expose enough task context and terminal information without revealing a full workflow or private infrastructure state. The agent runtime must identify safe inference units, select among Firm and multiple Spot offers online, coordinate fan-out and cancellation, and validate recoverable progress. The MaaS platform must calibrate offers, protect the capacity required by Firm traffic and fallback, manage KV and compute resources, and provide auditable settlement.

Contributions. This paper makes the following contributions:

  • We introduce SEMSPOT, a cross-layer, semantics-aware service model that connects agent task context with the spot capacity of MaaS platforms while preserving the responsibilities of the runtime and provider.

  • We formulate request-level SEMSPOT as a short-lived provider menu and use a preliminary audit of 1,535 cases from six agent benchmarks to derive structure-specific bill, service-time-budget, and fallback implications.

  • We analyze operational saving and runtime bill reduction of SEMSPOT for providers, yielding an economic filter and design guidelines for publishable Spot offers.

  • We explore token-level SEMSPOT through provider-state resume and runtime-verified segment commit, and identify the runtime and MaaS mechanisms needed to evaluate the model.

  • We identify the open problems for semantic contracts, agent runtime, and MaaS platforms required to realize and optimize SEMSPOT in practice.

References (14)