---
title: "GLM 5.3 Flash on Pydantic AI Companies House"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 60%; rank 18 of 20."
canonical: https://models.pydantic.dev/models/glm-5.3-flash/companies_house/
---

# GLM 5.3 Flash on Pydantic AI Companies House

> Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 60%; rank 18 of 20.
>
> Markdown copy of https://models.pydantic.dev/models/glm-5.3-flash/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/glm-5.3-flash.md

| Mode         | Score | Tasks passed | Cost   | Requests | Tool calls | Time    |
| ------------ | ----- | ------------ | ------ | -------- | ---------- | ------- |
| Tool calling | 60%   | 6 of 10      | $0.070 | 10       | 11         | 5.3 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

On tool calling, the model passed **6 of 10** cases. Every run used **1 request**, and cost ranged from **$0.0036 to $0.0114**. Total cost was about **$0.070**, an average of about $0.007 per case. Results split by tier:

- **Tiers 1, 4 and 5:** all passed (6/6).
- **Tiers 2 and 3:** all failed (0/4). Every failure was **incomplete_data**: fields left out, not wrong values.

#### Where it does well

- **Unit scaling:** It handled £000 scaling reliably, for example turnover 16,382 → 16382000 (tier1-07054261) and investments 16705000 (tier1-11022760).
- **Signs:** Deficits, losses, negative reserves and prior-year tax credits were negative (-138000, -51830). Costs, creditors and tax charges stayed positive.
- **Zero vs. null:** It used 0 where the accounts show zero, such as share capital in tier1-11022760 and the prior-year bank loan in tier4-NI626135. It used null for lines that are not shown.
- **Group vs. parent:** It kept group and parent figures separate. Examples are amounts owed to group of 0 vs 1,538,825 (tier4-05840865) and debtors of 713,051 vs 3,616,379 (tier5-NI037684). Creditor breakdowns added up to their reported totals.
- **Metadata:** It got the classification right (full, audited, consolidated or not) along with period dates and directors.
- **Accuracy:** Even in failed runs, every value it did report matched the expected answer.

#### Mistakes it makes

All four failures follow one pattern. The model filled only the **equity section** (share capital, P&L reserve, shareholders' funds) and left the rest of the balance sheet null, then submitted without checking that the output was complete.

- **tier3-05959188 and tier3-09727592:** Group and parent assets, cash, creditors and net-asset lines were all null. Parent-only lines such as debtors, investments and creditors after one year were also missing. tier3-09727592 also missed share premium (28,167,129).
- **tier2-SC121467:** The P&L was correct, but no asset or liability lines were returned.
- **tier2-11600506:** This was the worst case. Most P&L lines (profit before and after tax, admin expenses and others) were also missing.

In three cases, **net_assets** was left null even though the model had already returned an equal shareholders' funds figure. It did not use this cross-check.

The reviewer for tier2-SC121467 also noted a second, identical accounts call that added nothing. The logged request count is still 1.

The failed runs were somewhat cheaper (about $0.006 average) than the passing ones (about $0.0077). This fits with the model stopping early rather than doing extra work.

#### Tool calling compared with code mode

The notes contain **only tool-calling runs**, so no comparison with code mode is possible. The failures come from incomplete extraction, not wrong values, so a check that every expected field is filled may matter more than the choice of mode. This is a suggestion, not something the notes test.

## Runs

### tier1-07054261

**Tool calling: passed.** The agent read Cube Logic Limited's audited full accounts, which are in £000, and returned every field in one accounts call. All values matched the expected answer and there were no validation failures. ($0.0057, 1 requests, 16 s)
- Right: Multiplied the £000 figures by 1,000 throughout (e.g. turnover 16,382 → 16382000).
- Right: Applied the sign rules correctly: net current assets, net assets, operating profit, PBT/PAT and the P&L reserve are negative, while costs and creditors stay positive.
- Right: Recorded the prior-year tax credit as -138000 and current-year tax as 0.
- Right: Set interest_receivable to 0 for the prior year rather than null.
- Right: Identified the company as non-consolidated, full, audited, with the correct period dates.
- Right: Finished in a single submission with no retries.

### tier1-11022760

**Tool calling: passed.** The agent pulled the company details, both balance sheets and both profit and loss accounts from the TaskUs Limited accounts in one `accounts` call. Every figure matched the expected answer and the run passed. ($0.011, 1 requests, 69 s)
- Right: Scaled the £000 figures by 1,000 correctly (e.g. investments 16705000, creditors within one year 50167000).
- Right: Gave the deficit figures negative signs (net current assets -36631000, net assets -20029000, prior profit before tax -1230000) and kept the tax charges positive (312000, 632000).
- Right: Recorded called-up share capital as 0, as the accounts show it, rather than null.
- Right: Recorded prior-year other operating income as 0 and used null for lines the accounts do not show, such as stocks and provisions.
- Right: Classified the company correctly: full accounts, audited, not consolidated, with the right current and prior period dates.
- Right: Finished with a single tool call and no validation failures.

### tier2-11600506

**Tool calling: failed.** The agent made one `accounts` submission with only share capital, P&L reserve, shareholders' funds and tax for both years. Every other required balance sheet and P&L figure was left null, so the run failed. ($0.0036, 1 requests, 6 s)
- Right: The values it did report (share capital 400, P&L reserve -2,896,788/-1,293,169, shareholders' funds -2,896,388/-1,292,769, tax 432,692/513,782) match the expected answer.
- Right: Negative reserves and shareholders' funds were signed correctly.
- Mistake: In its single `accounts` call it left out most fields the accounts plainly show. Missing were cash (1,320,993), current assets, creditors within one year, fixed, intangible and tangible assets, net current assets, net assets and total assets less current liabilities. On the P&L side it left out cost of sales, administrative expenses, other operating income, interest receivable and payable, profit before tax and profit after tax, for both years.
- Mistake: It submitted after one call without checking that its output was complete. It should have extracted every line from the group balance sheet (page 9) and the group statement of comprehensive income (page 8).
- Mistake: Net assets was left null even though shareholders' funds of -2,896,388 was given, which equals net assets.

### tier2-SC121467

**Tool calling: failed.** The agent filled in the group P&L for both years and the equity lines of the balance sheet. It left every asset, liability and net-asset line null even though the group balance sheet shows them, so the run failed. ($0.011, 1 requests, 72 s)
- Right: All group P&L figures for both years match the expected values, with correct signs (prior-year loss and tax credit negative).
- Right: Share capital, the profit and loss reserve (negative) and shareholders' funds were correct for both years.
- Right: It multiplied the £000 figures by 1,000 correctly.
- Mistake: In the first accounts call, the balance_sheet and prior_balance_sheet objects held only the four equity fields. Fixed assets, intangible assets, tangible assets, current assets, cash, creditors within one year, net current assets, total assets less current liabilities and net assets were all left out and came out null. Examples are current-year fixed assets 4627000 and cash 2855000, and prior-year cash 6958000.
- Mistake: Net assets were left null even though they equal shareholders' funds (8263000 / 8383000), which the agent had already filled in. This shows it never read the top half of the group balance sheet.
- Mistake: It made a second, identical accounts call. That call was wasted and it did not fill in the missing fields.

### tier3-05959188

**Tool calling: failed.** The agent made a single accounts call that filled only the equity lines (share capital, share premium, P&L reserve, shareholders' funds) for group and parent in both periods. Every asset, liability and net-asset line was left null, so the run failed. ($0.0049, 1 requests, 12 s)
- Right: The equity figures it did return were correct for both group and parent and both periods (e.g. group P&L reserve -25824630, parent shareholders' funds -15485891).
- Right: Negative signs on the reserve and shareholders' funds were applied correctly.
- Mistake: In the only accounts call, it left out fixed_assets, intangible_assets, tangible_assets, current_assets, cash, creditors_within_one_year, net_current_assets, total_assets_less_current_liabilities and net_assets, even though the group and company balance sheets show them (e.g. group intangibles 15543998, cash 1720386, net assets -13564855).
- Mistake: It did not return parent-only lines that the company balance sheet shows: debtors 5916439, investments 2467 and creditors_after_one_year 34780864 (prior 27414845).
- Mistake: It left net_assets null even though it returned the equal shareholders_funds figure (-13564855). The balance sheet clearly shows net assets.
- Mistake: It submitted after one call and never checked that the output covered the full balance sheet it was asked for.

### tier3-09727592

**Tool calling: failed.** The agent made one submission. It filled only share capital, profit and loss reserve and shareholders' funds for group and parent in both periods, and left every other balance-sheet line null. The run failed because most expected fields were missing. ($0.0045, 1 requests, 12 s)
- Right: The 12 values it did return all match the expected answer: share capital 252/250, P&L reserve -32,613,535/-30,289,372 for the group and -30,571,508/-28,068,289 for the parent, and shareholders' funds -3,674,263/-1,437,569 for the group and -1,632,236/783,514 for the parent.
- Right: Negative signs on the reserve and deficit figures were applied correctly.
- Mistake: In its single `accounts` call it left out share premium (28,167,129/28,153,530), which the accounts show and which it should have taken from the same capital and reserves section it was reading.
- Mistake: It returned null for the group's fixed assets, tangible assets, cash, current assets, creditors within one year, net current assets, total assets less current liabilities and net assets. The group balance sheet on page 12 shows all of these, e.g. cash 2,720,339 and creditors 4,517,103.
- Mistake: It returned null for the parent's debtors, cash, investments (40,275/0), creditors after one year (2,162,032/1,529,090) and the other company balance sheet lines on pages 13-14.
- Mistake: It submitted after one pass and never went back to the full balance sheets, even though the result reported no validation failures. It appears to have stopped after picking out only the equity lines rather than reading each statement in full.

### tier4-05840865

**Tool calling: passed.** The agent pulled the group and parent company staff costs and creditors notes from the accounts in a single call. Every figure matched the expected answer and there were no validation failures. ($0.0069, 1 requests, 28 s)
- Right: Took group and parent company figures separately and correctly, e.g. amounts owed to group of 0 for the group and 1,538,825 for the parent.
- Right: Recorded zero current-year lines that have prior-year values, such as the group bank loans at 0 against 10,251 prior.
- Right: Matched the parent company's finance leases after one year (28,174, prior 39,831) to its creditors_after_one_year total of 28,174.
- Right: Returned everything in one call, with nothing wasted.
- Mistake: It added some fields the scoring did not check, such as social security costs and the group's after-one-year creditors. These were harmless, and nothing in the transcript shows them to be wrong.

### tier4-NI626135

**Tool calling: passed.** The agent pulled the group and parent company staff costs and creditors (within and after one year, with prior-year figures) in a single `accounts` call. All values matched the expected answer and there were no validation failures. ($0.0050, 1 requests, 16 s)
- Right: Kept the group and parent company figures apart: for example, amounts owed to group are 3,668,476 for the group and 10,067,741 for the parent.
- Right: Entered the bank loan due after one year as 0 for the current year and 5,836 for the prior year, rather than null.
- Right: Each set of creditor lines adds up to its reported total: group within one year comes to 15,752,489 and parent within one year to 17,897,307.
- Right: Finished in one submission with no retries.

### tier5-12026946

**Tool calling: passed.** The agent read the group accounts and returned group and parent-company figures in one accounts call. The submission matched the expected answer and passed. ($0.0096, 1 requests, 49 s)
- Right: It kept the group and parent figures separate, including the parent's own balance sheets for both years.
- Right: Signs were handled correctly: losses and the negative reserve were given as negatives, the prior-year tax credit was -51830, and the current tax charge was a positive 72816.
- Right: It set parent creditors_after_one_year to null for the current year and kept the prior 157084, matching the statements.
- Right: It broke down the creditors for both group and parent, with prior-year amounts.
- Right: It listed Mr R Thompson as a director even though he resigned during the year, which matches the expected answer.
- Right: The whole answer was submitted in a single call with no wasted retries.

### tier5-NI037684

**Tool calling: passed.** The agent pulled group and parent company figures from the John Mulholland Motors accounts and returned them in one accounts call. The submission passed. ($0.0075, 1 requests, 34 s)
- Right: Kept the consolidated figures and the parent company figures apart correctly. For example, the parent's debtors of 3,616,379 include intercompany balances, while the group's debtors are 713,051.
- Right: Recorded parent investments of 300 for the current year and null for the prior year, and fixed assets of 3,599,359.
- Right: Gave creditor note breakdowns with prior amounts for both group and parent, including the small parent differences: other creditors prior 102,990 and other tax prior 277,314.
- Right: Returned null for lines the accounts do not show, such as distribution costs and creditors after one year.
- Right: Finished in a single tool call with no retries.
