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

- **URL:** https://dottheais.com/news/google-gemini-decisions-api-zero-token-routing-for-agents
- **Published:** 2026-12-06
- **Updated:** 2026-12-06
- **Topic:** LLMs & Subscriptions

## Quick Answer

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.

## Key Takeaways

- 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

| Primitive | Output | Best Use Case |
| --- | --- | --- |
| **`noul`** | Calibrated probability (`0.01–0.99`) + confidence | Policy gates, safety checks, binary escalation triggers |
| **`choice`** | Probability distribution over `2–255` fixed options | Model/effort routing, tool selection, ticket triage |
| **`score`** | Rating on an ordered `2–255` rubric (2–10 typical) | Quality grading, sentiment scoring, content screening |

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

```python
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.

## Primary Sources

- [Getting Started with Gemini Decisions API](https://aistudio.google.com/learn/getting-started-with-gemini-decisions-api)
