---
title: "GPT-6.2 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.2-sol/structured_output/
---

# GPT-6.2 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.2-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.2-sol/pydantic_ai.md

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

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gpt-6.2-sol` passed 9 of 10 cases, all in tool-calling mode. Every case took exactly one request: the model read the accounts and made one `accounts` call, at $0.043–$0.063 per case ($0.52 in total). The single failure was one field, repeated for both years.

#### Where it does well

- **Scaling and signs.** All three `£000` cases were multiplied correctly. Deficits were negative only where the handbook allows, and creditors and costs stayed positive. Tax credits were signed correctly, as in `tax: -571000` (SC121467) and `-138000` (07054261). A bracketed tax charge under a "(charge)/credit" label was kept positive (11022760).
- **Group against parent.** All six group and parent cases (tiers 3–5) passed, including near-identical notes such as `other_tax_and_social_security` at `152260` for the group and `151765` for the parent (NI037684).
- **Creditors notes.** Lines were mapped to the right category and due period in all four tier 4–5 cases, including rows where one year is blank.
- **Large outputs.** The two "whole set" cases, each with about 120 scored fields, were right in one call.
- **Not computing.** In 07054261 it left 2025 `debtors` as `null` because the balance sheet shows two debtor lines and no total.

#### Mistakes it makes

- **Overriding the primary statement with a note (1 case).** In `tier1-11022760` the balance sheet shows "Called up share capital | - | -". The model returned `100` for both years, taken from note 20 (`0.10` in `£'000`, times 1,000). The expected value was `0`. The figure is the real amount in pounds, but not what the balance sheet shows. This is the only scored error in the run.
- **No self-checking.** There was no second request in any case. The tool replied "Final result processed." each time, so the handbook's check-and-correct loop was never exercised and the failing case got no signal.
- **Zero against `null` (unscored, 6 cases).** Lines the accounts do not show were sometimes returned as `0` and sometimes as `null` within the same balance sheet. For example, NI037684 has group `intangible_assets: 0` beside `investments: null`. Five other cases have `investments: 0` or an added zero creditors row. None of these cost marks here, but they would against a stricter scorer.

## Runs

### tier1-07054261

**Tool calling: passed.** One request: a single `accounts` call with every Cube Logic figure, accepted first time. All scored fields matched. ($0.058, 1 requests, 8 s)
- Right: Scaled the `£000` statement to whole pounds, e.g. `intangible_assets` 2,640 -> `2640000`.
- Right: Signed the deficits correctly: `net_current_assets: -8967000`, `net_assets: -6187000`, `profit_and_loss_reserve: -8457000`, with `creditors_within_one_year: 20446000` kept positive.
- Right: Returned the prior-year tax credit as `tax: -138000` and took the 'As restated' 2024 column for the prior figures.
- Right: Left 2025 `debtors` as `null` because the balance sheet splits it into two lines (134 after one year, 9,658 within one year) and shows no total, rather than adding them.
- Mistake: Unscored inconsistency in the single `accounts` call: `debtors` is `null` for 2025 but `10162000` for 2024, where the only debtors line shown is 'amounts falling due within one year'.

### tier1-11022760

**Tool calling: failed.** One request: a single `accounts` call for TaskUs Limited. It failed on `called_up_share_capital`, returned as `100` for both years where `0` was expected; every other scored field matched. ($0.044, 1 requests, 11 s)
- Right: All other balance sheet and profit and loss figures match, scaled from `£'000`, including `net_current_assets: -36631000`, `total_assets_less_current_liabilities: -19925000` and prior `26107000`.
- Right: Read 'Tax (charge)/credit on loss | (312) | (632)' as charges: `tax: 312000` and prior `632000`, not credits.
- Right: Returned prior `other_operating_income: 0` for the dash and prior `profit_before_tax: -1230000`.
- Mistake: In the only `accounts` call it set `called_up_share_capital: 100` in `balance_sheet` and `prior_balance_sheet`. 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 0.10 by 1,000. It should have returned the balance sheet figure, `0`. The value is the true amount in pounds, but not what the statement shows.
- Mistake: There was no retry: the tool replied 'Final result processed.', so the model had no signal that the field disagreed.

### tier2-11600506

**Tool calling: passed.** One request: a single `accounts` call with the Furat Acquisitions group balance sheet and profit and loss account for both periods. All scored fields matched. ($0.043, 1 requests, 9 s)
- Right: Used the consolidated figures with correct signs: `net_current_assets: -6090208`, `net_assets: -2896388`, `profit_and_loss_reserve: -2896788`.
- Right: Kept `total_assets_less_current_liabilities` negative for 2025 (`-857995`) and positive for the prior year (`1430307`).
- Right: Tax returned as a positive charge in both years (`432692`, `513782`).
- Mistake: Unscored: `investments: 0` in both group balance sheets while `investment_property` and `share_premium` are `null`; the handbook asks for `null` for a line the accounts do not show.

### tier2-SC121467

**Tool calling: passed.** One request: a single `accounts` call with the Franke UK Holding group balance sheet and profit and loss account, scaled from thousands. All scored fields matched. ($0.052, 1 requests, 9 s)
- Right: Multiplied every figure by 1,000, e.g. `called_up_share_capital: 9559000`.
- Right: Signed the prior-year loss and tax credit correctly: `operating_profit: -1818000`, `profit_before_tax: -1678000`, `tax: -571000`, `profit_after_tax: -1107000`.
- Right: Group reserve in deficit returned as `profit_and_loss_reserve: -1296000` with positive `shareholders_funds: 8263000`.
- Mistake: Unscored: `investments: 0` and current-year `creditors_after_one_year: 0` are zeros, where other absent lines in the same call are `null`.

### tier3-05959188

**Tool calling: passed.** One request: a single `accounts` call with the Tribe Payments group and parent company balance sheets for both periods. All scored fields matched. ($0.063, 1 requests, 13 s)
- Right: Kept the two sets of figures apart: group `tangible_assets: 379315` against parent `9602`, group `creditors_within_one_year: 2483825` against parent `3852856`.
- Right: Parent `investments: 2467` and `creditors_after_one_year: 34780864` taken from the company statement, not the consolidated one.
- Right: Net liabilities negative in both entities (`-13564855` group, `-15485891` parent) with large negative reserves (`-25824630`, `-27745666`).
- Mistake: Unscored: group `investments: 0` in both periods where other lines not shown are `null`.

### tier3-09727592

**Tool calling: passed.** One request: a single `accounts` call with the Tyk Technologies group and parent company balance sheets for both periods. All scored fields matched. ($0.045, 1 requests, 11 s)
- Right: Parent net assets change sign between years and both are right: `-1632236` for the current year, `783514` for the prior year.
- Right: Share capital that differs by year was read exactly: `252` and `250`, with `share_premium` `28167129` and `28153530`.
- Right: Parent prior `investments: 0` against current `40275` matched the expected values.
- Mistake: Unscored: `intangible_assets: 0` and group `investments: 0` are zeros while `stocks` and `investment_property` are `null`.

### tier4-05840865

**Tool calling: passed.** One request: a single `accounts` call with the Drishaun Holdings staff costs and creditors notes for group and parent company. All scored fields matched. ($0.048, 1 requests, 10 s)
- Right: Mapped each creditors line to a category and due period for both entities, e.g. parent `amounts_owed_to_group` `1538825` (prior `1524980`) and parent `finance_leases` after one year `28174` (prior `39831`).
- Right: Included zero rows where one year is blank: group `bank_loans_and_overdrafts` `0` with prior `10251`.
- Right: Staff cost totals agree with their parts, e.g. group `4716869` + `448675` + `205062` = `5370606`.

### tier4-NI626135

**Tool calling: passed.** One request: a single `accounts` call with the Diamond Trucks staff costs and creditors notes for group and parent company. All scored fields matched. ($0.052, 1 requests, 9 s)
- Right: Ten group creditor rows across both due periods, including `bank_loans_and_overdrafts` after one year at `0` with prior `5836`.
- Right: Parent figures kept separate from group: parent `amounts_owed_to_group` `10067741` against group `3668476`; parent `creditors_within_one_year: 17897307` against group `15752489`.
- Right: Parent and group staff costs both returned with matching totals (`1952516`, `4404450`).

### tier5-12026946

**Tool calling: passed.** One request: a single `accounts` call with the whole Cambium Group set: company details, four directors, group and parent balance sheets, group profit and loss, staff costs and creditors. All scored fields matched. ($0.063, 1 requests, 20 s)
- Right: The largest output of the run (about 120 scored fields) was right in one call.
- Right: Group loss signed correctly (`operating_profit: -4462968`, `profit_after_tax: -4873903`) with current tax as a charge `72816` and prior tax as a credit `-51830`.
- Right: Group `net_current_assets: -14613956` with positive `net_assets: 1427969`; parent `profit_and_loss_reserve: -4529857` with `shareholders_funds: 39954968`.
- Right: Directors returned with titles ('Mrs P Leary', 'Ms A Jenkins', 'Mr B Ellis', 'Mr R Thompson') and matched.
- Mistake: Unscored: added a group `amounts_owed_to_group` creditors row with `amount: 0` and `prior_amount: 0`, a line the expected group note does not have.

### tier5-NI037684

**Tool calling: passed.** One request: a single `accounts` call with the whole John Mulholland Motors set for group and parent company. All scored fields matched. ($0.048, 1 requests, 22 s)
- Right: Identified `accounts_type: "medium"`, `consolidated: true` and `audited: true`.
- Right: Separated near-identical group and parent creditor notes: `other_tax_and_social_security` `152260` (group) against `151765` (parent); prior `trade_creditors` `2698613` against `2689140`.
- Right: Included `amounts_owed_to_directors` `18372` (prior `5938`) in both entities.
- Right: Group `fixed_assets` left `null` where the group balance sheet shows only tangible assets, while parent `fixed_assets: 3599359` was returned.
- Mistake: Unscored: group `intangible_assets: 0` beside `investments: null` and `fixed_assets: null` in the same balance sheet, an inconsistent treatment of lines not shown.
