Skip to content

Amazon Ergo vs Gemini 4 Hydrogen, Tested (Dec 2026)

Matt Li By Matt Li, Co-Founder and Director 13 min read
Amazon Ergo vs Gemini 4 Hydrogen: Second Talent's 13-prompt test of Amazon's open-weight model and Google's Gemini 4 Hydrogen.
TL;DR: Gemini 4 Hydrogen passed all 13 of our December 2, 2026 tests on the first try and answered faster, while Amazon Ergo passed 12 and lost only the app build, to a single broken regex line. Ergo lists at $1 input and $3 output per million tokens against Hydrogen's $1.50 and $7.50, and it cost about half as much on our short tasks. Pick Hydrogen for one-shot builds, image or PDF input and fast replies; pick Ergo for high-volume text jobs and for weights you can host yourself.

Google shipped Gemini 4 Hydrogen on November 12, 2026, and Amazon released Ergo 19 days later, on December 1.

Both target the same job, cheap and fast models for everyday coding and agent work, but Hydrogen is closed and multimodal while Ergo is open weight and text only.

I wanted to know which one a US engineering team should route its routine prompts to, so our team sent both the same 13 work tasks the day after Ergo launched.

What decides the pick
  1. 1Ergo spent 34,429 reasoning tokens on the app build, 16 times what Hydrogen spent on the same prompt.
  2. 2Hydrogen's rejection email praised the candidate's "expertise in distributed systems", a detail our prompt never gave it.
  3. 3In Google's Batch tier, Hydrogen input drops to $0.75, below Ergo's batch price.
  4. 4Ergo's regex was the stricter of the two: it rejected 555-123.4567, which Hydrogen's accepted.

Which is better, Amazon Ergo or Gemini 4 Hydrogen?

Gemini 4 Hydrogen, by a small margin on quality and a clear one on speed this afternoon. Its only real slip was inventing praise in an email.

Ergo matched it on 12 tasks, wrote the stricter regex and the safer SQL fix, and cost less, but its one-shot app did not run.

TestAmazon ErgoGemini 4 Hydrogen
T1 cron explainer appFail as shipped (one bad line), 122.1 sPass, 109.1 s
T2 SQL LEFT JOIN bugPass, also groups by idPass
T3 fresh facts, no toolsDeclined, no guessDeclined, no guess
T3 with web searchPass, 2 sourcesPass, 4 sources
T4 offshore billPass, raw LaTeXPass
T5 sprint end datePassPass
T6 Manila timePassPass
T7 rule-bound emailPass, question before the newsPass, invented praise
T8 JSON extractionPassPass, same JSON
T9 security reviewPassPass, three extra notes
T10 phone regexPass, strictPass, looser
T11 cloud bill dataPass, raw LaTeXPass
T12 Sheets formulaPassPass, same formula
T13 fake Python functionPass, refusedPass, refused
How we ran it. The Second Talent team ran both models on December 2, 2026, about 14:20 to 14:35 UTC, through the OpenRouter API with a small script: one request per prompt, no system prompt, each model's default reasoning settings. Ergo was pinned to Amazon Bedrock; Google served Hydrogen. For the fresh-facts test we ran both without tools, then again with the same web-search plugin on for both. We opened each T1 app in a browser and typed three inputs. The whole run cost about $0.42 for both models.

Ergo is Amazon's open-weight model: 1.1 trillion parameters, 55 billion active per token, a 1 million token context and text in, text out.

Our full Amazon Ergo review covers access, the licence and Amazon's benchmarks, and the Ergo vs Claude Opus 5.5 test runs a different prompt set against Anthropic's model.

Hydrogen sits at the bottom of Google's Gemini 4 price list. Google's model page lists a 1,048,576 token context, 65,536 output tokens by default, text, image, video, audio and PDF input, and four thinking levels from low to xhigh.

Our guide to every Gemini model places it in the wider family.

Test 1: one prompt, one working app?

Ergo 122.1 s, $0.132Hydrogen 109.1 s, $0.094Edge: Hydrogen

"Build a single-file HTML, CSS and JavaScript tool that explains a 5-field cron expression. As the user types, show the schedule in plain English and the next 5 run times in the user's local time zone.

Invalid input must show a specific error message that says which field is wrong."

We typed three inputs into each app: */15 9-17 * * 1-5, a weekday schedule; 0 0 31 2 *, which can never run because February has no 31st; and 60 * * * *, an out-of-range minute.

Ergo's page loaded, styled and empty. Nothing responded to typing, because one line in its 31,800-character file held a double-escaped regex literal, /^\\*\\/(\\d+)$/, which the browser rejects as a syntax error.

That one line stopped the whole script.

Two cron explainer apps given */15 9-17 * * 1-5. Left, the app Amazon Ergo wrote, as shipped: the page loads but the plain English box and the run list stay empty because a script error stops it. Right, the app Gemini 4 Hydrogen wrote: Every 15 minutes, between 9:00 AM and 5:00 PM, Monday through Friday, and the next five runs in America/New_York time. Second Talent test, December 2, 2026.

Hydrogen's app worked first time: a dark layout with one card per field, six example chips and the next five runs in New York time.

Its summary, "Every 15 minutes, between 9:00 AM and 5:00 PM, Monday through Friday", is a little loose, since the last run lands at 5:45 PM.

We then fixed only Ergo's broken line, and the app worked well. It listed the runs at minutes 00, 15, 30 and 45 past hours 9 to 17, flagged the Minute field in red for 60 and caught the impossible date.

On a second try, Ergo's T1 app parsed and worked.

Edge cases in the two cron apps. Top row, 0 0 31 2 *: Ergo's app with one line fixed says no matching runs were found in the next 12 years; Hydrogen's says no matching run times within the next 8 years, giving February 31 as an impossible date. Bottom row, 60 * * * *: Ergo's app highlights the Minute field and says 60 is outside the allowed range 0 to 59; Hydrogen's says Value 60 in Minute (field 1) is out of range.

Both handled February 31 without hanging. Hydrogen searched 8 years ahead and gave up with a clear note; Ergo searched 12. Both named the minute field and its 0 to 59 range.

We still score Ergo a fail here, because the file it shipped did not run.

Debugging, security review and a fake API

These three tests reward careful reading over speed, and the two models landed close together.

T2: engineers with zero pull requests go missing

The prompt gave a query meant to count each engineer's merged pull requests in November 2026, "including engineers with zero", with the date filter in the WHERE clause after a LEFT JOIN.

Both found the bug: a WHERE condition on the right-hand table drops the NULL rows and turns the join into an inner join, so the date filter belongs in ON.

Ergo, in 24.3 seconds, also changed the grouping to GROUP BY e.id, e.name so two engineers named the same are not merged. Hydrogen took 5.9 seconds, kept GROUP BY e.name and mentioned the id only as an optional note.

T9: an Express route with four holes

Ergo 27.6 s, 6,106 tokensHydrogen 12.1 s, 1,714 tokensEdge: Hydrogen, narrowly

"Review this Express.js route for security problems and rank them by severity." The route pasted req.query.id straight into a SQL string and echoed it into HTML.

Both ranked SQL injection critical, then missing authentication and IDOR, then reflected and stored XSS, then SELECT * over-exposure, and both wrote a fixed route. Ergo added that JSON.stringify() "is not HTML escaping".

Hydrogen added three details Ergo skipped: res.send() defaults to an HTML content type, query parameters can arrive as arrays or objects, and Express 4 does not catch rejected promises.

T13: a Python function that does not exist

"In Python 3.13, how do I use the built-in statistics.trimmed_mean() function to drop the top and bottom 10% of values?" There is no such function.

Neither model invented one. Ergo said so in one line and pointed to SciPy's trim_mean, with a worked value of 5.5. Hydrogen wrote a short pure-Python helper plus the SciPy option, worked value 15.875. We ran both numbers and both are right.

Fresh facts: do they guess without search?

Neither guessed. We asked which open-weight model Amazon released on December 1, 2026, with its parameter counts and Bedrock prices, and with no tools both declined.

Ergo said it had no web access in this chat and asked for links. Hydrogen said the date was "after my March 2026 knowledge cutoff" and wondered if we meant December 2025. Google's Hydrogen model card confirms the March 2026 cutoff.

Ergo with web search
  • Ergo-1.0, 1.1T total, 55B active
  • $1.00 / $3.00 Global, $1.10 / $3.30 US
  • Cited the AWS model card and pricing page
  • 22.1 s, $0.0117
Hydrogen with web search
  • Same model, same counts, same prices
  • Added that Standard, Flex and Batch cost the same
  • Cited the model card, product page, pricing page and Axios
  • 26.6 s, $0.0217
Source: Second Talent test, December 2, 2026, same web-search plugin for both models.

With the same search results in front of them, both answers were correct. Hydrogen's was better sourced and cost almost twice as much: it wrote 1,617 output tokens to Ergo's 855, at a higher rate.

Maths, dates and a spreadsheet formula

Five tasks, ten correct answers. The differences are in presentation, not in the numbers.

T4: an offshore team's 2027 bill

Five engineers at $38 an hour and 160 hours a month, three more from July, one leaving at the end of September. Both answered $456,000 from 75 engineer-months.

Ergo ended with raw LaTeX, \boxed{\$456,000}, which your app would have to strip or render; Hydrogen used plain markdown.

T5 and T6: a sprint and a time zone trap

A 15-working-day sprint starting Monday, December 7, 2026, with US federal holidays off: both said Monday, December 28, skipping Christmas on Friday the 25th. Ergo's breakdown used an em dash, which a strict house style would edit out.

A call at 9:30 AM Pacific on Monday, March 8, 2027, in Manila: both said 1:30 AM on Tuesday, March 9. The trap is daylight saving, which starts in the US on March 14 that year, and both models caught it.

T11 and T12: cloud bills and a Sheets formula

Six monthly cloud bills: both found May's 32.6% rise as the largest and a median of $13,575. Hydrogen also noted March's 28.2%; Ergo's answer again carried LaTeX.

For a count of hires employed at least 90 days as of D1, both wrote the same formula, character for character: =COUNTIFS(A2:A100, "<>", A2:A100, "<=" & (D1 - 90)). Ergo returned only the formula; Hydrogen added a two-line explanation.

Writing to rules and structured output

T7: a rejection email with six rules

Ergo 73 words, 18.8 sHydrogen 75 words, 10.1 sEdge: Ergo, on accuracy

The prompt asked for a rejection email for a Staff Backend Engineer candidate: exactly 4 sentences, 60 to 80 words, the name Priya exactly once, no "unfortunately" or "regret", no exclamation marks, and a question as the second sentence.

The two rejection emails side by side. Amazon Ergo: 4 sentences, 73 words, with the question about keeping Priya's resume on file highlighted because it comes before the rejection. Gemini 4 Hydrogen: 4 sentences, 75 words, with the phrase Your expertise in distributed systems stood out to everyone on the panel highlighted because the prompt never mentioned it.

Both met all six rules. Hydrogen's email reads better, rejection first and then the request to keep her profile, but it praised "expertise in distributed systems" and mentioned "interviews", details we did not supply.

Sent as written, that is a factual claim to a real person.

Ergo kept to what it knew; its weakness is order, asking to keep her resume before telling her she did not get the job.

T8: JSON from messy notes

Three candidates written three different ways, to be returned as bare JSON with no fences. Both returned byte-identical output: Ben's rate null, his 3.5 years as a number, Ana at 55 and Chidi at 70.

Ergo needed only 213 output tokens but took 13.4 seconds; Hydrogen took 3.8.

T10: a US phone number regex

The prompt listed four formats that must match, (555) 123-4567, 555-123-4567, 555.123.4567 and +1 555 123 4567, and two that must not. We ran both regexes in Node against those six and two extra strings.

Heatmap of which strings each phone regex accepts, run in Node by Second Talent on December 2, 2026. Both match (555) 123-4567, 555-123-4567, 555.123.4567 and +1 555 123 4567, and both reject 555-1234 and 1234567890123. Only Hydrogen's regex also matches 555-123.4567 and +1 (555) 123-4567.

Both pass the brief. Ergo's regex lists the four formats one by one, so it rejects a mixed number such as 555-123.4567. Hydrogen's accepts any separator between groups, which also lets through mixed separators and +1 with parentheses.

In my understanding, neither is wrong: Ergo's suits validation of a fixed format, Hydrogen's suits parsing what users type.

Speed: Hydrogen led this afternoon

Hydrogen answered 12 of the 13 short requests faster, in 3.8 to 12.1 seconds against Ergo's 10.0 to 27.6. The exception was the web-search run, where Ergo finished in 22.1 seconds and Hydrogen in 26.6.

Dot plot of seconds per request on December 2, 2026, Amazon Ergo on Bedrock vs Gemini 4 Hydrogen: SQL fix 24.3 vs 5.9, fresh facts without tools 17.7 vs 6.9, with web search 22.1 vs 26.6, cost maths 10.0 vs 5.0, sprint date 19.4 vs 8.2, Manila time 17.6 vs 8.4, rejection email 18.8 vs 10.1, JSON 13.4 vs 3.8, security review 27.6 vs 12.1, regex 11.8 vs 8.6, cloud bill data 13.2 vs 8.0, Sheets formula 13.8 vs 8.4, fake function 19.0 vs 9.2.

Each Ergo answer started to appear 10 to 36 seconds after we sent the prompt, even when it needed only a few hundred tokens.

We re-ran three prompts one at a time to rule out our six-at-a-time batch: Ergo took 36.2, 12.6 and 19.5 seconds, Hydrogen 5.9, 9.5 and 8.5.

2.3 to 2.9 s
Ergo on Bedrock, short answers, morning run
402.7
Ergo output tokens per second, longest morning answer
10 to 36 s
Ergo on Bedrock, short answers, afternoon run
Source: Second Talent tests on OpenRouter, December 2, 2026, about 06:00 and 14:30 UTC.

Eight hours earlier, the same model on the same host answered in seconds.

In our morning test for the Ergo vs Claude post, Ergo on Bedrock answered short prompts in 2.3 to 2.9 seconds, and its longest answer hit 402.7 tokens per second, in line with the 400 claimed on Amazon's Ergo product page.

We report both runs; one afternoon is not enough to say which is typical.

Cost: list price, tokens and the real bill

At list price Ergo is cheaper on every standard line. AWS's Ergo pricing page lists $1.00 in and $3.00 out on the Global profile, with Standard, Flex and Batch at the same rate.

Google's Gemini API pricing lists Hydrogen at $1.50 and $7.50, flat across its 1 million token window, and halves both in Batch and Flex.

Split bar chart of list prices per million tokens, Amazon Ergo (Bedrock Global profile) vs Gemini 4 Hydrogen: input $1 vs $1.50, output $3 vs $7.50, batch input $1 vs $0.75, batch output $3 vs $3.75, cached input $0.03 vs $0.075. Sources: AWS Ergo pricing and Google Gemini API pricing, December 2, 2026.

Batch flips the comparison. A job that reads 10 million tokens and writes 2 million costs $16 on Ergo and $30 on Hydrogen at standard rates, but $15 on Hydrogen in Batch, by our arithmetic.

Google also bills every thinking token as output, and Hydrogen has a free tier in the Gemini API that Ergo does not.

Token counts move the real bill more than the rate card. Ergo always reasons, and on the app build it thought for 34,429 tokens before writing 9,561. Hydrogen thought for 2,128.

Stacked bars of output tokens split into reasoning and visible answer: Ergo on the T1 cron app 34,429 reasoning and 9,561 answer; Hydrogen on T1 2,128 and 10,438; Ergo across the 13 short requests 16,154 and 2,388; Hydrogen across them 11,839 and 3,778.

On the 13 short requests the picture reverses: Ergo used 18,542 output tokens in all, Hydrogen 15,617, so they spent about the same. Hydrogen's higher output rate then decides the bill.

Stacked column chart of what the test battery cost: Amazon Ergo $0.198, of which $0.132 for the T1 app and $0.066 for the 13 short requests; Gemini 4 Hydrogen $0.223, of which $0.094 for T1 and $0.129 for the short requests.

The whole battery cost $0.198 on Ergo and $0.223 on Hydrogen. Without T1, Ergo cost $0.066 and Hydrogen $0.128.

If your workload is many short, well-scoped calls, Ergo halves the bill; if it is long builds where Ergo thinks for tens of thousands of tokens, most of that saving goes.

Open weights vs a closed API

You can download Ergo from Hugging Face and run it on your own GPUs; Hydrogen runs only on Google's services.

The smallest official Ergo file is 626 GB in MXFP4, so self-hosting is a cluster job, and Amazon's licence asks model-as-a-service firms above $20 million in yearly revenue to sign a separate deal first.

Our guide to open-weight LLMs compares those terms across families, and vLLM vs Ollama covers the serving side.

Hydrogen reaches more people without any setup. Google's launch post calls it "our daily driver for agentic workflows" and lists the Gemini app, Google Search, AI Studio and Google Sheets.

On Google's US plans page, the free tier includes Hydrogen, Google AI Plus costs $4.99 a month, Google AI Pro $19.99 with Gemini 4 Neon added, and Ultra starts at $99.99.

On Bedrock, AWS promises zero data retention and no operator access for Ergo. Through a router you can try both behind one key: OpenRouter's Ergo listing and its Hydrogen listing are what we called today.

When should a US engineering team pick which?

Split by how much a first-try failure costs you. Hydrogen got all 13 tasks right on the first call; Ergo needed a fix on the one long build, and was cheaper on everything else.

Gemini 4 Hydrogenclosed
First try, any input
One-shot builds, user-facing replies where seconds count, screenshots and PDFs, teams already on Google Workspace
Amazon Ergoopen weight
Volume and control
Extraction, classification, strict formats and short code tasks at scale, on AWS or on hardware you own
Bothrouted
Test, then tier
Run your own prompts through both, send the cheap repeatable calls to Ergo and the rest to Hydrogen

For a US team choosing today, I would put Hydrogen behind anything a user waits on and test Ergo on batch text pipelines first, with a syntax check on any code it ships.

If you also want Ergo in your coding agent, our guide to Ergo in Claude Code, Codex and OpenCode has the configs, and Gemini vs Claude for coding covers Google's side.

Engineers who can run both

Routing work between a closed API and an open model takes test sets, a proxy layer and cost tracking. Second Talent matches US teams with pre-vetted LLM developers within 24 hours, with a 90-day replacement guarantee.

FAQs

Is Gemini 4 Hydrogen free?

Google's Gemini API has a free tier for Hydrogen without Search grounding, and the free Gemini app includes it. Paid API use costs $1.50 per million input tokens.

Can Amazon Ergo read images or PDFs?

No. Ergo takes text in and gives text out. Hydrogen accepts text, images, video, audio and PDF.

Can I turn off Ergo's reasoning to save tokens?

No. The Bedrock model card returns an error for effort "none"; low is the lightest setting. Hydrogen also thinks by default, from low to xhigh.

Get developers who ship with AI agents. Starts at $25/Hour.

Start Hiring $0 cost until you hire
Matt Li

Written by

Matt Li is a tech-driven entrepreneur with deep expertise in global talent strategy, digital experience optimization, e-commerce, and Web3 innovation. He is the Co-Founder of Second Talent, a US-based company that connects businesses with top-tier tech professionals worldwide. Since launching the company in 2024, Matt has led its growth by leveraging technology to streamline remote hiring and scale distributed teams. With a background spanning product, operations, and innovation, Matt brings a cross-disciplinary perspective to the evolving digital economy. His work sits at the intersection of global talent, emerging technology, and scalable digital transformation.

More posts by Matt Li →