---
title: "Gemini 4 Hydrogen on Pydantic AI - Research & deck"
description: "Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 85.9%, code mode 92.6%; rank 14 of 44."
canonical: https://pydantic.dev/models/list/gemini-4-hydrogen/research_deck/
---

# Gemini 4 Hydrogen on Pydantic AI - Research & deck

> Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 85.9%, code mode 92.6%; rank 14 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gemini-4-hydrogen/research_deck/. Index for agents: https://pydantic.dev/models/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://pydantic.dev/models/select.md
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: https://pydantic.dev/models/usage.md

About the benchmark: https://pydantic.dev/models/benchmarks/research_deck.md. The model on every Pydantic AI benchmark: https://pydantic.dev/models/list/gemini-4-hydrogen/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time    |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | ------- |
| Tool calling | 85.9% | 1 of 1       | $0.71 | 20       | 64         | 7.4 min |
| Code mode    | 92.6% | 1 of 1       | $0.57 | 25       | 34         | 5.5 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gemini-4-hydrogen` passed the one case, `kestrel-cargo`, in both modes: 2 of 2. Tool calling took 20 requests and $0.7055; code mode took 25 requests and $0.5682. Both decks ended with `check_deck` = `ok`. The code-mode deck followed the founder's wishes more closely, because that run asked better questions.

#### Where it does well

- **Reads everything first.** Both runs covered text, CSV, DuckDB tables, PDFs and all ten images before asking Maya anything.
- **Grounded questions.** Both `ask_founder` messages cited the £58k recall, Parcelo's 33 bikes, the September restatement and the 250 kits/quarter minimum.
- **Checks figures before showing them.** Both recomputed the £4.40m run-rate (`366832 * 12`), 39.4% gross margin and 688 bikes across 17 active fleets, and used the restated September revenue of £351,442.
- **Obeys stated image rules.** Both put `IMG_2077.jpg` on the cover, the dashboard screenshot on traction and left out the studio shot and prototype.
- **Clean HTML.** The tools run passed `check_deck` on the first write; code mode needed one fix.

#### Mistakes it makes

- **Incomplete interview (tools).** It never asked about slide order or naming, so it missed the founder's exact 8-slide order and the lowercase `kestrel cargo`. The pass was partly lucky.
- **Unneeded rewrite (tools).** After `check_deck` returned `ok` it tried `read_file` on `../deck/index.html`, which failed, then re-sent the whole deck (51,967 characters) and re-checked.
- **Repeated reads (code mode).** It extracted the same five market PDFs in five separate calls and re-queried `monthly_pnl` six times, since each sandbox call starts fresh and it kept nothing.
- **SVG scaling (code mode).** `font-size="12"` in a scaled `viewBox` rendered at 11.3px and failed the check once.
- **Long final notes.** Both replies ran to 2,200 to 2,900 characters where the handbook asks for a short note.

#### Tool calling compared with code mode

Code mode was cheaper ($0.57 against $0.71) despite five more requests, mainly because the tools run sent the full deck twice. Code mode also generated chart geometry from queried rows and ran its own structural checks alongside `check_deck`. Tool calling was quicker at gathering data, using parallel batches of about six calls. The quality gap came from the questions asked, not the mode: code mode asked twice and learned the slide order, hex colours and market-source rule.

## Runs

### kestrel-cargo

**Tool calling: passed.** Read the whole data room with batched parallel calls, asked Maya one four-part question, wrote the deck with `write_file` and got `check_deck` = `ok` first time. It then rewrote the whole file for no recorded reason, re-checked (`ok`) and finished in 20 requests at $0.7055. ($0.71, 20 requests, 7.4 min)
- Right: Batched reads: `read_file`, `pdf_text`, `view_image` and `query` went out in parallel groups (about 6 per turn), so the data room was covered in roughly 10 requests.
- Right: The `ask_founder` message was grounded in data it had already found: the Q1 2026 recall (£58k), Parcelo churn (33 bikes), the September restatement (Northline's 12-bike order) and the 250 kits/quarter supply minimum.
- Right: Followed Maya's answers that it did get: no studio shot `IMG_2041`, `IMG_2077.jpg` on the cover, `screenshot_2026-11-02.png` on traction, no team slide, founders on one cover line, consumer as a footnote, recall and Parcelo addressed in traction.
- Right: Checked headline figures with SQL before writing: `366832 * 12` gives £4.40m run-rate, `26832 * 12` gives £322k service ARR, `144640 / 366832` gives 39.4% gross margin, and the 3-month average burn of 48,651.
- Right: Used the restated September figure (£351.4k) and found the cancelled 12-unit Northline order in `orders`.
- Right: First `write_file` (54,802 characters) passed `check_deck` with no fixes needed.
- Mistake: The single `ask_founder` call (message 23) never asked how the 8 slides should be ordered or how the name should be written. In the code-mode run the same founder gave an exact order (cover, why now, problem, product, traction, market, business model and unit economics, the ask) and said the name is lowercase `kestrel cargo`. This deck used its own order (cover, climate, product, traction, unit economics, go-to-market, roadmap, ask) and the title `Kestrel Cargo — Seed Deck`. It passed anyway.
- Mistake: After `check_deck` returned `ok` (message 32) it called `read_file` on `../deck/index.html`, which failed with `is not a file in the data room`, then re-sent the whole deck with a second `write_file` (51,967 characters). The reason for the rewrite is not recorded; it added a large output at a run cost of $0.7055 against $0.5682 in code mode.
- Mistake: The final reply is a long bulleted report (about 2,200 characters), not the short note the handbook asks for.
- Mistake: The cover's `£4.40m` run-rate is one month (October 2026) multiplied by 12; it is labelled as a run-rate, but it rests on the single best month.

**Code mode: passed.** Loaded files, tables and PDFs with `run_code`, asked Maya twice, built the deck in one large script, fixed one `check_deck` failure on chart label size and finished with `check_deck` = `ok` in 25 requests at $0.5682. ($0.57, 25 requests, 5.5 min)
- Right: First `ask_founder` call asked about look, images, framing and slide structure, and so got the hex colours `#1F6F5C` / `#F2A541`, the lowercase name `kestrel cargo`, the exact 8-slide order and the ban on the prototype and rainy photos.
- Right: Second `ask_founder` call got the rule to use cargo-bike sales figures from published reports with the source named; it then found `76,000` to `213,000` (German cargo bikes, 2019 to 2022) in the DLR paper and traced the citation with a targeted `pdf_text` search.
- Right: Used `asyncio.gather` to run six `query` calls and nine `pdf_text` calls at once.
- Right: Verified figures in code before writing: 17 active fleets summing to 688 bikes, `(13 - 9) / 9` = 44.4% drops per hour, quarterly gross margin from 33.0% to 39.4%, 24 months of `monthly_pnl`.
- Right: Generated the revenue chart SVG from the queried rows rather than typing bar heights by hand.
- Right: Fixed the one `check_deck` failure (`slide 5: text under 14px: £0 (11.3px)`) in a single patch by changing the `viewBox` and font size, then ran its own checks: 8 slides, 4 allowed images, no script, no gradient, no wrong-case company name.
- Right: Final deck follows Maya's slide order and uses `IMG_2077.jpg` on the cover and the dashboard screenshot on traction.
- Mistake: Re-extracted the same five market PDFs with `pdf_text` in five separate `run_code` calls (messages 9, 19, 21, 25, 33) plus a sixth for the DLR paper (message 35), because each sandbox call starts fresh and it truncated the first read to 2,500 characters per file.
- Mistake: Re-ran `select * from monthly_pnl` in messages 7, 17, 29, 41, 43 and 45 for the same reason.
- Mistake: Spent one request (message 39) only checking that `/deck` exists.
- Mistake: First SVG used `font-size="12"` in a scaled `viewBox`, which rendered at 11.3px and failed `check_deck`; it had not accounted for the scale.
- Mistake: The final reply is a long slide-by-slide report (about 2,900 characters), not a short note.
- Mistake: Slide 3 carries a full competitor table; Maya did not forbid tables in this run, but she asked for charts instead of tables in the tools run.
