---
title: "Claude Opus 5 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/claude-opus-5/companies_house/
---

# Claude Opus 5 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/claude-opus-5/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/claude-opus-5.md

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

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gateway/anthropic:claude-opus-5` passed 9/10 cases on `companies_house 0.3`. All ten used one model request and one final `accounts` call, followed by `Final result processed.` There were no retries or provider failures. The supplied costs total $2.2017, averaging about $0.2202 per case.

These runs demonstrate extraction from accounts text supplied directly in the prompt, not document retrieval or autonomous filing searches. No code-mode cases were supplied.

#### Where it does well

All eight tier 2–5 cases passed, including both broad tier-5 extractions. The model reliably separated group and parent figures, current and comparative columns, creditor maturities, and staff-cost categories. It preserved small differences such as prior intangible assets of `14896135` versus `14896091` in `tier3-05959188`.

It handled £000 conversion and accounting signs well: positive costs and liabilities, negative losses and reserves, and negative tax credits. In `tier2-SC121467`, it selected profit after tax `140000` rather than comprehensive loss `-120000`. In Cambium, it retained reported profit before tax `-4801087` despite investment-income lines outside the requested fields. No wasteful tool sequences were visible.

#### Mistakes it makes

The sole scored failure, TaskUs, was a precision/source-selection conflict. Both share-capital fields were `100`, supported by note 20's `0.10` in £000; the benchmark expected `0` from the rounded balance-sheet dashes. Matching the expected result required prioritizing the balance-sheet presentation. The evidence does not support calling this an arithmetic error or fabrication, and the handbook does not explicitly resolve that source precedence.

Two passing runs omitted disclosed all-zero creditor categories: two rows in `tier4-05840865` and three in Cambium. Thus, a passing score does not guarantee exhaustive preservation of zero rows. Engineers should test explicit zero-versus-missing behavior and establish a policy for conflicts between rounded statements and more precise notes. Error-recovery ability remains untested because no run received corrective feedback.

## Runs

### tier1-07054261

**Tool calling: passed.** Submitted both periods and company details in one `accounts` call and passed. Correctly handled £000 units, losses and restated comparatives. ($0.24, 1 requests, 19 s)
- Right: Converted current turnover `16,382` to `16382000` and current creditors `(20,446)` to positive `20446000`.
- Right: Returned prior tax credit as `-138000` and the restated prior profit-and-loss reserve as `-7530000`.
- Right: Mapped `Total deficit` to `shareholders_funds`: `-6187000` current and `-6319000` prior.
- Right: No redundant calls or retries; `accounts` returned `Final result processed.`

### tier1-11022760

**Tool calling: failed.** The single `accounts` submission failed the benchmark because both share-capital fields were `100` rather than the expected `0`. This is a source-selection discrepancy: note 20 explicitly supports £100, whereas the balance sheet rounds it to a dash. ($0.20, 1 requests, 19 s)
- Right: Correctly extracted investments `16705000`, current creditors `50167000` and net liabilities `-20029000`.
- Right: Correctly returned current profit after tax `836000` and prior loss `-1862000`.
- Right: The submitted capital equals note 20's `0.10 × 1000`; it was not an invented amount or multiplication error.
- Mistake: In the final `accounts` call, `balance_sheet.called_up_share_capital` and `prior_balance_sheet.called_up_share_capital` were both `100`. To match the benchmark's balance-sheet convention, it should have used `0` from `Called up share capital | 20 | - | -`, rather than the more precise note.
- Mistake: The tool returned `Final result processed.` without field-level feedback, so there was no correction opportunity in the recorded conversation.

### tier2-11600506

**Tool calling: passed.** Extracted the consolidated balance sheets and profit-and-loss accounts in one `accounts` call and passed. Kept group figures distinct from the parent figures also present in the source. ($0.20, 1 requests, 12 s)
- Right: Returned group net liabilities `-2896388`, rather than the parent's net assets `400`.
- Right: Preserved whole-pound precision: interest receivable `91`, interest payable `215132` and profit after tax `520795`.
- Right: Converted bracketed tax expense `(432,692)` to positive `432692`.
- Right: No redundant calls or retries were recorded.

### tier2-SC121467

**Tool calling: passed.** Submitted consolidated figures for both periods in one `accounts` call and passed. Correctly distinguished profit from total comprehensive income and handled £000 scaling. ($0.22, 1 requests, 16 s)
- Right: Returned current profit after tax `140000`, rather than total comprehensive loss `-120000`.
- Right: Returned prior tax credit `-571000` and prior loss after tax `-1107000`.
- Right: Kept distribution costs `1387000` separate from administrative expenses `10998000`.
- Right: No redundant calls or retries were recorded.

### tier3-05959188

**Tool calling: passed.** Returned four balance sheets covering group and parent, current and prior, in one `accounts` call and passed. Preserved small differences between closely related figures. ($0.24, 1 requests, 15 s)
- Right: Distinguished prior group intangible assets `14896135` from parent intangible assets `14896091`.
- Right: Separated current group tangible assets `379315` from parent tangible assets `9602`.
- Right: Returned group net liabilities `-13564855` and parent net liabilities `-15485891`, keeping long-term creditors positive.
- Right: Used the restated parent comparative net liabilities `-11497328`; no redundant calls were recorded.

### tier3-09727592

**Tool calling: passed.** Extracted both entities' balance sheets for both periods in one `accounts` call and passed. Correctly handled the parent's change from positive net assets to net liabilities. ($0.20, 1 requests, 17 s)
- Right: Returned parent net assets `783514` prior and `-1632236` current.
- Right: Separated group cash `2720339` from parent cash `2017699`.
- Right: Preserved share capital `252` current versus `250` prior and parent investments `40275` versus `0`.
- Right: Returned bracketed provisions as positive `5889`; no redundant calls were recorded.

### tier4-05840865

**Tool calling: passed.** The single `accounts` call passed with accurate staff costs and nonzero creditor categories. However, it omitted two all-zero creditor rows that appear in the source and expected results. ($0.20, 1 requests, 19 s)
- Right: Separated group staff-cost total `5370606` from parent total `174680`, including their comparative figures.
- Right: Correctly classified parent finance leases as `11658` within one year and `28174` after one year.
- Right: Preserved the group bank-loan row with current `0` and prior `10251`.
- Mistake: In the final `accounts` call, omitted group `amounts_owed_to_group` and parent `bank_loans_and_overdrafts`, both `within_one_year` with current and prior amounts `0`. Explicit zero entries would preserve the disclosed rows; the benchmark nevertheless passed this submission.

### tier4-NI626135

**Tool calling: passed.** Extracted staff costs and creditor breakdowns across four group/company-year columns in one `accounts` call and passed. Correctly separated borrowing maturities. ($0.22, 1 requests, 18 s)
- Right: Returned group wages `3830147` and parent wages `1726390`, with distinct prior figures.
- Right: Used prior group short-term bank loans `5382854`, rather than total bank loans `5388690`.
- Right: Included long-term bank loans as current `0`, prior `5836` for both entities.
- Right: Separated group long-term leases `689258` from parent `686105`; no redundant calls were recorded.

### tier5-12026946

**Tool calling: passed.** Submitted company metadata, four directors, group accounts and parent balance sheets with creditor notes in one `accounts` call and passed. Correctly retained reported profit figures despite additional investment-income lines. ($0.27, 1 requests, 35 s)
- Right: Returned group profit before tax `-4801087`, preserving the reported figure that includes associate losses rather than reconstructing it solely from operating profit and interest.
- Right: Separated group net assets `1427969` from parent net assets `39954968`.
- Right: Returned group staff costs `5516274` and parent intercompany creditors `6050000`.
- Right: Included all four expected directors; no redundant calls were recorded.
- Mistake: In the final `accounts` call, omitted all-zero creditor rows shown in the combined note: group `amounts_owed_to_group`, and parent `other_tax_and_social_security` and `other`, all `within_one_year`. This did not prevent a benchmark pass.

### tier5-NI037684

**Tool calling: passed.** Returned the broad accounts extraction in one `accounts` call and passed. Correctly identified medium-company accounts and maintained entity-specific balances and creditor comparatives. ($0.21, 1 requests, 33 s)
- Right: Returned `accounts_type: medium`, `consolidated: true`, and directors A Mulholland and S Mulholland.
- Right: Separated group stocks `7357548` from parent stocks `5082704` and group debtors `713051` from parent debtors `3616379`.
- Right: Correctly classified directors' creditors as `amounts_owed_to_directors`, current `18372` and prior `5938`.
- Right: Preserved different prior trade creditors: group `2698613`, parent `2689140`; no redundant calls were recorded.
