---
title: "MiniMax M3 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 28 of 32."
canonical: https://models.pydantic.dev/models/minimax-m3/companies_house/
---

# MiniMax M3 on Pydantic AI Companies House

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

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | -------- |
| Tool calling | 60%   | 6 of 10      | $0.22 | 23       | 23         | 15.0 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

`gateway/openrouter:minimax/minimax-m3` passed 6/10 cases: all six tier 1–3 cases and none of the four tier 4–5 cases. Five passed in one request; one required a sign correction. The supplied totals are 23 requests and $0.2244. All four failures exhausted output retries; none shows a provider error.

The main limitation is delivering schema-valid nested output. Correctly extracted figures were often trapped inside rejected submissions. Each failed run reports four requests, while its stored conversation exposes three `accounts` calls.

#### Where it does well

It handled £000 conversion in all three relevant passing cases, preserved losses and tax credits, and separated group from parent figures in both tier 3 cases. For example, `tier3-05959188` retained the small difference between comparative group and parent intangible assets: `14896135` versus `14896091`.

Both tier 4 failures nevertheless contained the requested staff totals and detailed creditor values. This supports stronger extraction ability than their completion scores alone suggest.

#### Mistakes it makes

All four failures submitted creditor arrays as `{"item": [...]}` objects and failed to repair them after explicit `list_type` feedback. Cambium’s last visible attempt instead sent JSON-array strings, which also failed. Both tier 5 cases initially used empty strings for parent staff-cost objects. Mulholland then copied group payroll figures into parent fields without a supporting parent disclosure.

In `tier2-11600506`, negative costs, interest payable and tax charges caused arithmetic validation failures; the second submission corrected them. TASKUS passed despite omitting comparative `other_operating_income: 0`, so a pass does not establish complete handbook compliance.

Successful calls also supplied monetary values as strings, relying on coercion to integers. Engineers should distinguish the model’s generally accurate statement reading from its unreliable handling of arrays, missing nested objects and retry feedback.

## Runs

### tier1-07054261

**Tool calling: passed.** Submitted Cube Logic’s company details and both periods’ statements through one `accounts` call and passed. ($0.014, 1 requests, 66 s)
- Right: Converted £000 correctly: turnover `16,382` became `16382000`, and current creditors `20,446` became `20446000`.
- Right: Preserved losses and deficits, including operating profit `-940000`, net assets `-6187000`, and the comparative tax credit `-138000`.
- Right: Used the restated comparative figures and returned `null` for absent lines.
- Mistake: The `accounts` arguments encoded monetary values and booleans as strings, such as `"2640000"` and `"false"`. Validation accepted and converted them; the pass depended on permissive type coercion.

### tier1-11022760

**Tool calling: passed.** Submitted TASKUS’s company details and statements in one `accounts` call and passed, despite omitting a disclosed comparative zero. ($0.011, 1 requests, 55 s)
- Right: Correctly scaled £000 amounts, including investments `16705000`, current creditors `50167000`, and net liabilities mapped to `net_assets: -20029000`.
- Right: Kept costs positive and correctly distinguished current profit after tax `836000` from comparative loss `-1862000`.
- Mistake: In the sole `accounts` call, omitted `prior_profit_and_loss.other_operating_income`, although the statement shows `-` and the expected value is `0`. It should have explicitly returned zero rather than leaving the field absent.
- Mistake: Submitted numbers and booleans as strings; successful processing relied on coercion.

### tier2-11600506

**Tool calling: passed.** The first `accounts` submission failed checks because expense and tax-charge signs were wrong. A second submission corrected both periods and passed. ($0.015, 2 requests, 34 s)
- Right: Extracted the consolidated balance sheets correctly, including current net liabilities `-2896388` and comparative net liabilities `-1292769`.
- Right: After feedback, retained the source turnover and gross profit and corrected the expense signs instead of changing totals to force agreement.
- Mistake: The first call used `cost_of_sales: -25037414`, `administrative_expenses: -6979504`, `interest_payable: -215132`, and `tax: -432692`; the comparative equivalents were also negative. These were costs and tax charges, so they should have been positive.
- Mistake: The validator reported `33135446 - (-25037414) = 58172860`, inconsistent with gross profit `8098032`; the comparative check similarly produced `55388491` instead of `7903625`. Missing the handbook’s sign rule cost an extra request.

### tier2-SC121467

**Tool calling: passed.** Returned the consolidated balance sheets and profit and loss accounts in one `accounts` call and passed. ($0.018, 1 requests, 1.8 min)
- Right: Correctly converted £000 figures, including fixed assets `4627000`, distribution costs `1387000`, and net assets `8263000`.
- Right: Distinguished the current tax charge `299000` from the comparative tax credit `-571000`, while retaining comparative operating loss `-1818000`.
- Right: Selected group net assets `8263000`, rather than the parent’s `10440000`.
- Mistake: Monetary arguments were strings rather than integers; the successful result relied on validation coercion. No retry or unnecessary tool call was recorded.

### tier3-05959188

**Tool calling: passed.** Returned four balance sheets—group and parent, current and comparative—in one accepted `accounts` call. ($0.0091, 1 requests, 19 s)
- Right: Kept similar group and parent figures separate: current tangible assets were `379315` versus `9602`, and comparative intangible assets were `14896135` versus `14896091`.
- Right: Correctly returned group net assets `-13564855` and parent net assets `-15485891`.
- Right: Preserved the parent’s investments `2467` and comparative `2446` without inserting them into the consolidated balance sheets.
- Mistake: Submitted monetary values as strings and benefited from coercion to integers. No substantive extraction error or wasted retry was observed.

### tier3-09727592

**Tool calling: passed.** Separated group and parent balance sheets for both periods and passed with one `accounts` submission. ($0.0085, 1 requests, 32 s)
- Right: Correctly distinguished group cash `2720339` from parent cash `2017699`, and group long-term creditors `4414189` from parent `2162032`.
- Right: Preserved the parent’s change from comparative net assets `783514` to current net liabilities `-1632236`.
- Right: Returned comparative parent investments as the disclosed zero, while leaving absent consolidated investments `null`.
- Mistake: Monetary values were supplied as strings; the accepted output relied on coercion. No retry or substantive extraction mistake was observed.

### tier4-05840865

**Tool calling: error.** Extracted the staff and creditor figures but repeatedly submitted invalid creditor containers. The run ended with `Exceeded maximum output retries (3)` and no output. ($0.027, 4 requests, 2.0 min)
- Right: Correctly separated group staff costs `5370606` from parent staff costs `174680`, with comparative totals `4671166` and `407253`.
- Right: Extracted current creditor totals `4229724` and `1808163`, and parent long-term finance leases `28174`.
- Mistake: The first recorded `accounts` call supplied both creditor fields as `"creditors": {"item": [...]}`. Validation returned `list_type` at `group.creditors` and `parent_company.creditors`.
- Mistake: Both subsequent recorded submissions repeated that structure despite explicit array errors. It should have submitted `"creditors": [{"category": "trade_creditors", "due": "within_one_year", "amount": 2215873, "prior_amount": 1818672}, ...]` directly.
- Mistake: The result reports four requests, but the stored conversation contains three `accounts` calls; no additional submission is visible to review.

### tier4-NI626135

**Tool calling: error.** Captured the group and parent note values but failed to serialize creditor lists correctly. Repeated validation failures exhausted output retries. ($0.022, 4 requests, 70 s)
- Right: Extracted group and parent staff totals `4404450` and `1952516`, and comparative totals `3687277` and `1712174`.
- Right: Kept group amounts owed to group undertakings `3668476` separate from the parent’s `10067741`.
- Right: Preserved long-term bank borrowing as current `0`, comparative `5836`, and distinguished finance leases by maturity.
- Mistake: All three recorded `accounts` calls wrapped each creditor array in `{"item": [...]}`, producing `list_type` errors for both entities.
- Mistake: Repeated the rejected container after feedback instead of sending native arrays with integer amounts. The run reports four requests, but only three submissions appear in the stored conversation.

### tier5-12026946

**Tool calling: error.** Extracted Cambium’s main statements, directors and group staff costs, but invalid creditor and parent staff-cost types prevented an accepted result. The run exhausted output retries. ($0.071, 4 requests, 4.8 min)
- Right: Included all four requested directors and correctly separated group net assets `1427969` from parent net assets `39954968`.
- Right: Preserved group profit before tax `-4801087`, prior tax credit `-51830`, and staff costs `5516274`.
- Right: Captured group accruals and deferred income `12234067`, distinct from the parent’s `28500`.
- Mistake: The first two recorded `accounts` calls used `{"item": [...]}` for both creditor lists; the third changed them to strings containing JSON arrays. Neither is a native array, so `list_type` errors persisted.
- Mistake: All three calls supplied `parent_company.staff_costs` and `prior_staff_costs` as `""`, causing `model_type` errors. The supplied staff note describes the group; absent parent amounts should have been represented through the schema’s nullable fields, not empty strings.
- Mistake: It should have sent native creditor arrays and valid staff-cost objects with `null` for undisclosed amounts. Four requests are reported, while three submissions are visible.

### tier5-NI037684

**Tool calling: error.** Extracted the main group and parent figures, but repeated creditor-array errors prevented completion. Its attempted repair of missing parent staff costs introduced unsupported group-to-parent copying. ($0.030, 4 requests, 1.7 min)
- Right: Correctly identified `accounts_type: medium`, both directors, group turnover `31045685`, and profit after tax `427398`.
- Right: Separated group and parent net assets `12281086` and `12392803` and mapped director loan accounts to `amounts_owed_to_directors`, with `18372` current and `5938` comparative.
- Mistake: Every recorded `accounts` call used `"creditors": {"item": [...]}` for both entities. It should have removed the object wrapper and submitted arrays directly.
- Mistake: The first call used empty strings for both parent staff-cost objects. In the second and third calls, it replaced them with the group’s totals `1303679` and `1222338` and their components, although the staff note explicitly describes group employees. It should have preserved undisclosed parent figures as `null` within valid objects.
- Mistake: The run ended with `Exceeded maximum output retries (3)`. Four requests are reported, but only three `accounts` submissions are recorded.
