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.
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.
| Model | Best for | Input | Output |
|---|---|---|---|
| gemini-3.8-flash | Default. Fast and low-cost, good at tools, documents and images. Start here. | Text, image, audio, video, document | Text |
| gemini-4-argon | Google’s most capable model, for multi-step reasoning, coding and long documents. Slower and costs more. | Text, image, audio, video, document | Text |
| gemini-3.5-flash-lite | Cheapest and fastest, for high-volume simple tasks. | Text, image, audio, video, document | Text |
| gemini-3.5-flash | The previous Flash generation. Choose gemini-3.8-flash for new agents. | Text, image, audio, video, document | Text |
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).
| Model | Best for | Input | Output |
|---|---|---|---|
| gemini-3.8-live | Recommended for every new voice agent. Tools run in the background by default, so the agent keeps talking. | Text, audio, image, video | Text, audio |
| gemini-3.1-flash-live-preview | Earlier preview model. Tools block by default. Use gemini-3.8-live unless you have tested on this one. | Text, audio, image, video | Text, 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.
| Model | Default | What you usually do |
|---|---|---|
| gemini-3.8-live | Background (WHEN_IDLE) | Leave most tools alone. Set blocking: true only when the agent must wait (payments, confirmations). |
| Other Live models | Blocking | Set 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.
| Mode | What happens | Good for |
|---|---|---|
| WHEN_IDLE | Waits for a natural pause, then brings the result up. Default when a tool runs in the background. | Lookups, chart pulls, most API calls |
| INTERRUPT | Breaks into whatever the agent is saying as soon as the result lands. | Urgent alerts, safety checks |
| SILENT | Takes the result in without mentioning it, for later in the conversation. | Prefetch, context enrichment |
In the console
- Open your agent and pick a Live model that supports background tools.
- On each tool, use Run in background to choose whether the agent keeps talking while it runs.
- For background tools, choose when the agent should react to the result (
WHEN_IDLE,INTERRUPT, orSILENT). - 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; useINTERRUPTonly when the user needs to hear the result immediately. - Never set
blockingandresponse_schedulingtogether — 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.
| Model | Best for | Input | Output |
|---|---|---|---|
| claude-opus-5-5 | Most capable Claude for hard reasoning and agentic work | Text, image, document | Text |
| claude-sonnet-5-5 | Speed and capability for everyday work | Text, image, document | Text |
| claude-haiku-5-5 | Fastest and cheapest, for high-volume tasks | Text, image, document | Text |
- Text agents. No Live voice: ADK's Live engine only speaks Google's Live API. Use a model from Google Live for voice.
google_searchand code execution are Gemini-only built-ins; a deploy that combines them with these models is refused.temperature,top_pandtop_kare dropped (these models reject them);max_output_tokensis kept. ABuiltInPlannerruns 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.
| Model | Best for | Input | Output |
|---|---|---|---|
| gpt-6-astra | Most capable GPT for complex reasoning and coding | Text, image, document | Text |
| gpt-6.1-sol | Near-Astra quality at lower cost | Text, image, document | Text |
| gpt-6.1-terra | Fast and efficient, strong at visual reasoning and writing | Text, image, document | Text |
| gpt-6-luna | Most efficient, for focused high-volume tasks | Text, image, document | Text |
- Text agents. No Live voice: ADK's Live engine only speaks Google's Live API. Use a model from Google Live for voice.
google_searchand code execution are Gemini-only built-ins; a deploy that combines them with these models is refused.temperature,top_pandtop_kare dropped (these models reject them);max_output_tokensis kept. ABuiltInPlannerruns 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.
| Model | Retired | Use instead |
|---|---|---|
| claude-3.5-sonnet | October 28, 2025 | claude-sonnet-5-5 |
| claude-3.5-haiku | February 19, 2026 | claude-haiku-5-5 |
| claude-3-opus | January 5, 2026 | claude-opus-5-5 |
| claude-3-sonnet | July 21, 2025 | claude-sonnet-5-5 |
| claude-3-haiku | April 20, 2026 | claude-haiku-5-5 |