Documentation

Model Registry

Every model you can pick when you deploy an agent, what each one is good at, and which key it bills to.

Which model should I pick?

If you are not sure, leave the model empty. The console, both SDKs and the API then use gemini-3.8-flash, which handles most agents well and costs little. Change it only when one of these applies:

  • The agent must reason through hard, multi-step work (planning, coding, long documents): use gemini-4-argon.
  • The agent handles a high volume of simple requests (routing, tagging, short answers): use gemini-3.5-flash-lite.
  • The agent talks with people by voice in real time: use gemini-3.8-live (see Google Live below).
  • Your team already uses Claude or GPT: pick a model from the Anthropic or OpenAI sections and add that provider's key.

The model picker in the console only shows models your project has a key for. A model missing from the picker usually means the provider's key is not set yet.

Google

Gemini chat models for text and files. They can read images, audio, video and documents such as PDFs, and they reply in text. Use a Live model below if the agent needs to speak.

ModelBest forInputOutput
gemini-3.8-flashDefault. Fast and low-cost, good at tools, documents and images. Start here.Text, image, audio, video, documentText
gemini-4-argonGoogle’s most capable model, for multi-step reasoning, coding and long documents. Slower and costs more.Text, image, audio, video, documentText
gemini-3.5-flash-liteCheapest and fastest, for high-volume simple tasks.Text, image, audio, video, documentText
gemini-3.5-flashThe previous Flash generation. Choose gemini-3.8-flash for new agents.Text, image, audio, video, documentText

Keys. Calling a Gemini agent uses your Gemini API key: the project key in Project settings → API keys, or in a team organization the organization key in Organization settings → LLM API keys. Without one, invoking the agent returns a 400 that says where to add it.

Thinking level on gemini-4-argon. It takes a thinking level instead of a token budget: set thinking_level to LOW, MEDIUM (default) or HIGH in planner_config. thinking_budget is ignored on it.

Google Live

Voice agents. Use these when the agent should listen and speak in real time, for example on a phone line or in a mobile app. Both run on the Gemini API, so the agent needs a Gemini API key in Project settings → API keys (or the organization key in a team organization).

ModelBest forInputOutput
gemini-3.8-liveRecommended for every new voice agent. Tools run in the background by default, so the agent keeps talking.Text, audio, image, videoText, audio
gemini-3.1-flash-live-previewEarlier preview model. Tools block by default. Use gemini-3.8-live unless you have tested on this one.Text, audio, image, videoText, audio

Background tools

On a Live voice agent, a slow tool can freeze the conversation — the model goes quiet until the tool returns. Background tools fix that: the agent keeps speaking while the tool runs, then folds the result in when it arrives.

You control this with two fields on each tool: response_scheduling (run in the background, and say when to react) and blocking (hold the agent still until the tool finishes). Non-Live models ignore both.

Defaults by model

Start from the model default, then override only the tools that need different behavior.

ModelDefaultWhat you usually do
gemini-3.8-liveBackground (WHEN_IDLE)Leave most tools alone. Set blocking: true only when the agent must wait (payments, confirmations).
Other Live modelsBlockingSet response_scheduling on tools that can run while the agent keeps talking.

When the agent reacts

Pick a scheduling mode for each background tool. This only matters when the tool is not blocking.

ModeWhat happensGood for
WHEN_IDLEWaits for a natural pause, then brings the result up. Default when a tool runs in the background.Lookups, chart pulls, most API calls
INTERRUPTBreaks into whatever the agent is saying as soon as the result lands.Urgent alerts, safety checks
SILENTTakes the result in without mentioning it, for later in the conversation.Prefetch, context enrichment

In the console

  1. Open your agent and pick a Live model that supports background tools.
  2. On each tool, use Run in background to choose whether the agent keeps talking while it runs.
  3. For background tools, choose when the agent should react to the result (WHEN_IDLE, INTERRUPT, or SILENT).
  4. On gemini-3.8-live, turn background off (blocking) only for tools that must finish before the next spoken reply.

In code (Python)

Decorate tools with response_scheduling or blocking. Do not set both on the same tool — a blocking tool has no result left to schedule.

from hikigai.agentsdk import tool

# Background: agent keeps talking; reacts at a natural pause (default on 3.8).
@tool(response_scheduling="WHEN_IDLE")
def fetch_record(patient_id: str) -> dict:
    """Pull a chart. Slow, and the agent can keep talking meanwhile."""
    return lookup(patient_id)

# Urgent: speak as soon as the result arrives.
@tool(response_scheduling="INTERRUPT")
def check_allergy(patient_id: str, drug: str) -> dict:
    """Safety check — interrupt if something is wrong."""
    return allergy_api(patient_id, drug)

# Prefetch: absorb the result quietly for later turns.
@tool(response_scheduling="SILENT")
def warm_context(patient_id: str) -> dict:
    """Load context the agent may need later."""
    return prefetch(patient_id)

# Blocking: required on gemini-3.8-live when the agent must wait.
@tool(blocking=True)
def take_payment(amount: float) -> dict:
    """Must settle before the agent says anything else."""
    return charge(amount)

In code (Node)

Same idea in TypeScript — use responseScheduling or blocking on tool().

import { tool } from '@hikigai/agent-sdk'

const fetchRecord = tool({
  responseScheduling: 'WHEN_IDLE',
  description: 'Pull a chart while the agent keeps talking.',
})(async (patientId: string) => lookup(patientId))

const takePayment = tool({
  blocking: true,
  description: 'Must settle before the agent speaks again.',
})(async (amount: number) => charge(amount))

Quick rules

  • Prefer background for slow, non-critical work (lookups, EHR pulls, weather, notes).
  • Prefer blocking for irreversible or gatekeeping steps (payments, identity confirmation, "are you sure?" actions).
  • Start with WHEN_IDLE; use INTERRUPT only when the user needs to hear the result immediately.
  • Never set blocking and response_scheduling together — the SDK rejects that combination.

Anthropic

Claude agents call the Anthropic API with your own Anthropic key. In a team organization that is the organization key in Organization settings → LLM API keys, or a project override in Project Settings; in a personal workspace, add it in Project Settings → API keys. They deploy to every runtime (ECS, Cloud Run, Lambda). Without a key, invoking the agent returns a 400 that says where to add one.

ModelBest forInputOutput
claude-opus-5-5Most capable Claude for hard reasoning and agentic workText, image, documentText
claude-sonnet-5-5Speed and capability for everyday workText, image, documentText
claude-haiku-5-5Fastest and cheapest, for high-volume tasksText, image, documentText
  • Text agents. No Live voice: ADK's Live engine only speaks Google's Live API. Use a model from Google Live for voice.
  • google_search and code execution are Gemini-only built-ins; a deploy that combines them with these models is refused.
  • temperature, top_p and top_k are dropped (these models reject them); max_output_tokens is kept. A BuiltInPlanner runs at the model's adaptive / medium reasoning effort instead of a token budget.

OpenAI

GPT agents call the OpenAI Responses API with your own OpenAI key, set the same way as the Anthropic key. They deploy to every runtime.

ModelBest forInputOutput
gpt-6-astraMost capable GPT for complex reasoning and codingText, image, documentText
gpt-6.1-solNear-Astra quality at lower costText, image, documentText
gpt-6.1-terraFast and efficient, strong at visual reasoning and writingText, image, documentText
gpt-6-lunaMost efficient, for focused high-volume tasksText, image, documentText
  • Text agents. No Live voice: ADK's Live engine only speaks Google's Live API. Use a model from Google Live for voice.
  • google_search and code execution are Gemini-only built-ins; a deploy that combines them with these models is refused.
  • temperature, top_p and top_k are dropped (these models reject them); max_output_tokens is kept. A BuiltInPlanner runs at the model's adaptive / medium reasoning effort instead of a token budget.

Retired models

Providers switch older models off on a published date. Hikigai removes a model from the picker, the SDKs and these docs as soon as its provider retires it, so every model listed above is one the provider still serves.

What happens to an agent on a removed model. An agent that is already running keeps running for as long as the provider serves its model. Deploying or redeploying it fails with a message that names the model to use instead, for example:

Model '<old model>' is no longer offered: Google retired it on Vertex AI.
Use 'gemini-3.8-flash' instead.

To move the agent, open it in the console, choose the suggested model and redeploy, or change model in your SDK config and deploy again. Test the agent afterwards, because a newer model can phrase answers differently.

These Claude models no longer run anywhere, on the Anthropic API or on Amazon Bedrock (which ended them all on November 13, 2026). Invoking an agent that names one also returns its replacement.

ModelRetiredUse instead
claude-3.5-sonnetOctober 28, 2025claude-sonnet-5-5
claude-3.5-haikuFebruary 19, 2026claude-haiku-5-5
claude-3-opusJanuary 5, 2026claude-opus-5-5
claude-3-sonnetJuly 21, 2025claude-sonnet-5-5
claude-3-haikuApril 20, 2026claude-haiku-5-5