---
title: "MiMo-V2.6-Pro on Pydantic AI - Structured output"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 80%; rank 30 of 44."
canonical: https://pydantic.dev/models/list/mimo-v2.6-pro/structured_output/
---

# MiMo-V2.6-Pro on Pydantic AI - Structured output

> Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 80%; rank 30 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/mimo-v2.6-pro/structured_output/. Index for agents: https://pydantic.dev/models/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://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://pydantic.dev/models/select.md
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/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://pydantic.dev/models/mcp`. More: https://pydantic.dev/models/usage.md

About the benchmark: https://pydantic.dev/models/benchmarks/structured_output.md. The model on every Pydantic AI benchmark: https://pydantic.dev/models/list/mimo-v2.6-pro/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time    |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | ------- |
| Tool calling | 80%   | 8 of 10      | $0.14 | 16       | 10         | 5.7 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

MiMo v2.6 Pro passed 8 of 10 cases, all in tool-calling mode. The total cost was about $0.14. Its extraction of figures is strong. Both failures came from something other than reading numbers: one was a misclassified `accounts_type`, the other an output-format failure.

#### Where it does well

- **Accurate figures.** In both failed cases the figures it produced matched the expected ones. All 8 passes had every checked figure right, across group and parent companies, £000 scaling and bracket signs (for example the tax credits `-138000` and `-571000`, and large deficits on the profit and loss reserve).
- **Separating the entities.** It kept the group and parent statements apart in all 5 tier 3 to 5 cases, and categorised the creditor notes correctly in tier 4.
- **Self-checking.** Its reasoning re-adds subtotals such as operating profit, interest and profit before tax before it answers.
- **Speed.** 6 cases were done in a single request.

#### Mistakes it makes

- **Unreliable tool calls (4 cases).** In tier2-11600506 it wrote `<tool_call><accounts>…</accounts>` as XML text in all 4 replies. Each time it was nudged it said it had already called the tool, and the run ran out of retries even though its figures were correct. In tier1-07054261 its first reply was a Markdown table rather than a tool call. tier4-05840865 and tier5-12026946 also took 2 requests, with the same conversation shape. Recovering after one nudge worked; failing to recover lost a case.
- **Misclassifying the accounts.** In tier1-07054261 it took 'reduced disclosure exemptions' to mean Section 1A small-company accounts. It returned `small` when the right answer was `full`, which failed an otherwise perfect extraction.
- **Reasoning and output disagree.** In tier2 it decided in its reasoning to use `null` for fields the accounts don't show, then still wrote `0` in its output.

## Runs

### tier1-07054261

**Tool calling: failed.** Every figure on the balance sheet and P&L for both years was right, but it returned `company.accounts_type` as `"small"` when the answer was `"full"`, so the case failed. Its first reply was plain text and it only called the `accounts` tool after the prompt 'Please include your response in a tool call.' ($0.014, 2 requests, 41 s)
- Right: All balance sheet figures for both years match, with signs right for deficits (`net_current_assets` -8967000, `profit_and_loss_reserve` -8457000)
- Right: Read the 2024 tax credit of 138 as `-138000` and took the dashes as 0 (`tax` 0 for 2025, `interest_receivable` 0 for 2024)
- Right: Multiplied the £000 figures by 1,000 correctly
- Right: Checked the totals in its reasoning: -940 + 16 - 3 = -927
- Mistake: Request 1: it took 'reduced disclosure exemptions' to mean FRS 102 Section 1A and labelled the accounts `small`. Those exemptions are not limited to small companies, and these were audited full accounts. It should have answered `full`
- Mistake: Request 1: it answered in Markdown text instead of calling the tool, which cost a second request

### tier1-11022760

**Tool calling: passed.** It made one tool call that got every checked field right, including `called_up_share_capital` 0 and negative net assets. ($0.0086, 1 requests, 38 s)
- Right: Done in 1 request
- Right: Placed `creditors_after_one_year` correctly in both years (104000 and 46695000)
- Right: Got the prior-year `tax` 632000 right, a charge against a pre-tax loss

### tier2-11600506

**Tool calling: error.** All four replies wrote the answer as text in the form `<tool_call><accounts>...</accounts>` instead of making a real tool call. The run stopped with 'Exceeded maximum output retries (3)'. ($0.016, 4 requests, 16 s)
- Right: The figures in its text match the expected ones (`net_current_assets` -6090208, `profit_before_tax` 953487, `tax` 432692)
- Right: Its reasoning noticed that fields not shown should be `null`, not 0
- Mistake: Requests 1 to 4: it put the tool call in the text as XML each time. After each 'Please include your response in a tool call.' it said 'I already made the call' and printed the same text again, without making a structured call
- Mistake: Its reasoning said it would use `null` for `investments`, `share_premium` and `distribution_costs`, but the text it then wrote still had `0`

### tier2-SC121467

**Tool calling: passed.** It passed in a single tool call with correct group figures, including the prior-year tax credit of `-571000`. ($0.010, 1 requests, 6 s)
- Right: Done in 1 request
- Right: Signs right for the prior-year loss and tax credit

### tier3-05959188

**Tool calling: passed.** It passed in one call and kept the group and parent company balance sheets apart for both years. ($0.014, 1 requests, 4 s)
- Right: Kept group and parent figures separate, e.g. parent `investments` 2467 against the group's `null`
- Right: Got the large deficits right

### tier3-09727592

**Tool calling: passed.** It passed in one call, with group and parent balance sheets correct, including the parent's positive net assets in the prior year. ($0.0100, 1 requests, 5 s)
- Right: Done in 1 request
- Right: Group and parent figures correct for both years

### tier4-05840865

**Tool calling: passed.** It passed: staff costs and the breakdown of creditors are correct for the group and the parent. It took 2 requests, and the conversation has the same 5-message shape as tier1, which points to a text first reply before the tool call. ($0.026, 2 requests, 2.2 min)
- Right: Put each creditor in the right category and due date, with prior-year amounts
- Right: Staff cost totals right for both entities
- Mistake: It probably needed a second request to make the tool call (the conversation has 5 messages)

### tier4-NI626135

**Tool calling: passed.** It passed in one call with the full creditor breakdown and staff costs for the group and the parent. ($0.011, 1 requests, 17 s)
- Right: Done in 1 request
- Right: Recorded the after-one-year bank loan as 0 against a prior of 5836, rather than leaving it out

### tier5-12026946

**Tool calling: passed.** It passed the largest case in the set (company details, directors, both balance sheets, P&L, staff costs, creditors) in 2 requests. The conversation has 5 messages, which again points to a text reply first. ($0.013, 2 requests, 27 s)
- Right: All directors listed
- Right: Parent equity correct alongside the group's negative profit and loss reserve
- Mistake: It probably needed a second request to make the tool call

### tier5-NI037684

**Tool calling: passed.** It passed in one call and got the `medium` accounts type and the full group and parent extraction right. ($0.014, 1 requests, 55 s)
- Right: Classed the accounts as `medium` correctly
- Right: Done in 1 request
- Mistake: It returned group `fixed_assets` as `null`, though only tangible assets were present. This field was not checked
