---
title: "Gemma 4 31B on Pydantic AI - Research & deck"
description: "Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 48.1%, code mode 48.1%; rank 41 of 44."
canonical: https://pydantic.dev/models/list/gemma-4-31b-it/research_deck/
---

# Gemma 4 31B on Pydantic AI - Research & deck

> Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 48.1%, code mode 48.1%; rank 41 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gemma-4-31b-it/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/gemma-4-31b-it/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost    | Requests | Tool calls | Time    |
| ------------ | ----- | ------------ | ------- | -------- | ---------- | ------- |
| Tool calling | 48.1% | 0 of 1       | $0.0085 | 9        | 13         | 1.9 min |
| Code mode    | 48.1% | 0 of 1       | $0.010  | 9        | 8          | 1.7 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

Gemma 4 31B failed the single Research & deck case (`kestrel-cargo`) in both modes. Both runs were short (9 requests each, about $0.01) and produced a deck with 8 slides that passed `check_deck` (`ok`) on the first try. The failures come from the content: brand colours that were never checked, and claims that do not match the data room.

#### Where it does well

- Calls `ask_founder` early in both runs and builds the deck around the narrative Maya gives.
- Recovers quickly from SQL binder errors (`status`, `order_value`) by reading `information_schema.columns`.
- Its numbers are right when it uses the right column. In tool mode: `£366.8k` Oct 2026 revenue, `77%` YoY (366,832/207,147), `688` bikes in service. In code mode, the case-study figures are right (38%, +44%, 14 t CO2).
- Meets the layout rules without needing a fix.

#### Mistakes it makes

- **Brand colours (2/2):** neither run viewed `images/logo.png`. Tool mode used generic `#4CAF50`/`#FFC107`. Code mode openly swapped in its own blue and green.
- **Images used unseen (2/2):** it placed photos with captions and never called `view_image`.
- **Unsupported or wrong claims (2/2):** tool mode said carriers are 'currently in trial' (a 2027 goal) and put 'product launch' in 2026. Code mode made up 'vans spend 40% of time searching for parking' and called revenue 'consistent' despite the Jan–Feb 2026 drop.
- **Metric misread:** code mode presented `fleet_units` 5 → 60 as active units deployed (12x) instead of using `fleet_bikes_in_service`.
- **Shallow reading (2/2):** neither run opened `updates/`, the board minutes or `chat_export.txt`, so it never learned about the recall or other caveats.

#### Tool calling compared with code mode

Tool mode did better on the metrics. Maya's answer there named the exact traction figures, and the model queried them correctly. Code mode asked vaguer questions, chose its own metrics and got one wrong. It also read more sources (case studies, PDFs), which gave its slides richer content but also more room for unsupported claims. Neither mode checked its own work beyond the mechanical `check_deck`.

## Runs

### kestrel-cargo

**Tool calling: failed.** It read product/team/round/roadmap/competitors, asked Maya one round of questions, queried `monthly_pnl` and `operations` for the three traction figures she asked for, wrote an 8-slide deck in one `write_file` call, got `ok` from `check_deck` and stopped. It failed: the brand colours were guessed and several claims were not checked against the data room. ($0.0085, 9 requests, 1.9 min)
- Right: Asked Maya early, and her answer pinned down the narrative, the three traction metrics and the style
- Right: Recovered from the `status` binder error by reading `information_schema.columns`, then used `fleet_bikes_in_service` correctly
- Right: Traction figures are right: Oct 2026 revenue 366,832 → `£366.8k`, 366,832/207,147 = 1.771 → `77%` YoY, `688` bikes
- Right: Ran `check_deck` and it returned `ok` on the first try; cheap run (9 requests, $0.0085)
- Mistake: Maya asked for 'our brand green and amber', but it used generic Material colours `#4CAF50`/`#FFC107` without ever calling `view_image` on `images/logo.png` or the screenshot
- Mistake: Used `images/IMG_2041.jpg` with the caption 'The Kestrel One in operation' without viewing the photo
- Mistake: Slide 4 says two national parcel carriers are 'currently in trial', but `roadmap.md` lists that as a 2027 goal
- Mistake: Roadmap slide puts 'Product launch' under '2026 (Done)', but production started in November 2024
- Mistake: Never read `updates/`, `misc/board_minutes_2026-07.md`, `misc/chat_export.txt`, the customer case studies or any PDF, so it missed context such as the Q1 2026 recall and gave the climate story no CO2 figures
- Mistake: Slide 8 sets the deck on a dark `#333` background after Maya asked for 'clean and light'

**Code mode: failed.** It asked Maya generic questions first, explored the data room with `run_code` (one call failed on a guessed `order_value` column), pulled the P&L, ops columns, case studies and two PDF first pages, wrote 8 slides through Python and got `ok` from `check_deck`. It failed because of an invented palette, a misread metric and an unsourced statistic. ($0.010, 9 requests, 1.7 min)
- Right: Pulled the whole `monthly_pnl` table and the case studies in batched `run_code` calls
- Right: Used real case-study figures: 6 vans replaced, cost per drop down 38%, 9→13 drops per hour (+44%, correct), 14 t CO2
- Right: Included the ask, valuation, use of funds, runway and the SWIG £400k on the closing slide
- Right: Ran `check_deck`, which returned `ok`
- Mistake: Ignored 'our brand colours' on purpose: a code comment says 'I'll use a professional palette' with `#004A99` blue and `#00C853` green. It never looked at the logo
- Mistake: Labelled `fleet_units` first/last row (5 → 60) as 'Fleet Units Deployed… 12x growth in active units'. Those values come from the first and last rows of a per-month column. The real metric is `fleet_bikes_in_service`, which it never queried
- Mistake: Invented 'Vans spend 40% of time searching for parking', a figure that appears nowhere in the data room
- Mistake: Wrote 'Consistent monthly growth trajectory' although revenue fell to 130,846 in Jan 2026 and 87,327 in Feb 2026
- Mistake: Gave '18 fleet customers' from `count(*) FROM customers` without checking it against the 17 in `roadmap.md`
- Mistake: Did not show the YoY revenue growth or the bikes-in-service figure an investor would expect, because its questions to Maya were too generic to draw out those metrics
- Mistake: Placed images (`IMG_2041`, `IMG_1288`, `IMG_2155`) without viewing them. Its first `run_code` call did nothing useful
