---
title: "Gemini 4 Neon 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 89.6%; rank 14 of 44."
canonical: https://pydantic.dev/models/list/gemini-4-neon/research_deck/
---

# Gemini 4 Neon 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 89.6%; rank 14 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gemini-4-neon/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-neon/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | -------- |
| Tool calling | 85.9% | 1 of 1       | $2.12 | 21       | 73         | 13.0 min |
| Code mode    | 89.6% | 1 of 1       | $1.79 | 24       | 33         | 13.1 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gemini-4-neon` passed the one case, `kestrel-cargo`, in both modes: 21 requests and $2.12 with tool calling, 24 requests and $1.79 in code mode. Both decks ended with `check_deck` returning `ok`. The code-mode deck follows the founder's wishes more closely, because that run asked a better question.

#### Where it does well

- **Avoids the data-room traps in both runs.** It used restated September revenue (£351,442, not £403,642), left out app registrations and the prototype photo, named Parcelo's exit, and spotted the blank signature lines in `supply_agreement_signed.pdf`.
- **Holds to the data over the founder's memory.** When Maya said she had 'about £404k in my head', the tool-calling run kept £351k.
- **Checks figures before showing them.** Run-rate £4.4m, 39.4% gross margin, 8.4 months of runway and +95% Apr–Oct growth were all computed by query first.
- **Reads efficiently.** Tool calling batched 5 to 8 parallel calls per turn.

#### Mistakes it makes

- **Closed question to the founder (tool calling).** It asked 'light editorial or darker industrial?' and so never heard the style rules. The resulting deck has a `<table class="fin-table">` and a `linear-gradient` bar.
- **Sloppy exploratory SQL.**
  - Tool calling filtered on a non-existent `status='shipped'`, which pulled a 40k-character dump of `orders`.
  - Code mode's quarter expression used float division, giving labels like `2024-Q4.333` and monthly rows.
- **Wasteful fixes.** Both runs resent the full 63k to 72k character deck to correct a few under-14px SVG labels.
- **Long closing notes.** Both replies run 2,700 to 3,400 characters where the handbook asks for a short note.
- **One lost request in code mode.** `Path.relative_to` is not available in the sandbox.

#### Tool calling compared with code mode

Code mode was cheaper by $0.33 despite three more requests, and it produced the better deck. The gap came from two things:

- **The question.** Code mode's open 'any preferences on style, palette, or tone' drew out Maya's rules: one sans-serif, charts with no tables, no gradients, emoji or icons.
- **Self-auditing.** Code mode wrote regex audits for tables, gradients, fonts, images and SVG overflow, and built chart coordinates from query results. Tool calling relied on `check_deck` alone.

With one case per mode, treat this as an indication, not a trend.

## Runs

### kestrel-cargo

**Tool calling: passed.** Read the whole data room in parallel batches, asked Maya one four-part question, wrote a 72k-character deck with `write_file`, fixed nine under-14px labels after the first `check_deck`, and finished with `check_deck` returning `ok`. Passed in 21 requests at $2.12, but its closed question on look meant it never heard the style rules Maya gave in the code-mode run, and the deck has a table and a gradient. ($2.12, 21 requests, 13.0 min)
- Right: Batched 5 to 8 parallel calls per turn (`read_file`, `query`, `pdf_text`, `view_image`), so the full data room was covered in about 14 requests before `ask_founder`.
- Right: Used the restated September revenue of £351,442 rather than the £403,642 in the September update, and held to it when Maya said she had 'about £404k in my head'.
- Right: Left out the app registrations and the prototype photo, which the board minutes and chat export warn against, and told Maya so up front.
- Right: Followed Maya's answers: `IMG_2077.jpg` on the cover, `screenshot_2026-11-02.png` on the traction slide, `#1F6F5C` and `#F2A541`, consumer as a footnote, and a recall box that names Parcelo (33 bikes) and the £58k cost.
- Right: Checked headline figures with SQL before writing: Apr–Oct revenue £2,239,484 against £1,145,909 for '+95% YoY', 3-month average burn £48,651 for 8 months of runway, and 17 active fleets holding 688 bikes.
- Right: Viewed `supply_agreement_signed.pdf` with `view_pdf`, saw the blank signature lines, and flagged them in the closing note.
- Mistake: In the `ask_founder` message (message 29) the visual question was a closed either/or: 'clean light editorial look ... or a darker industrial look?'. Maya answered only that. In the code-mode run an open question drew out 'one sans-serif throughout, show numbers as charts with no tables, and skip gradients, emoji and icons'. It should have asked openly about style.
- Mistake: The final deck (message 37) has a `<table class="fin-table">` P&L summary on slide 5 and a `linear-gradient(90deg, ...)` top bar on every slide. Both go against what Maya said in the code-mode run; this run never heard those rules.
- Mistake: In message 17 two queries filtered on `status='shipped'`, a value that does not exist (the statuses are `delivered` and `cancelled`). One returned zero `shipped_units` for every customer, and `select * from orders where status != 'shipped'` returned the orders table as a 40k-character result.
- Mistake: The first `check_deck` (message 36) reported 11.3px text on slides 2, 4 and 6 from scaled SVGs. It fixed this by resending the entire 72k-character file with `write_file` instead of a targeted edit.
- Mistake: The closing reply is about 2,700 characters with an eight-item slide list; the handbook asks for a short note.
- Mistake: Slide 6 says the Northline 12-bike order is 'Queued for Jan '27 capacity' and the slide 4 footer says 'moved to Jan'. The October update says Northline cancelled and the order is 'back in the pipeline for January', so the deck wording is firmer than the source.

**Code mode: passed.** Read the data room through `run_code` scripts, asked Maya one open question that surfaced her style rules, generated the deck from a Python script that pulls chart data from DuckDB, fixed one scaled-SVG font problem, and finished with `check_deck` returning `ok`. Passed in 24 requests at $1.79. ($1.79, 24 requests, 13.1 min)
- Right: Asked 'Any preferences on style, palette, or tone' openly in `ask_founder` (message 21) and got the full list: light background on every slide, one sans-serif, charts with no tables, no gradients, emoji or icons, and which photos to avoid.
- Right: Wrote its own audits after generating the deck (messages 41 and 45): regex checks for `<table`, `gradient`, `<script`, app-registration mentions, the images used, a single `font-family` declaration, non-ASCII characters and estimated SVG text overflow. All came back clean.
- Right: Ran a 'verify every number' script (message 35) before writing: `oct26_run_rate` 4,401,984, `oct26_gm_pct` 39.43, `ttm_rev` 3,085,543, `runway_months` 8.4, `trial_to_sign_pct` 38.7, price 37% to 62% below rivals.
- Right: Chart coordinates were computed from live `query` results inside the generating script, not typed by hand.
- Right: Diagnosed the only `check_deck` failure correctly: slide 8 labels at 7.8px came from an SVG with `viewBox="0 0 550 62"` rendered at `width="340"`, which its `svg_dims` check exposed.
- Right: Labelled the extrapolated 240-unit bar as 'Oct pace' rather than passing it off as an actual Q4 figure.
- Right: Used restated September revenue (£351k), named Parcelo, kept app registrations out, and flagged the unsigned supply agreement and the kit pricing that expires 31 December 2026.
- Mistake: First `run_code` call (message 1) failed with `AttributeError: 'PosixPath' object has no attribute 'relative_to'`; one request lost before it switched to `str(p)`.
- Mistake: The quarterly SQL in message 21 used `(month-1)/3 + 1`, which is float division in DuckDB. It produced labels like `2024-Q4.333333333333334` and one row per month, so the 'quarterly' breakdown was a duplicate monthly dump. It never corrected the query and later summed quarters in Python.
- Mistake: Sent `ask_founder` in the same turn as a large analysis script, so that analysis ran before it had Maya's answers.
- Mistake: To fix three 7.8px labels on slide 8 it resubmitted the whole generating script (about 63k characters, message 43) instead of patching `/deck/index.html` in place.
- Mistake: The closing reply is about 3,400 characters with an eight-item slide list; the handbook asks for a short note.
- Mistake: Its `has_external_urls` check flagged twelve `http://www.w3.org/2000/svg` namespace strings and it left them in. `check_deck` accepted them, so this was harmless.
