---
title: "Grok 4.7 on Pydantic AI Seed Deck"
description: "Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 81.5%, code mode 85.2%; rank 15 of 32."
canonical: https://models.pydantic.dev/models/grok-4.7/seed_deck/
---

# Grok 4.7 on Pydantic AI Seed Deck

> Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 81.5%, code mode 85.2%; rank 15 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/grok-4.7/seed_deck/. Index for agents: https://models.pydantic.dev/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://models.pydantic.dev/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://models.pydantic.dev/select.md
- Search models by name: `GET https://models.pydantic.dev/api/search?query=<text>`
- List, filter and sort models: `GET https://models.pydantic.dev/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://models.pydantic.dev/api/models/<slug>`
- Any other question about the models: `GET https://models.pydantic.dev/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://models.pydantic.dev/mcp`. More: https://models.pydantic.dev/usage.md

About the benchmark: https://models.pydantic.dev/benchmarks/seed_deck.md. The model on every Pydantic AI benchmark: https://models.pydantic.dev/models/grok-4.7.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | -------- |
| Tool calling | 81.5% | 1 of 1       | $1.28 | 18       | 82         | 14.3 min |
| Code mode    | 85.2% | 1 of 1       | $1.83 | 27       | 51         | 19.6 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gateway/openrouter:x-ai/grok-4.7` passed both runs: 2/2, covering one scenario in two modes. Both produced the requested eight-slide deck and finished with successful validation. This supports competence on this task, but is too little evidence for a broad reliability estimate.

#### Where it does well

Both runs consulted Maya twice, incorporated her exact slide structure, excluded app registrations and the prototype, and combined database, document, and image evidence. Both handled the important financial correction: September revenue was £351,442, not £403,642. They disclosed the £58,000 recall and Parcelo churn rather than presenting uninterrupted growth.

Both recovered useful contract evidence with `view_pdf` after `pdf_text` found no text layer. Financial checks supported £3,085,543 trailing-year revenue, 39.4% October gross margin, and approximately 8.4 months of runway. All five `check_deck` calls returned `ok`; none required a checker-directed repair.

#### Mistakes it makes

Tool mode made recoverable SQL mistakes: an invented `shipped` status, an unfiltered aggregate labelled as trailing-year margin, and multiple statements whose earlier results were not returned. Code mode hit one sandbox API error and twice undercounted slides with an overly literal string match.

More consequentially, both final decks equated production capacity with satisfying a minimum purchase obligation. Code mode also presented an unsupported hardware/service cost allocation as fact. These surviving claims show why a successful format check is insufficient evidence of factual accuracy.

#### Tool calling compared with code mode

Tool mode used 18 requests and cost $1.2770; code mode used 27 requests and cost $1.8294—50% more requests and approximately 43% higher cost for the same pass outcome.

Python enabled chart generation, arithmetic, text searches, and targeted revisions, but the run diluted those benefits with manual data transcription, redundant inspection, and unnecessary queries. On this single paired case, normal tool calling was more economical; code mode did not demonstrate a reliability advantage.

## Runs

### kestrel-cargo

**Tool calling: passed.** Built `deck/index.html` with eight slides, incorporated Maya’s revised structure, and passed the benchmark. Both `check_deck` calls returned `ok`, including after a final rewrite. ($1.28, 18 requests, 14.3 min)
- Right: Used `ask_founder` twice and followed the requested slide order, founders’ names on the cover, fleet emphasis, dashboard inclusion, and exclusion of app registrations and the prototype image.
- Right: Reconciled September revenue to £351,442 rather than £403,642, excluding Northline’s cancelled £52,200 order. SQL established £3,085,543 trailing-year revenue, 17 active fleets, and 688 bikes in service.
- Right: Disclosed the £58,000 recall and Parcelo’s departure with 33 returned bikes; explained February’s fleet movement as `314 + 12 - 33 = 293`.
- Right: Switched from `pdf_text` to `view_pdf` when the supply agreement had no text layer. Used `view_image` to inspect the dashboard and identify the excluded prototype.
- Right: Checked financial aggregates and rounding, including October gross margin of 39.4%, annualised service revenue of £321,984, and average monthly burn of £48,651.
- Mistake: During order analysis, queried `status='shipped'` before inspecting the simultaneously requested status results. Actual statuses were `delivered` and `cancelled`, so the customer query returned null shipped totals. It subsequently corrected the filter to `status='delivered'`.
- Mistake: During financial verification, labelled an unfiltered lifetime margin calculation `gm_ltm`, producing 35.6% instead of the trailing-year 36.4%. A later query added the date filters and corrected it. The same earlier query calculated `SUM(revenue_service)*12.0/688 AS arr_implied`, which is not annual recurring revenue; the deck correctly used October service revenue multiplied by 12.
- Mistake: Submitted three semicolon-separated `SELECT` statements in one `query`; only the final churn count was returned. It recovered the active-customer count separately. A single aggregate query would have avoided the lost results.
- Mistake: In the final ask slide, said capacity of 500 bikes per quarter 'clears' the 250-kit minimum. Capacity does not establish actual quarterly purchases; this should have been conditional on ordering at least 250 kits.

**Code mode: passed.** Used Python for data-room reads, calculations, SVG generation, and HTML edits, producing `/deck/index.html` and passing the benchmark. Recovered from an initial sandbox error; all three `check_deck` calls returned `ok`. ($1.83, 27 requests, 19.6 min)
- Right: Used `ask_founder` twice, adopted the exact eight-slide structure, and clarified that the photographed funnel meant 86 leads, 31 trials, and 12 signed contracts.
- Right: Combined `query`, `pdf_text`, `view_pdf`, and `view_image` evidence. Included the dashboard’s October figures: 688 bikes, 421,056 km, 103 tonnes of CO₂ avoided versus vans, and 98.4% uptime.
- Right: Calculated trailing-year revenue of £3,085,543, October gross margin of 39.4%, service annualisation as `26832*12 = 321984`, and runway as approximately `409000 / (145954/3) = 8.41` months.
- Right: Generated a 24-month revenue SVG with Q1 2026 highlighted, disclosed the £58,000 recall and February gross profit of −£70, and used the restated September revenue.
- Right: Reviewed the deck after its first successful check and removed unsupported competitor characterisations, narrowed a customer-interview claim to uptime, and clarified trial-study wording before the final check.
- Mistake: The first `run_code` directory listing called `p.relative_to(root)`, which the sandbox’s `PosixPath` lacked, raising `AttributeError`. It recovered by printing `p` directly; using supported path operations initially would have avoided the failed request.
- Mistake: After writing the deck and again after editing it, `html.count('<section class="slide">')` reported seven because the cover also had a `style` attribute. It used additional inspection calls to establish there were eight sections. Counting parsed slide elements would avoid this false alarm.
- Mistake: In the calculation script and final unit-economics slide, treated all £222,192 October COGS as hardware costs to claim 34.6% hardware gross margin, and asserted that support staff were in operating costs. The retrieved accounts provided aggregate COGS and operating costs, not that allocation; it should have qualified the assumption or retained the verified 39.4% overall margin.
- Mistake: In the final business-model and ask slides, treated planned capacity of 500 bikes per quarter as clearing the 250-kit purchase minimum. It should have distinguished capacity from actual orders.
- Mistake: Exploration included a customer query returning `truncated:true`, an unnecessary app-registration query after Maya excluded that metric, and a `run_code` call that only printed `ready`. It also manually transcribed financial rows into Python instead of calculating directly from query results.
