News LLMs & Subscriptions Published 1 min read

Google's Gemini Decisions API: Zero Output Tokens and 150ms Multimodal Routing for AI Agents

Quick Answer & Key Takeaways

Google AI Studio's Gemini Decisions API (powered by gemini-decision-1) disables text generation entirely to run structured classification, scoring, and agent routing in a single forward pass. It processes up to 256K multimodal tokens and 1,000 independent questions in 150–250ms with calibrated probabilities and zero JSON parsing failures.

  • Zero output tokens: eliminates streaming latency and broken JSON formatting on classification and routing calls.
  • Speed & scale: 150–250ms typical end-to-end latency across up to 262,144 input tokens (text, JSON, images, audio, video, PDFs) and up to 1,000 questions per request.
  • Three native primitives on /v1beta/decisions: noul (Yes/No probability 0.01–0.99), choice (2–255 options), and score (ordered rubric scale).
  • Ideal as an orchestrator helper to decide which reasoning effort or tool an agent needs before spending expensive tokens.

Why Generating JSON Just to Route a Task Is Wasteful

Most agent frameworks still ask a full generative LLM to output {"route": "low_effort"}—paying output-token latency, risking malformed JSON, and getting uncalibrated confidence scores. Google's Gemini Decisions API (gemini-decision-1) strips away autoregressive decoding completely: the model reads your input once and scores all requested questions in a single forward pass.

Supported Decision Primitives

PrimitiveOutputBest Use Case
noulCalibrated probability (0.01–0.99) + confidencePolicy gates, safety checks, binary escalation triggers
choiceProbability distribution over 2–255 fixed optionsModel/effort routing, tool selection, ticket triage
scoreRating on an ordered 2–255 rubric (2–10 typical)Quality grading, sentiment scoring, content screening

Minimal Python SDK Example (google-genai >= 3.2)

import os
from google import genai

client = genai.Client(
    api_key=os.environ["GEMINI_API_KEY"],
    http_options={"api_version": "v1beta"},
)

response = client.decisions.create(
    model="gemini-decision-1",
    input="Incoming agent task or multimodal payload...",
    questions={
        "needs_high_effort": {"type": "noul", "description": "Requires deep architectural reasoning?"},
        "route": {"type": "choice", "options": ["flash_scout", "neon_medium", "neon_high"]},
    },
)

How Coding-Agent Builders Are Using It

Builders wiring multi-model harnesses (Antigravity, OpenCode, Hermes) are plugging gemini-decision-1 directly in front of their orchestrator to classify task complexity in ~200ms—preventing routine edits from burning Extra High reasoning quotas.

Frequently Asked Questions

Does the Gemini Decisions API support images, PDFs, and video?

Yes. You can pass up to 262,144 tokens of mixed text, JSON, images, audio, video, and PDFs in a single request and evaluate up to 1,000 independent structured questions at once.

Primary Sources & Verification

Related Articles

News

MiniMax M4 Launches: 2.74T Multimodal MoE With 1M Context and $0.05 Cached Input

Shanghai AI lab MiniMax released MiniMax M4 on December 3, 2026—a 2.74-trillion-parameter Mixture-of-Experts model (66B active) supporting text, images, and video with a 1M-token context window. Priced at $0.80 input ($0.05 cached) and $3.10 output per million tokens, it undercuts Western frontier APIs by 3–5x for agentic and finance workloads.