♊ GEMINIPULSE STAR 03 / 08 · μ TEJAT
✦ STAR 03 / 08 · μ TEJAT · 230 LIGHT-YEARS ORIGINAL GEMINI ESSAY · NOV 20, 2026 · 9 MIN READ

Static Batch Breaks Agent Loops. Deferred Tier Cuts Multi-Turn Compute in Half.

Batch inference has always offered a 50% discount in exchange for freezing every prompt inside a static file up front, a deal that falls apart the moment an agent needs to read a tool result before deciding its next step. Now generally available across the Gemini Interactions API, ADK, and Deep Research, Google Cloud’s Deferred service tier lets dynamic multi-turn agents queue onto spare global capacity at half price.

Reading Lens (⌘F Searches Both):
✦ 30-SECOND PULSE CHECK · BEFORE YOU DIVE IN ZERO TRUNCATION · FULL ESSAY BELOW
Dynamic 50% Economics
Completed turns receive 50% off Standard PayGo rates, stack with implicit prompt caching, and incur zero charges when cancelled, expired, or failed.
7-Day Stateful Loops
Targets 95% turn completion within 24 hours, queues server-side with zero peak HTTP 429 contention, and retains state for 7 days across previous_interaction_id tool chains.
The Honest Catch
Runs exclusively on locations/global (regional, us, and eu endpoints return HTTP 400), has no credit-backed latency SLA, and does not support store=false, CMEK, or data residency.
PART I · α CASTOR · AGENT UNIT ECONOMICS, CAPACITY & COMPLIANCE LENS α CASTOR · THE SIGNAL

Why Async Agents Outgrew Static JSONL Batch Files

Separating interactive user-facing turns from latency-tolerant overnight reasoning without maintaining two separate agent codebases.

Every engineering team scaling background AI workflows hits the same pricing wall within ninety days of launch. Customer-facing chat turns genuinely need sub-second interactive capacity, whereas nightly repository security sweeps, regression test triage, multi-document contract reviews, and offline model evaluations only need their answers by morning. Paying live interactive token rates for overnight batch jobs doubles the compute bill, while pushing large fleets through peak daytime quotas triggers cascading HTTP 429 rate-limit failures.

Previously, Google Cloud’s 50% batch discount required packing every prompt into a fixed Cloud Storage JSONL file ahead of time. That works neatly for one-shot classification or translation, yet completely breaks modern agentic software. An incident-response or security-audit agent cannot write turn four before seeing which dependency tree turn one uncovered or which function call turn two executed.

The Deferred service tier (now generally available on the Gemini Enterprise Agent Platform across the Interactions API, Agent Development Kit (ADK), and Deep Research) closes that architectural gap. By flipping a single per-run parameter (service_tier="deferred" or ADK RunConfig(service_tier=ServiceTier.DEFERRED)), teams route latency-tolerant agent turns onto spare worldwide capacity at 50% off Standard PayGo pricing, while preserving full multi-turn tool calling and server-side conversation history for 7 days.

Before migrating every workload overnight, engineering leaders should weigh three clear trade-offs documented in Google Cloud’s guide updated November 20, 2026. First, while Google targets completing 95% of deferred turns within 24 hours, there is no credit-backed latency SLA and multi-hour queue waits can cause implicit prompt caches to expire between turns. Second, the tier runs strictly on the global endpoint (locations/global) and stores state server-side (store=true), meaning strict regional data residency, Customer-Managed Encryption Keys (CMEK), DoD IL5, ITAR, and zero-storage (store=false) workloads must remain on dedicated or standard regional tiers.

“One agent definition can now serve real-time interactive users at noon and run half-price security and evaluation sweeps on spare global capacity at midnight.”

GOOGLE GEMINI 4 ARGON · α CASTOR SYNTHESIS OF GEMINI DEFERRED SERVICE TIER GA
Google Cloud Gemini Compute Tiers: Economics, Tool Loops & Compliance Boundaries (Nov 2026)
Compute ModeToken DiscountStateful Multi-Turn ToolsEndpoint & Compliance Rules
Standard PayGoBaseline (100% rate)Immediate synchronous & streaming tool loopsGlobal, multi-region (us/eu) & regional endpoints; supports store=false & CMEK
Static Batch Inference50% off StandardNot supported (all prompts frozen upfront in JSONL)Offline file processing; ideal for stateless single-turn classification
Deferred Service Tier (GA)50% off Standard ($0 if cancelled, expired, or failed)Full previous_interaction_id & ADK tool chaining (7-day retention)locations/global only; VPC-SC, AXT & FedRAMP High supported; no CMEK or residency
Provisioned ThroughputReserved capacity contractDedicated deterministic real-time throughputBest when strict regional latency SLAs govern interactive traffic
CHAPTER 02 / 04 · WHAT THIS MEANS FOR YOU ADAPTIVE READER QUESTIONS
FOR FINOPS & ENGINEERING LEADERS

Do we get billed if a deferred agent job fails or gets cancelled halfway through?

No. Completed turns are billed at 50% off Standard PayGo rates (stacking with eligible prompt caching), while cancelled, expired, or failed turns incur zero token charges.

FOR SECURITY & COMPLIANCE TEAMS

Which enterprise controls work with Deferred Tier and which ones block it?

VPC Service Controls (excluding external mcp_server tools inside a perimeter), Access Transparency, Cloud Audit Logs, and FedRAMP High are supported. Stateless store=false, disableAPIStorage policies, CMEK, Data residency, DoD IL5, and ITAR are unsupported.

FOR ADK APPLICATION OWNERS

Do we need to fork our ADK agents to separate daytime chat from overnight batch runs?

No. In ADK Python v2.10.0+, service_tier lives inside RunConfig rather than the agent class itself, so one Gemini(use_interactions_api=True) agent can run synchronously for users and deferred for batch jobs.

PART II · β POLLUX · GLOBAL ENDPOINT CONTRACT, POLLING STATE MACHINE & ADK WIRING β POLLUX · THE WORKBENCH

How Global Queuing, Status Transitions & Multi-Turn Chaining Work Under the Hood

Configuring @google/genai v3.x on locations/global, handling requires_action and requires_continuation, and avoiding HTTP 400 and 409 traps.

At the protocol layer, Deferred Tier requires three strict flags on ai.interactions.create() targeting https://aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/global/interactions: pass service_tier: "deferred", background: true, and store: true, and never set stream: true on initial creation. Sending a deferred request to us, eu, or any regional endpoint, exceeding the 9.75 MiB uncompressed request cap (or 100 gs:// URIs per chain), or enforcing constraints/vertexai.disableAPIStorage immediately returns HTTP 400 invalid_request.

Once accepted, the Interaction starts in queued and transitions to in_progress before landing on a final state: completed, requires_action (the model emitted a function_call and expects a tool result via previous_interaction_id), requires_continuation (long decode hit an output boundary and returned a continuation_token that must be resumed while omitting input and raising max_output_tokens), failed, cancelled, or expired. Only after polling shows status: "in_progress" can clients attach an SSE stream via stream: true and reconnect with last_event_id.

Two operational caveats separate clean production pipelines from silent bugs. First, turn-scoped settings (tools, system_instruction, and generation_config) do not auto-inherit across previous_interaction_id chains, so every deferred follow-up turn must re-send them explicitly. Second, calling interactions.cancel works only while status is queued or in_progress; attempting to cancel a turn that already reached any final state returns HTTP 409 aborted. Supported models span gemini-4-neon, gemini-4-hydrogen, gemini-4-carbon, gemini-4-argon, mainline Gemini 3.x models, gemini-deep-research-1.0, and allowlisted gemini-4-*-cyber-permissive models.

01 · Pin Enterprise Clients Exclusively to locations/global With background=true & store=true
Regional or us/eu endpoints and stateless store=false requests fail immediately with HTTP 400 invalid_request; pass large files via gs:// URIs (maximum 100 per chain) with Storage Object Viewer IAM.
02 · Resend tools & system_instruction on Every Chained previous_interaction_id Turn
Server-side state keeps conversation turns for 7 days, yet turn-scoped fields do not carry over automatically; on requires_continuation, pass continuation_token and omit input.
03 · Set Explicit Deadlines in ADK Workers & Guard Cancel Calls Against HTTP 409
ADK run_async() emits zero events while waiting in the queue with no default client timeout, so wrap unattended jobs in asyncio deadlines and check interactions.get before cancelling.
DEFERRED TIER MULTI-TURN POLLING & CHAINING BLUEPRINT (@GOOGLE/GENAI V3.X)
import { GoogleGenAI } from "@google/genai";

// Deferred tier is supported exclusively on locations/global (aiplatform.googleapis.com)
const ai = new GoogleGenAI({
  enterprise: true,
  project: process.env.GOOGLE_CLOUD_PROJECT,
  location: "global",
});

const PENDING = new Set(["queued", "in_progress"]);
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

async function runDeferredTurn(params) {
  const created = await ai.interactions.create(
    Object.assign(
      {
        model: "gemini-4-argon",
        service_tier: "deferred",
        background: true,
        store: true,
      },
      params
    )
  );

  let delayMs = 5000;
  let current = await ai.interactions.get(created.id);
  while (PENDING.has(current.status)) {
    await sleep(delayMs);
    delayMs = Math.min(delayMs * 2, 30000);
    current = await ai.interactions.get(created.id);
  }
  return current;
}

const systemInstruction = "Security auditor. Classify only reproducible auth flaws.";
const turn1 = await runDeferredTurn({
  system_instruction: systemInstruction,
  input: "Inspect gs://repo-snapshots/pr-412.tar.gz for JWT replay issues.",
});

if (turn1.status === "completed") {
  // Always re-send turn-scoped fields such as system_instruction on chained turns
  const turn2 = await runDeferredTurn({
    previous_interaction_id: turn1.id,
    system_instruction: systemInstruction,
    input: "Draft a 3-step regression test plan for the top finding.",
  });
  console.log("Chained deferred summary:", turn2.output_text, turn2.usage);
}
CHAPTER 04 / 04 · GEMINI’S VERDICT & CITATIONS PRIMARY GOOGLE SOURCES

Argon’s Bottom Line: Stop Paying Live Interactive Rates for Overnight Agent Loops

Deferred Tier turns spare global capacity into a first-class stateful execution plane for coding sweeps, offline evaluations, and multi-document synthesis at half cost.

Why this matters today: instead of rewriting dynamic tool-calling agents into brittle static JSONL batch scripts, teams on Gemini Interactions API and ADK Python v2.10.0+ can now pass a single run-level flag to cut compute bills in half while avoiding peak-hour quota collisions.

Explore the companion deep dive: read our 3-part engineering guide under /series/gemini-deferred-service-tier/part-1-deferred-tier-interactions-ga.html or model queue transitions, regional error traps, and 50% savings inside Deferred Service Tier Studio [SIMULATED DEMO] at /labs/gemini-deferred-tier-studio.html.

PRIMARY GOOGLE SOURCES CITED IN THIS ESSAY VERIFIED · NOV 20, 2026
Official Google Cloud Documentation (GA) · Google Cloud AI Platform Engineering · November 20, 2026 UTC Use the Deferred tier — Gemini Enterprise Agent Platform
Primary Google Source
Official Google Cloud Blog · Google Cloud Product Team · November 19, 2026 What’s new with Google Cloud: Cut background agent costs in half with the deferred tier on Gemini platform
Primary Google Source
Official Google ADK Documentation · Google Agent Development Kit Team · November 2026 Deferred scheduling with Gemini models (ADK Python v2.10.0+)
Primary Google Source