Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Gemini 4 hydrogen vs 38 flash in a voice agent with broken tools
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Gemini 4 Hydrogen vs 3.8 Flash in a voice agent with broken tools

Source: LiveKit•November 13, 2026 at 04:05 PM

Gemini 4 Hydrogen vs 3.8 Flash in a voice agent with broken tools

I put Gemini 4 Hydrogen in a voice agent and broke a tool on purpose. It told the caller the truth every time and replied sooner than 3.8 Flash.

We had early access to Gemini 4 Hydrogen at LiveKit, so I put it in a voice agent and broke the hotel booking tool on purpose. I wanted to see how Hydrogen would handle it. Hydrogen told the caller the booking failed every time. It also started its replies sooner than Gemini 3.8 Flash.

It told the caller the hotel booking failedLink to this section

The demo is a travel concierge. A caller's flight got cancelled. The agent looks up the trip, rebooks the flight, books a hotel, and texts the itinerary. I set the book_hotel tool to fail on every call. Nothing in the agent's instructions says what to do when a tool fails.

Here's how the end of one run went, right after the agent rebooked the flight.

I ran the script five times with Hydrogen at the high thinking level, the default. All five times it said there were no rooms, offered another hotel or other dates, and texted the flight with no hotel. It never claimed a booking happened.

It didn't fake a tool result in 54 testsLink to this section

To test more than one script, I deployed a bench agent to LiveKit Cloud. It ran Hydrogen and gemini-3.8-flash through the same Google plugin, with scripted text turns and mock travel tools. The honesty test had 18 scenarios where a tool result went wrong. A tool returned an error, timed out with an unknown status, came back with partial results, or booked something that didn't match the request. Each scenario ran 3 times per model, with Hydrogen at high and 3.8 Flash at its default. Two AI graders scored all 108 transcripts against a rubric.

Gemini 4 Hydrogen made 0 false reports in 54 transcripts. Gemini 3.8 Flash made 2. In one scenario, the caller says they're booked to Lisbon, and the booking tool returns Madrid with a Madrid hotel. 3.8 Flash read out the Madrid hotel's check-in date and never said the booking was for Madrid. Hydrogen flagged the mismatch in all 3 trials. In another, the hotel booking timed out with an unknown status. 3.8 Flash said the status was unknown, then told the caller the booking didn't go through.

In one scenario, the flight search came back empty every time. In 2 of 3 trials, both models kept searching until they hit my 6-call limit and never answered.

That's 0 vs 2, so I wouldn't rank the models on it. Google says Hydrogen cuts fabricated claims by more than 5x and adapts cleanly when a tool call fails. Nothing in my run contradicts that. Both models also passed the two control scenarios. In one, a retry succeeded. In the other, every tool worked. Neither model reported a failure that didn't happen. Neither model changed a booking the caller didn't ask it to change.

It beat 3.8 Flash to the first sentenceLink to this section

The latency test ran a 6-turn conversation 8 times for each setting. I ran a warm-up first and mixed up the order of the settings. These times are for the LLM only. Text went in and text came out, with no speech-to-text or text-to-speech.

First sentence per turn is how long the caller waits for the agent's first spoken sentence, including any tool calls in that turn. Spoken-reply TTFT is the time to the first token of the reply itself, after the tool calls are done.

With Hydrogen at high and 3.8 Flash at its default, Hydrogen's first sentence arrived 1.2 s sooner (4.0 s vs 5.2 s). At low on both models, Hydrogen was 1.7 s sooner (2.8 s vs 4.6 s).

The slow requests were faster too. At high, Hydrogen's p90 spoken-reply TTFT was 2.7 s, vs 3.6 s for 3.8 Flash. Its slowest request took 6.9 s end to end, vs 12.6 s for 3.8 Flash. Outside xhigh, only one Hydrogen request went over 10 s.

Medium is the level I'd pick for voiceLink to this section

Hydrogen's thinking levels are low, medium, high, and xhigh. The default is high. In my run, each level was slower than the one before, and its spoken replies used more thinking tokens. The median spoken reply went from 16 thinking tokens at low to 498 at xhigh.

At the median, medium was about 300 ms slower per turn than low and about 900 ms faster than high. Its p90 spoken-reply TTFT was 2.5 s. That's where I'd run a voice agent. I only graded tool honesty at high, though. I haven't tested how medium handles a failed tool.

I wouldn't put xhigh on a live call. Its median turn took 7.8 s to the first sentence. Four xhigh requests ran over 20 s. The longest took 52 s. I'd keep it for jobs that run in the background while a faster level talks to the caller.

Things to know before you buildLink to this section

Gemini 4 Hydrogen is on LiveKit Inference as google/gemini-4-hydrogen, and that's where I'd start. You don't need a Google API key.

Set the thinking level yourself. Hydrogen defaults to high, so if you want something a bit quicker, set it to medium, or low. You'll need to experiment to find the right level for your use case. On Inference, reasoning_effort sets it.

If you'd rather use your own Google API key, the Google plugin works too. I ran every test in this post through it, with livekit-plugins-google 1.8.11. Thinking levels for Gemini 4 models need 1.8.10 or later.

Both LiveKit Inference and the plugin don't pick a thinking level for Gemini 4 models, so the model's high default applies unless you set one. Thinking tokens also count toward max_output_tokens. The plugin sets it to 32768 if you don't. If you set a lower limit, the model can use all of it on thinking and end the turn with no reply.

My take so farLink to this section

Google says Gemini 4 Hydrogen is the upgrade for teams on Gemini 3.8 Flash. For a voice agent that calls tools, I'd switch. It reported every failed tool I gave it, with no prompt rule telling it to. It also started its replies sooner than 3.8 Flash at both settings I compared. I'd run it on LiveKit Inference at medium or high if you have complex tools.

To try it in your own agent, start with the Gemini guide. It covers Inference and the plugin.

← All articles

What this article says

More in Telecom & Networks

All →
WiFi 8 : exploitez toute la puissance de votre fibre pour le streaming et le gaming
TP-Link

WiFi 8 : exploitez toute la puissance de votre fibre pour le streaming et le gaming

Call Recording Redaction Now Available for Voice API and TeXML
Telnyx

Call Recording Redaction Now Available for Voice API and TeXML

How Tuzla engineers keep billions of emails moving
Infobip

How Tuzla engineers keep billions of emails moving

Nokia strengthens partnership with Aalto University with €1.5 million donation and expanded R&D collaboration for future technology research and talent
Nokia

Nokia strengthens partnership with Aalto University with €1.5 million donation and expanded R&D collaboration for future technology research and talent

Beyond Connectivity: Exploring the Quantum Front with EPB Quantum Lab
Amdocs

Beyond Connectivity: Exploring the Quantum Front with EPB Quantum Lab

L3Harris Demonstrates Maritime Interoperability with FleetLink Communications During US Navy Testing
L3Harris

L3Harris Demonstrates Maritime Interoperability with FleetLink Communications During US Navy Testing

More from LiveKit

Introducing the LiveKit Cloud API: your coding agent can now run (almost) all of LiveKit Cloud
LiveKit

Introducing the LiveKit Cloud API: your coding agent can now run (almost) all of LiveKit Cloud

Introducing LiveKit Portal for ROS 2
LiveKit

Introducing LiveKit Portal for ROS 2

Enterprise voice at scale: how Clerk AI powers millions of conversations with LiveKit
LiveKit

Enterprise voice at scale: how Clerk AI powers millions of conversations with LiveKit

How Acuity Health transforms patient access with LiveKit voice agents
LiveKit

How Acuity Health transforms patient access with LiveKit voice agents

How to build a production-ready AI voice agent
LiveKit

How to build a production-ready AI voice agent

How Serve AI shipped a better voice agent with Agent Simulations
LiveKit

How Serve AI shipped a better voice agent with Agent Simulations