Source: ADK docs: Deferred scheduling with Gemini models (ADK Python 2.10.0), announced in Shubham Saboo's LinkedIn post, 2026-11-21.
What it is
Many agent workloads don't need an immediate answer: summarisation jobs, bulk eval runs, document pipelines. Google's Agent Development Kit (ADK) now lets a run ask for off-peak model capacity at a discount. When capacity is tight, the call waits in a queue instead of failing.
The setting is RunConfig(service_tier=ServiceTier.DEFERRED). It sits on the run, not the model or agent, so one agent definition can serve live users at standard tier and overnight batches at deferred tier.
Tiers: DEFERRED (queued off-peak), FLEX (best-effort, cheaper, no latency guarantee), STANDARD (default), PRIORITY (reserved capacity for latency-sensitive calls). The enum is a string, so new backend tiers can be passed before ADK names them.
How it works
The model must be a Gemini model with
use_interactions_api=True.On a deferred call the backend queues the request and returns an interaction ID at once. ADK polls it internally with exponential backoff, tolerates transient read failures (it gives up after 5 consecutive failures) and turns the final result into a normal response event. Application code reads events exactly as in a standard run.
Polling adds a few seconds on top of the queue wait, so it is wrong for short interactive calls.
Over HTTP,
adk api_serveracceptsservice_tierin the body of/runand/run_sse; deferred with streaming returns HTTP 422.For long waits, the docs recommend Agent Runtime on Google Cloud rather than holding an HTTP connection open.
The sharp edges
Per-turn queuing. Every model turn in a tool-using agent is its own interaction and queues separately. Total latency is the sum of every turn's wait, so a 20-turn agent waits 20 times.
No client deadline by default. The backend's completion timeout is the only bound.
Timeouts don't cancel. An
asyncio.timeout()or a client disconnect stops ADK polling, but the backend still runs the request, bills it, and the output can't be retrieved. A timed-out turn is paid for and lost.Silent fallback. If the model isn't on the Interactions API, ADK drops the tier, logs one warning per run, and runs at standard price. The run succeeds, so the log line is the only signal. This is deliberate for mixed multi-agent runs.
Not everywhere. Custom model classes ignore the tier, streaming is incompatible, and some agent classes run their own loop and ignore it.
Tradeoffs
| Choice | Gain | Cost |
|---|---|---|
| Deferred for batch agents | lower price, no capacity errors | unbounded latency, multiplied by turn count |
| Tier on the run, not the agent | one agent definition for both workloads | easy to misconfigure a live path as deferred |
| Warn instead of fail on unsupported models | mixed multi-agent runs keep working | silent full-price runs |
| Client timeout | bounded wall-clock | paid, unrecoverable work |
Review checklist
Is deferred used only for runs with no user waiting?
Are agents in deferred runs designed for few model turns (batched tool calls, larger steps)?
Is there an alert on the "has no effect for agent" warning, so fallback to standard pricing is visible?
Are client timeouts treated as cost, not as a spending cap?
Are long deferred runs hosted somewhere that doesn't hold an HTTP connection open?
Is the batch path tested end to end with the tier actually applied?
Related entries
R201 Why caching model outputs doesn't pay off: where agent token cost really goes.
R051 Six LLM serving techniques that leave the model alone.
R085 NeMo Switchyard: routing coding-agent turns between model tiers.
R093 kagent 1.0: sandboxed agent sessions on Kubernetes.