---
title: "GPT-6 Luna 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 9 of 20."
canonical: https://models.pydantic.dev/models/gpt-6-luna/companies_house/
---

# GPT-6 Luna on Pydantic AI Companies House

> Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 90%; rank 9 of 20.
>
> Markdown copy of https://models.pydantic.dev/models/gpt-6-luna/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>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of the first three. An `OPTIONS` request to any endpoint returns its schema. The same four 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-luna.md

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

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

The notes cover 10 cases, all in **tools** mode. The model passed **9 of 10**, failing only one tier-4 case. Every run used **one request**, with no retries and no validation failures on the passing cases. Cost ranged from **$0.0022 to $0.0036** per case, about **$0.0027 on average** ($0.0268 total). The most expensive case was the largest one (tier5-12026946, full group and parent accounts).

| Tier | Passed |
| ---- | ------ |
| 1    | 2/2    |
| 2    | 2/2    |
| 3    | 2/2    |
| 4    | 1/2    |
| 5    | 2/2    |

#### Where it does well

- **Scaling and signs.** In all three £000 cases (tier1-07054261, tier1-11022760, tier2-SC121467), it multiplied every figure by 1,000. It consistently showed deficits, losses and tax credits as negatives and kept costs and creditors positive. For example, it gave a prior-year tax credit of -571,000 alongside a current charge of +299,000.
- **Group vs parent separation.** In all six tier-2 to tier-5 cases, it kept consolidated and company-only figures apart. Examples are the net assets in tier3-09727592 (-3,674,263 vs -1,632,236) and the debtors and stocks in tier5-NI037684.
- **Leaving out what isn't there.** It set lines the accounts don't show to null, as in tier2-11600506 and the group investments in tier5-NI037684.
- **Internal consistency.** Totals reconciled (tier2-SC121467), and it took staff cost totals directly from the accounts rather than summing the parts (tier4-NI626135).

#### Mistakes it makes

- **The one failure: creditor categories (tier4-05840865, "missed_rule").** It put directors' loans (48,817 / 25,407) in a separate `amounts_owed_to_directors` line when they belonged in group "other" creditors (expected 1,278,154 / 820,961). It also left out a zero-valued `amounts_owed_to_group` line. It made one call and did not check its breakdown against the expected scheme, though the parent figures, staff costs and the group total were all correct.
- **Null vs 0 inconsistency.** This was not penalised but recurs in both directions:
  - It returned null where 0 was expected in tier1-07054261 and tier1-11022760.
  - It returned 0 where null or omission was likely intended in tier2-SC121467 and tier5-12026946.
- **Empty objects.** It returned parent `staff_costs` as `{}` while `prior_staff_costs` was null (tier5-12026946, tier5-NI037684). This was harmless in these cases.
- **Unverified value.** In tier3-09727592 it repeated a prior-year provisions figure (5,889) that the reviewer found not obviously supported. The field was not graded.

#### Tool calling compared with code mode

No code_mode runs are in the notes, so the two modes cannot be compared. In tools mode, the model always finished in a single `accounts` call. This made it cheap and fast. However, it never used the chance to check its own output, and that contributed to the tier-4 failure.

## Runs

### tier1-07054261

**Tool calling: passed.** The agent extracted the company details, both balance sheets and both profit and loss accounts for Cube Logic Limited in a single accounts call, with £000 figures scaled correctly. It passed with no validation failures. ($0.0028, 1 requests, 4 s)
- Right: Scaled the £000 figures by 1,000 throughout (e.g. turnover 16382000, creditors 20446000).
- Right: Made the deficit figures negative (net assets -6187000, P&L reserve -8457000, operating loss -940000) and kept costs and creditors positive.
- Right: Recorded the prior-year tax credit as -138000 and the current-year tax as 0.
- Right: Got the company metadata right in one pass: full, unconsolidated, audited accounts with correct period dates and company number.
- Mistake: Prior-year interest_receivable was returned as null, but the expected answer is 0. The run still passed, so the checker apparently treats null and 0 as the same here, but it is a small inconsistency.

### tier1-11022760

**Tool calling: passed.** The agent extracted the company details, both balance sheets and both profit and loss accounts for TaskUs Limited in a single accounts call, scaling the £000 figures by 1,000. The output passed. ($0.0022, 1 requests, 4 s)
- Right: Scaled every £000 figure by 1,000 (e.g. net assets -20,029,000, investments 16,705,000).
- Right: Shown negative net current assets (-36,631,000) and net liabilities (-20,029,000) as negatives, and kept creditors positive.
- Right: Recorded the tax charges (312,000 and 632,000) as positive, and the prior-year loss before and after tax (-1,230,000 and -1,862,000) as negatives.
- Right: Got the full, audited and non-consolidated flags right, along with both period dates.
- Right: Finished in one tool call with no retries.
- Mistake: It left prior-year other_operating_income as null where the expected answer is 0. The checker did not penalise this, but the comparative may have been shown as a dash or nil that would read as 0.

### tier2-11600506

**Tool calling: passed.** The agent pulled the group's consolidated balance sheet and P&L for both years into a single `accounts` call. Every expected field matched and the run passed. ($0.0025, 1 requests, 5 s)
- Right: Kept the brackets as negatives where the handbook says to: net current assets (-6090208), total assets less current liabilities (-857995), net assets (-2896388), P&L reserve (-2896788) and shareholders' funds (-2896388), for both years.
- Right: Took the group (consolidated) figures, not the company-only balance sheet.
- Right: Returned costs, tax and interest payable as positive amounts.
- Right: Correctly set lines the accounts do not show (investments, share premium, distribution costs) to null.
- Right: Finished in one submission with no validation failures.

### tier2-SC121467

**Tool calling: passed.** The agent took the group consolidated balance sheet and P&L for both years from accounts presented in £000, scaled them to whole pounds and submitted everything in a single accounts call. The submission passed with no validation failures and every expected field matched. ($0.0025, 1 requests, 5 s)
- Right: Multiplied the £000 figures by 1,000 (e.g. turnover 34,021,000, net assets 8,263,000).
- Right: Gave the right signs: P&L reserve -1,296,000 and -1,176,000, prior operating profit -1,818,000, prior PBT -1,678,000, prior tax credit -571,000, and current tax charge +299,000.
- Right: Used group figures rather than the parent company's own figures.
- Right: Kept everything internally consistent (e.g. 4,627,000 + 4,393,000 = 9,020,000; 9,020,000 - 0 - 757,000 = 8,263,000), so it passed on the first submission.
- Mistake: It set group.balance_sheet.creditors_after_one_year to 0 instead of null, even though the prior year shows 4,300,000. The field was not graded, so it may be harmless, but the transcript does not show whether the current-year balance sheet prints a nil or a dash.

### tier3-05959188

**Tool calling: passed.** The agent pulled the group and parent company balance sheets for both years from Tribe Payments' accounts in a single `accounts` call. Every expected field matched and the run passed. ($0.0031, 1 requests, 6 s)
- Right: Kept the group (consolidated) figures and the parent company's own figures apart, e.g. intangibles 15,543,998 vs prior 14,896,135 for the group and 14,896,091 for the parent.
- Right: Signed the deficit figures negative (net assets -13,564,855, P&L reserve -25,824,630) and kept creditors positive.
- Right: Returned only the investments line the accounts show: 2,467 and 2,446 for the parent, nothing for the group.
- Right: Got the output right in one call, with no validation failures and no retries.

### tier3-09727592

**Tool calling: passed.** The agent pulled the group and parent company balance sheets for both years from the Tyk Technologies accounts in a single `accounts` call. All checked fields matched the expected answer and the run passed. ($0.0024, 1 requests, 7 s)
- Right: Correctly separated group consolidated figures from parent company figures, e.g. group net assets -3,674,263 vs parent -1,632,236.
- Right: Applied negative signs to the deficit figures: net assets, P&L reserve and shareholders' funds.
- Right: Recorded parent prior-year investments as 0 rather than null, which matched the expected answer.
- Right: Finished in one submission with no validation failures.
- Mistake: No checked fields were wrong. The group prior-year provisions figure of 5,889 (the same as the current year) is not obviously supported, though it was not checked.

### tier4-05840865

**Tool calling: failed.** The agent extracted group and parent staff costs and creditors in a single accounts call. It failed because it reported directors' loans (48,817 / prior 25,407) as a separate 'amounts_owed_to_directors' line when they belonged in group 'other' creditors (expected 1,278,154 / 820,961), and it left out the group 'amounts_owed_to_group' line (expected 0). ($0.0026, 1 requests, 7 s)
- Right: All parent company creditor lines, totals and staff costs match the expected values.
- Right: Group staff costs (wages 4,716,869, pensions 205,062, total 5,370,606, and the prior figures) are correct.
- Right: The group creditors-within-one-year total of 4,229,724 and most group creditor lines (trade, corporation tax, other taxes, accruals, finance leases, bank) are correct.
- Mistake: In the single accounts call, the agent put group directors' current accounts in their own 'amounts_owed_to_directors' category (48,817 / 25,407). The expected answer folds them into 'other', so group other within one year should have been 1,278,154 (1,229,337 + 48,817), with prior 820,961 (795,554 + 25,407).
- Mistake: The agent gave no group 'amounts_owed_to_group' within-one-year line. The expected answer has 0 for both the current and prior amounts, so the agent should have included the line with zero values.
- Mistake: The agent made only one call and did no checking. It did not test whether its category scheme matched the expected breakdown.

### tier4-NI626135

**Tool calling: passed.** The agent extracted the group and parent company staff costs and creditors (within and after one year, current and prior) in a single accounts call, and every expected field matched. The run passed. ($0.0027, 1 requests, 6 s)
- Right: Kept the group figures and the parent company figures in separate sections, e.g. group creditors within one year 15,752,489 and parent 17,897,307.
- Right: Filled in prior-year comparatives for every creditor line, including bank loans after one year shown as 0 with a prior of 5,836.
- Right: Recorded the totals for creditors within and after one year at both levels: group after one year 689,258, parent 686,105.
- Right: Took the staff cost totals straight from the accounts rather than adding up the parts.
- Right: Finished in one call with no failed validation.

### tier5-12026946

**Tool calling: passed.** The agent pulled the full group and parent company accounts for The Cambium Group UK Holdings Limited in a single `accounts` call. The submission passed. ($0.0036, 1 requests, 15 s)
- Right: The group balance sheet, profit and loss, staff costs and creditors note for both years match the expected values exactly.
- Right: Bracketed figures got the right signs: net current assets, operating profit and the P&L reserve are negative, the prior-year tax credit is -51830 and the current-year tax charge is +72816.
- Right: It returned the parent company's own balance sheet separately from the group's, including the parent's creditors split by category.
- Right: All four directors are listed, including Mr R Thompson, who resigned during the year.
- Right: Everything was done in one submission with no retries.
- Mistake: The parent's current-year creditors_after_one_year was set to 0, and its trade creditors prior_amount to 0. The expected answer omits both, so null was probably intended. The check did not penalise this.
- Mistake: Parent staff_costs was returned as an empty object {} while prior_staff_costs was null, which is inconsistent. It was harmless here.

### tier5-NI037684

**Tool calling: passed.** The agent extracted group and parent company figures for John Mulholland Motors Limited (FY2025, with prior-year comparatives) in a single accounts call, and the run passed. ($0.0024, 1 requests, 10 s)
- Right: Separated the consolidated figures from the parent company figures correctly, e.g. parent debtors 3,616,379 vs group debtors 713,051, and parent stocks 5,082,704 vs group stocks 7,357,548.
- Right: Used the parent-only creditor note amounts where they differ from the group's, e.g. parent prior trade creditors 2,689,140 vs group 2,698,613.
- Right: Recorded the parent's investment of 300 and its fixed assets of 3,599,359, while correctly leaving group investments null.
- Right: Submitted once with no failed checks or retries.
- Mistake: Sent parent_company staff_costs as an empty object {} rather than null, which is inconsistent with the null used for prior_staff_costs. This was harmless here.
