---
title: "GPT-6 Astra on Pydantic AI Companies House"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 90%; rank 14 of 32."
canonical: https://models.pydantic.dev/models/gpt-6-astra/companies_house/
---

# GPT-6 Astra on Pydantic AI Companies House

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

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | ---- |
| Tool calling | 90%   | 9 of 10      | $2.57 | 10       | 10         | 79 s |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gateway/openai:gpt-6-astra` passed 9 of 10 cases: 1/2 in tier 1 and 2/2 in each remaining tier. Every run made one `accounts` submission, received `Final result processed.`, and ended without retries. Total reported cost was $2.5743, averaging about $0.257 per case. These runs test extraction from supplied account text, not document retrieval or recovery from validation errors.

#### Where it does well

The model reliably separates entities and comparative periods. Both tier-3 cases preserved subtle group/parent differences, including Tribe's prior intangible assets `14896135` versus `14896091`. Both tier-4 cases correctly handled four-column payroll and creditor tables, maturity categories and alternative labels.

It also handles units and signs well. Cube and Franke correctly converted `£000` amounts and retained negative tax credits. Cambium's net current liabilities became `-14613956` even without brackets in the supplied text. Diamond's lease extraction selected the liability `445421`, avoiding the nearby future-payment figure `445452`.

#### Mistakes it makes

The sole scored failure is ambiguous: TaskUs returned share capital `100` for both years, supported by note 20's `0.10` in `£000`; the benchmark expects `0` from balance-sheet dashes. This is a statement-versus-note precision issue, not faulty scaling. The handbook does not explicitly establish precedence between those disclosures.

Passing also does not guarantee all output fields are correct. John Mulholland's group `investment_property` was `null` despite note 15 showing `523300` currently and zero previously. Those fields were absent from the expected checks. Engineers should therefore retain source-level checks for omitted note disclosures as well as headline statement accuracy.

There were no provider failures or wasteful tool loops. No run exercised correction after a rejected submission.

## Runs

### tier1-07054261

**Tool calling: passed.** Submitted company details and both periods through one `accounts` call and passed. Correctly handled thousands, losses and restated comparatives. ($0.27, 1 requests, 7 s)
- Right: Converted turnover `16,382` in `£000` to `16382000`, retained positive creditors `20446000`, and returned negative net assets `-6187000`.
- Right: Used restated prior intangible assets `1229000` and prior tax credit `-138000`.
- Right: Returned current `debtors: null` where the accounts show separate amounts `134` and `9,658` without a combined total, avoiding an invented sum; prior debtors were explicitly `10,162`.

### tier1-11022760

**Tool calling: failed.** The single `accounts` submission failed the benchmark on current and prior share capital: both were `100` instead of expected `0`. This is a source-selection discrepancy rather than an unsupported number or multiplication error. ($0.22, 1 requests, 6 s)
- Right: Correctly extracted current creditors `50167000`, prior long-term creditors `46695000`, current profit after tax `836000`, and prior loss `-1862000`.
- Right: The submitted capital has documentary support: note 20 shows `0.10` in `£'000`, equivalent to `100` pounds.
- Mistake: In the final `accounts` arguments, `balance_sheet.called_up_share_capital` and `prior_balance_sheet.called_up_share_capital` used note 20's precise amount rather than the balance sheet's `- | -`. Matching the benchmark required `0` for both. The handbook does not explicitly resolve this statement-versus-note precision conflict.
- Mistake: The tool returned `Final result processed.`, so the conversation contains no field-level rejection or opportunity to correct the mismatch.

### tier2-11600506

**Tool calling: passed.** Returned both consolidated periods in one `accounts` call and passed. Kept group figures separate from the parent company's statements. ($0.23, 1 requests, 5 s)
- Right: Used the explicitly printed total intangible assets `2828132`, rather than goodwill alone `2819897`.
- Right: Returned group net liabilities `-2896388`, rather than the parent's net assets `400`.
- Right: Handled positive expenses and tax correctly: cost of sales `25037414`, interest payable `215132`, and tax `432692`.

### tier2-SC121467

**Tool calling: passed.** Extracted consolidated balance sheets and profit and loss accounts in one `accounts` call and passed. Correctly combined source selection with `£000` conversion. ($0.24, 1 requests, 5 s)
- Right: Returned intangible assets `378000`, current net assets `8263000`, prior loss before tax `-1678000`, and prior tax credit `-571000`.
- Right: Used note 17's explicitly shown `Total debtors` of `6,796` and `10,187`, producing `6796000` and `10187000` without needing to invent totals.
- Right: Distinguished current long-term creditors `0` from prior `4300000`.

### tier3-05959188

**Tool calling: passed.** Submitted four balance sheets covering group, parent and both periods through one `accounts` call and passed. Preserved small but important differences between entities and restated comparatives. ($0.29, 1 requests, 6 s)
- Right: Separated prior group intangible assets `14896135` from parent `14896091`, and current group tangible assets `379315` from parent `9602`.
- Right: Kept group net liabilities `-13564855` distinct from parent `-15485891`.
- Right: Used note 13's explicit group investment dashes as `0`; the prior parent `provisions: 0` is supported by the restatement table's deferred-tax dash.

### tier3-09727592

**Tool calling: passed.** Returned group and parent balance sheets for the January 2026 reporting year and its comparative in one `accounts` call and passed. Correctly used notes to distinguish disclosed zero balances from missing fields. ($0.25, 1 requests, 6 s)
- Right: Separated group cash `2720339` from parent cash `2017699`, and prior tangible assets `5764` from parent `4661`.
- Right: Returned positive deferred-tax provisions `5889` despite bracketed presentation, while preserving negative current parent net assets `-1632236` and positive prior net assets `783514`.
- Right: The four `intangible_assets: 0` entries are supported by note 9's zero carrying amounts; parent investments correctly changed from `0` to `40275`.

### tier4-05840865

**Tool calling: passed.** Extracted staff costs and creditor notes across four entity/year columns in one `accounts` call and passed. No retries or unnecessary tool calls were recorded. ($0.24, 1 requests, 7 s)
- Right: Kept group wages `4716869` and staff total `5370606` separate from parent wages `130805` and total `174680`.
- Right: Mapped `Bank loans` to `bank_loans_and_overdrafts` and `Obligations under finance leases` to `finance_leases`.
- Right: Preserved maturity distinctions: parent finance leases were `11658` within one year and `28174` after one year; group long-term creditors were `264243`.

### tier4-NI626135

**Tool calling: passed.** Returned group and parent staff costs and creditor breakdowns in one `accounts` call and passed. Accurately handled entity, year and maturity columns. ($0.26, 1 requests, 7 s)
- Right: Separated current group wages `3830147` from parent `1726390`, and group current creditors `15752489` from parent `17897307`.
- Right: Returned long-term bank loans as current `0`, prior `5836`, for both entities.
- Right: Used the current finance-lease liability `445421`, not the different future minimum payment `445452` shown later in note 19.

### tier5-12026946

**Tool calling: passed.** Submitted the full requested group and parent extraction in one `accounts` call and passed. Covered company metadata, four directors, financial statements, payroll and creditors. ($0.28, 1 requests, 14 s)
- Right: Separated group net assets `1427969` from parent `39954968`, and group debtors `4250773` from parent `34058045`.
- Right: Interpreted the label `NET CURRENT LIABILITIES` as negative `-14613956`, despite the source showing its magnitude without brackets.
- Right: Preserved reported loss before tax `-4801087` rather than forcing it to equal operating loss plus the two interest fields.
- Right: Mapped four-column creditor notes correctly, including parent group-company debt `6050000` and group accruals `12234067`.

### tier5-NI037684

**Tool calling: passed.** The full extraction passed after one `accounts` call, including medium-company metadata and both directors. However, an explicitly disclosed investment-property balance was omitted from an unscored field. ($0.30, 1 requests, 17 s)
- Right: Returned group turnover `31045685`, profit after tax `427398`, and staff costs `1303679`.
- Right: Separated group stocks `7357548` from parent `5082704`, and group debtors `713051` from parent `3616379`.
- Right: Mapped `Director loan accounts` to `amounts_owed_to_directors`, with current `18372` and prior `5938`.
- Mistake: In the final `accounts` call, both group `investment_property` fields were `null`. Note 15 explicitly shows investment-property carrying amounts `523300` and `–`; these should have been `523300` and `0`. Neither field appears in the supplied expected checks, so the pass does not establish complete extraction.
