All posts

Noël Vranckx • • 7 min read

Gemini 4 Hydrogen for inventory health checks in Google Sheets

Google's new fast model is not its smartest. For checking every row of a stock sheet against rules you already have, it may be the one to use, and it now sits inside Sheets.

Illustration of a long wooden stores counter with a row of ten lidded glass jars of bolts, washers, ball bearings and springs filled to different levels, a terracotta hand tally counter and a pencil in the foreground, and shelves of boxes and a tall window behind

Most planners do not need the smartest model on the market. They need a fast one that follows the rules.

That sounds like settling for less. It is not. The question in most stock reviews is not deep. It is the same five rules, applied to two thousand rows, every week, without skipping row 1,412.

A frontier model is wasted on that, and it is slow and expensive at it. What the job needs is a model that is quick, cheap enough to run on everything, careful with numbers and close to where the data already lives.

Google released one of those on 12 November: Gemini 4 Hydrogen. It is not Google's top model, and its own benchmark table shows rivals beating it on some tests. It is also now in Google Sheets.

What Gemini 4 Hydrogen is

Hydrogen is the fast member of Google's Gemini 4 family. Carbon and Argon are the frontier models for long, deep reasoning. Hydrogen is adapted from Carbon and built, in Google's words, for rapid execution across agentic workflows, on its own or as a worker under a larger model.

The key facts, from Google's blog post, model card and pricing page:

  • Context. One million tokens shared between input and output. Output is up to 64,000 tokens by default, more through a background mode.
  • Input. Text, images, audio and video. Google's post also mentions PDFs, spreadsheets and charts.
  • Thinking levels. Low, medium, high (the default) and a new xhigh, so you can trade speed for care per task.
  • Price. $1.50 per million input tokens and $7.50 per million output tokens, flat across the whole context. Batch and flex runs cost half. There is a free tier in the API.
  • Where. The Gemini API and AI Studio, the Gemini app for everyone, Google Search, and Gemini in Google Sheets for Google AI Pro and Ultra subscribers and eligible business plans.
  • Knowledge cutoff. March 2026.

Google's claims are all self-reported. Hydrogen finishes tasks 2.5 times faster than Gemini 3.8 Flash and cuts fabricated claims by more than five times. On the Artificial Analysis index, which Google quotes, it scores 51, one point above Argon. In Sheets, Google says it produces output more than 30% faster than earlier models.

The model card is refreshingly mixed. Against Claude Sonnet 5.5 and GPT-6.1 Terra, Hydrogen leads on business automation (AutomationBench-AA, 76.1% against 71.8% and 60.2%) and on reading charts (Chartography, 66.6%). It trails Sonnet 5.5 on terminal work (57.0% against 63.9%) and on operating a computer through the screen (OSWorld, 77.6% against 83.9%).

One result is close to our world. Vending-Bench 2 lets a model run a simulated vending business for a long period: ordering, pricing, keeping shelves stocked. Hydrogen ended with $14,549 in the bank, against $11,165 for Sonnet 5.5 and $9,107 for GPT-6.1 Terra. A simulation is not a warehouse, but it does test patience with stock over many steps.

What it means for supply chain

The frame I use for a model like this is the difference between a rule you can write down and a question you cannot.

Rules you can write downQuestions you cannot
"Flag anything above 26 weeks of cover""Why did this family drift into excess?"
Same check, every row, every weekNew question, once
Fast model, low cost, run it on everythingFrontier model, more time, run it on the exceptions

Hydrogen belongs in the left column. The right column still goes to a frontier model and to you.

Where that pays off:

  • Inventory health checks. Status per item and location against your own rules for cover, safety stock and slow movers.
  • Master data sanity checks. Lead times, safety stocks and minimum order quantities that are out of line with demand.
  • Forecast hygiene. Items with a forecast but no sales for months, or sales with no forecast.
  • Order book checks. Lines past their confirmed date, or quantities that break a pack size.
  • Price and cost checks. Purchase prices that moved more than a set percentage against the last order.

The key is that the rule comes from you. The model applies it, and then writes it into the sheet so it keeps working after the chat is closed.

Try this: a weekly stock health check

The prompt below uses Upshift, a fictional bicycle maker with two plants and five hubs. All data is illustrative. Run it in Gemini in Google Sheets with the data pasted into a sheet, or in the Gemini app with Hydrogen selected from the model menu.

You are an inventory analyst at Upshift, a bicycle maker with five hubs.
Check the stock health of every item-location in the data below.

Apply these rules in this order, and give each row one status:
1. DATA CHECK: on_hand is negative, or weekly_demand > 0 and
   last_sale_weeks_ago > 12, or safety_stock is more than
   13 weeks of weekly_demand.
2. DEAD: weekly_demand is 0 and last_sale_weeks_ago is 26 or more.
3. AT RISK: on_hand is below safety_stock.
4. REORDER: on_hand is below the reorder point
   (safety_stock + weekly_demand x lead_time_weeks).
5. EXCESS: weeks of cover (on_hand / weekly_demand) is above 26.
6. HEALTHY: everything else.

Output:
- A table: sku, hub, weeks of cover (1 decimal), reorder point, status,
  and a reason of at most 8 words.
- The count per status.
- The value of stock above 26 weeks of cover per EXCESS row
  (in EUR, using unit_cost_eur), and the total.
- One Google Sheets formula for the status column that applies the
  same rules, so the sheet works without you next week.
- Any assumption you made.

sku,hub,on_hand,weekly_demand,lead_time_weeks,safety_stock,last_sale_weeks_ago,unit_cost_eur
RD-200,North,46,12,4,18,0,410
RD-200,South,9,10,4,15,0,410
RD-200E,North,31,6,6,12,1,1180
RD-200E,West,140,4,6,10,0,1180
GR-300,East,64,8,4,14,0,520
GR-300,Central,22,9,4,14,0,520
GR-300E,South,18,5,6,9,2,1290
GR-300E,East,0,3,6,8,1,1290
WHL-700,North,600,40,3,60,0,38
WHL-700,West,1900,35,3,50,0,38
TYR-45,Central,880,55,2,80,0,9
TYR-45,East,-12,20,2,30,0,9
BAT-500,North,75,7,8,21,0,265
BAT-500,South,260,6,8,18,0,265
BAT-400,West,48,0,8,10,31,240
SAD-01,Central,310,12,3,25,0,22
SAD-01,North,95,6,3,90,0,22
CHN-11,East,420,30,2,40,15,6
MTR-250,Central,36,4,10,10,0,340
MTR-250,West,7,3,10,9,0,340

What you should see

  • Counts: 4 healthy, 6 reorder, 3 at risk, 3 excess, 1 dead and 3 data checks.
  • Three data checks, for three different reasons: TYR-45 East has negative stock, SAD-01 North has a safety stock of 90 against 6 a week (15 weeks), and CHN-11 East shows 30 a week in demand but no sale for 15 weeks.
  • BAT-500 North as REORDER, not healthy. It has 10.7 weeks of cover, which looks comfortable, but the lead time is 8 weeks and the reorder point is 77.
  • SAD-01 Central as HEALTHY. It sits at 25.8 weeks of cover, just under the 26-week line.
  • Excess value of €107,660: RD-200E West €42,480, WHL-700 West €37,620 and BAT-500 South €27,560. BAT-400 West is dead stock worth €11,520 on top of that.
  • A nested IF or IFS formula that follows the same order, and a note that it handles the zero-demand row before it divides.

Why this shows the model's power

The rules are simple. The traps are in the order and the edges: a negative stock that would otherwise read as at risk, a zero demand that breaks the cover calculation, a 25.8 that is not above 26. The typical slips are applying the rules out of order and rounding 25.8 up.

The formula is the real prize. The model does the work once, then hands the rule back to the sheet, where it runs every week for free and anyone can read it.

What it can't do, and the traps

  • It is not the top model. Google's own table shows Sonnet 5.5 ahead on terminal work and screen use. For an open question about why stock drifted, use a frontier model.
  • Thinking costs tokens. Google's model card warns that Hydrogen may use more tokens at higher thinking levels, and every thinking token is billed as output. Try medium first on rule checks.
  • It still makes things up. Hallucination is the first known limitation on the model card. Check the counts and two or three rows by hand, every time you change the rules.
  • Your rules are the weak point. The model applies a bad rule as faithfully as a good one. A fixed 26-week line is wrong for a seasonal item.
  • Check your plan and your data terms. Sheets access starts with AI Pro and Ultra and eligible business plans. Know which account your stock data goes into before you paste it. If you stay on Gemini 3.8 Flash to save money, note that Google's pricing page raises it to Hydrogen's price on 1 January 2027.

Write the rule into the sheet

This week, write down the three rules your team uses in its stock review, in plain words. Paste them with one week of data into Hydrogen and ask for the statuses and the formula. Put the formula in the sheet and compare it with what the team flagged by hand.

The fast, cheap model will not make the hard calls for you. It will clear the routine so that you have time for them.

Which rule in your stock review has never been written down?

Sources

Illustration of a scale model of a small company on a workbench: two factories and a warehouse linked by roads with miniature lorries, beside a pair of callipers, a pencil and an open notebook

Read it, then try it

The posts on this blog are meant to be used, not only read. Each one ends in something to do: a prompt to run, a calculation to rebuild or a first step for this week. You learn what AI can do in supply chain by putting it to work on a real problem.

Meet Upshift

Most examples use Upshift, a fictional bicycle maker. It builds road and gravel bikes, each as a regular and an e-bike version, in two plants, and serves dealers and retail chains through five distribution hubs. Upshift isn’t a real company, and none of its data comes from one. Meet the company.

The dataset and the exercises

Behind Upshift sits a complete synthetic company dataset: products, suppliers, dealers, orders, stock, production and the transport network, all consistent with each other. Its dates follow a date you choose, so the data always looks current. The exercises on this site use the same company, each with a task, the files you need and a way to check your result.

A post keeps its example small enough to paste into a chat. The dataset and the exercises let you do the same work at the scale of a real company.

The dataset and the exercises are free with an account. The app is in early access for now: request an account from the sign-in screen and I’ll send you an invitation as soon as I can.

Pass it on

Know a colleague who should read this? Post it where they will see it, or send it to them directly.

More posts

Illustration of a long water pipe along a factory brick wall: a bucket and mop stand under the dripping tap at the far right, while the real leak is a crack spraying yellow water at a joint far upstream on the left, with a step ladder and pipe wrench beneath it

Noël Vranckx •

AI for root-cause analysis of late deliveries

Most late-delivery reports blame the carrier because that is the first box in the drop-down. An AI model that reads the dates and the notes together tells a different story, and you can test it in ten minutes.