---
title: "GPT-6.1 Sol on Pydantic AI - Structured output"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 90%; rank 15 of 44."
canonical: https://pydantic.dev/models/list/gpt-6.1-sol/structured_output/
---

# GPT-6.1 Sol on Pydantic AI - Structured output

> Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 90%; rank 15 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gpt-6.1-sol/structured_output/. 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/structured_output.md. The model on every Pydantic AI benchmark: https://pydantic.dev/models/list/gpt-6.1-sol/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time    |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | ------- |
| Tool calling | 90%   | 9 of 10      | $0.51 | 10       | 10         | 2.3 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gpt-6.1-sol` passed 9 of 10 cases, all in tool-calling mode, for $0.51 in total ($0.044–$0.063 per case). Every case was a single request: the model read the accounts text and made one `accounts` call. The one failure, `tier1-11022760`, came down to a single field in each of the two years.

#### Where it does well

- **Scaling and signs.** In the three £000 cases it multiplied by 1,000 throughout. Deficits were negative (e.g. `net_assets` -6187000) and bracketed costs stayed positive. Tax credits were negative (`tax` -138000, -571000, -51830), while the bracketed TaskUs tax charges (312000, 632000) stayed positive.
- **Group versus parent.** In all six cases with both entities it kept the columns apart, down to small differences such as `other` 103090 (group) against 102990 (parent) in `tier5-NI037684`.
- **Notes.** In the four cases with creditors notes, every scored row had the right category and due period, including `amounts_owed_to_directors` and a `0` / `5836` bank loan row.
- **Efficiency.** It never needed a retry; no check error was ever returned.

#### Mistakes it makes

- **Note preferred over the statement (1 failure).** For TaskUs the balance sheet shows `Called up share capital | 20 | - | -`. The model returned `called_up_share_capital: 100` for both years, taken from note 20 (`0.10` in £'000, times 1,000), where 0 was expected. The £100 is the true share capital, so the reading is defensible. The grader wanted the balance sheet line as presented.
- **Zeros where `null` may be meant (unscored, 7 of 9 passes).** It often returns `0` for lines the expected answer omits: `investments: 0` in five group balance sheets, `intangible_assets: 0`, and padded creditor rows with `amount: 0, prior_amount: 0` in `tier4-05840865` and `tier5-12026946`. In `tier3-05959188` one balance sheet has `provisions: 0` and the other three `null`. None of this cost a pass here, but a stricter check on absent lines would catch it.
- **No visible self-checking.** Each answer was submitted in the first response, with no recorded reasoning. Correctness rests on a single read of the document.

## Runs

### tier1-07054261

**Tool calling: passed.** One request: read the Cube Logic accounts in the prompt and called the `accounts` output tool once with company details, both balance sheets and both P&Ls. Passed. ($0.058, 1 requests, 11 s)
- Right: Scaled £000 figures by 1,000 (e.g. `turnover` 16382000)
- Right: Signs correct on deficits: `net_current_assets` -8967000, `profit_and_loss_reserve` -8457000, `operating_profit` -940000
- Right: Prior-year tax credit returned as `tax: -138000` and nil current tax as `0`

### tier1-11022760

**Tool calling: failed.** One request with a single `accounts` call for TaskUs Limited. Every scored field matched except `called_up_share_capital`, returned as 100 for both years where 0 was expected, so the case failed. ($0.044, 1 requests, 10 s)
- Right: All other balance sheet and P&L figures correct, scaled from £'000
- Right: Tax charge kept positive in both years (`tax` 312000 and 632000) despite the brackets, with `profit_before_tax` -1230000 for the prior year
- Right: `other_operating_income` 0 for the prior-year dash
- Mistake: In the only `accounts` call, `balance_sheet.called_up_share_capital` and `prior_balance_sheet.called_up_share_capital` were set to 100. The balance sheet line reads `Called up share capital | 20 | - | -`; the model instead took note 20 (`100 Ordinary shares ... | 0.10 | 0.10` in £'000) and multiplied by 1,000. It should have returned the balance sheet figure, 0. The £100 is the true share capital, so this is a defensible reading that the grader does not accept.
- Mistake: No check error was returned, so it had no chance to correct; the result was accepted as final.

### tier2-11600506

**Tool calling: passed.** One request, one `accounts` call with the Furat Acquisitions group balance sheet and P&L for both periods. Passed. ($0.047, 1 requests, 9 s)
- Right: Negative net figures handled: `net_current_assets` -6090208, `total_assets_less_current_liabilities` -857995, `net_assets` -2896388
- Right: All 40 scored group fields matched
- Mistake: Returned `investments: 0` for the group in both years, a field the expected answer does not carry; not scored, but it may be a 0 where `null` was meant.

### tier2-SC121467

**Tool calling: passed.** One request, one `accounts` call for the Franke UK Holding group balance sheet and P&L, scaled from thousands. Passed. ($0.048, 1 requests, 10 s)
- Right: Prior-year tax credit returned negative (`tax: -571000`) with `profit_before_tax` -1678000 and `profit_after_tax` -1107000
- Right: `distribution_costs` picked up for both years
- Mistake: Returned `investments: 0` and `creditors_after_one_year: 0` for the current year, fields absent from the expected answer; unscored.

### tier3-05959188

**Tool calling: passed.** One request, one `accounts` call with group and parent balance sheets for Tribe Payments, both periods. Passed. ($0.062, 1 requests, 11 s)
- Right: Kept group and parent columns apart: group `tangible_assets` 379315 vs parent 9602, group `net_assets` -13564855 vs parent -15485891
- Right: Parent `investments` 2467 / 2446 and parent `creditors_after_one_year` 34780864 / 27414845 correct
- Mistake: Inconsistent empties: parent `prior_balance_sheet.provisions` is `0` while the other three balance sheets have `provisions: null`; group `investments` is `0`. Unscored.

### tier3-09727592

**Tool calling: passed.** One request, one `accounts` call with group and parent balance sheets for Tyk Technologies. Passed. ($0.045, 1 requests, 11 s)
- Right: Share capital change tracked across years (252 vs 250) and share premium 28167129 vs 28153530
- Right: Parent prior `net_assets` kept positive (783514) while the other three are deficits
- Right: Parent `investments` 40275 current and 0 prior, as expected
- Mistake: Returned `intangible_assets: 0`, group `investments: 0` and `provisions: 5889` in all four balance sheets, none of which are in the expected answer; unscored, so not verified.

### tier4-05840865

**Tool calling: passed.** One request, one `accounts` call with staff costs and creditors notes for the Drishaun Holdings group and parent. Passed. ($0.048, 1 requests, 13 s)
- Right: All staff cost totals and components matched for group and parent, both years
- Right: Creditor lines categorised correctly, including parent `finance_leases` split 11658 within and 28174 after one year
- Right: `creditors_within_one_year` totals 4229724 (group) and 1808163 (parent) correct
- Mistake: Padded the list with zero rows: parent `other`/`after_one_year` with `amount: 0, prior_amount: 0`. Not penalised.
- Mistake: Group after-one-year rows (`finance_leases` 130386, `other` 133857, total 264243) are not in the expected answer, so they were not checked.

### tier4-NI626135

**Tool calling: passed.** One request, one `accounts` call with staff costs and creditors notes for the Diamond Trucks group and parent. Passed. ($0.052, 1 requests, 12 s)
- Right: All 20 creditor rows matched, including `bank_loans_and_overdrafts` after one year as `amount: 0, prior_amount: 5836` for both entities
- Right: Group and parent kept apart: `amounts_owed_to_group` 3668476 (group) vs 10067741 (parent)
- Right: Totals 15752489 / 689258 (group) and 17897307 / 686105 (parent) correct

### tier5-12026946

**Tool calling: passed.** One request, one `accounts` call returning the full Cambium Group set: company details, directors, group statements, staff costs and creditors, and the parent balance sheet and creditors. Passed. ($0.063, 1 requests, 25 s)
- Right: All four directors listed
- Right: Group tax signs correct: charge `72816` in the current year, credit `-51830` in the prior year
- Right: Parent and group creditors separated, e.g. `trade_creditors` 716688 (group) vs 31943 (parent), parent `amounts_owed_to_group` 6050000
- Mistake: Zero-filled rows the accounts do not show: group `amounts_owed_to_group` 0/0, parent `other_tax_and_social_security` 0/0 and `other` 0/0, and parent `intangible_assets: 0`, `stocks: 0`. Not penalised.
- Mistake: Parent `trade_creditors.prior_amount` given as 0 where the expected answer has no prior figure; passed anyway.

### tier5-NI037684

**Tool calling: passed.** One request, one `accounts` call returning the full John Mulholland Motors set for group and parent. Passed. ($0.046, 1 requests, 23 s)
- Right: `accounts_type` correctly given as `medium`
- Right: Mapped the directors' balance to `amounts_owed_to_directors` (18372 / 5938) for both entities
- Right: Caught small group/parent differences: `other` prior 103090 vs 102990, `other_tax_and_social_security` 152260 vs 151765
- Mistake: Group `intangible_assets: 0` and `investments: 0` returned where the expected answer has no such lines; unscored.
