---
title: "Kimi K2.6 on Pydantic AI - Structured output"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 90%; rank 15 of 44."
canonical: https://pydantic.dev/models/list/kimi-k2.6/structured_output/
---

# Kimi K2.6 on Pydantic AI - Structured output

> Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 90%; rank 15 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/kimi-k2.6/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/kimi-k2.6/pydantic_ai.md

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

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

Kimi K2.6 passed 9 of the 10 cases. Every case was in tool-calling mode and every one finished in a single request, costing about $0.04–$0.09 each. The one failure, tier1-07054261, came from a single categorical field. All its numbers were correct.

#### Where it does well

- **Units and signs.** It converted £000 to pounds without error in every case. It followed the bracket rule each time: costs, creditors and interest payable came back positive; losses, deficits and tax credits came back negative (e.g. `tax` -138000 and -571000).
- **Group versus parent.** In all 4 cases that asked for both sets of figures (tier3 ×2, tier5 ×2) it kept the two apart, including small differences between them in NI037684.
- **Breakdowns in the notes.** In the 3 cases with a creditor breakdown (tier4 ×2, tier5-12026946) it put each line in the right category and `due` bucket, and returned 0 for comparatives shown as nil. Staff costs were right in all 4 cases that asked for them.
- **Classification.** In the two tier5 cases it got `accounts_type` (`full`, `medium`), `consolidated` and the directors right.

#### Mistakes it makes

- **Accounts regime (1 case, the only failure).** In tier1-07054261 it read the FRS 102 reduced-disclosure exemptions (cash flow statement, financial instruments and so on) as Section 1A small-company accounts and returned `small`. The filing had a Strategic Report and an audit report, both signs of `full`. Its reasoning raised `full` and then dropped it.
- **Computed figures.** In the same case it added two debtor lines into a total `debtors`, though the handbook says not to compute figures. That field was not graded.
- **Inconsistent use of 0 and null.** Some lines the accounts do not show came back as 0 (group intangibles in tier3-09727592); elsewhere a line that was present came back as null (group `fixed_assets` in NI037684). Neither field was graded, but the habit could cost marks on a stricter rubric.

None of the runs re-checked an answer. Each submitted once, so luck played no part in the passes.

## Runs

### tier1-07054261

**Tool calling: failed.** It made a single `accounts` call. Every balance sheet and P&L figure matched, multiplied correctly from £000, but `company.accounts_type` came back as `small` when the answer was `full`, so the case failed. ($0.041, 1 requests, 90 s)
- Right: Multiplied all £000 figures by 1,000 and got the signs right: it returned `operating_profit` -940000 and `tax` -138000 for the prior-year credit, and gave costs as positive amounts.
- Right: Took the restated 2024 comparatives and returned 0 for lines shown with a dash (`tax` 2025, `interest_receivable` 2024).
- Right: Left the share-based payment reserve out, because the schema has no field for it, and still gave the correct `shareholders_funds` of -6187000.
- Mistake: In its reasoning before the only tool call, it read the note 'taken advantage of the following disclosure exemptions … as permitted by FRS 102' (the reduced disclosure framework for qualifying entities, often subsidiaries) as FRS 102 Section 1A small-entity accounts. It labelled them `small` even though the filing has a Strategic Report, an independent auditor's report and a full Statement of Financial Position, which point to `full`. It had considered `full` and dropped it.
- Mistake: It worked out `debtors` (9792000) by adding the after-one-year and within-one-year lines, which goes against 'do not compute a figure the accounts do not show'. That field was not graded.

### tier1-11022760

**Tool calling: passed.** It made one `accounts` call and every graded field was right, including `called_up_share_capital` 0 and a P&L laid out with other operating income. ($0.059, 1 requests, 3.1 min)
- Right: Handled a balance sheet in £000 and a big swing between creditors due within and after one year in the prior year.
- Right: Gave `accounts_type` as `full` and `audited` as true.

### tier2-11600506

**Tool calling: passed.** It made one call and the group balance sheet and P&L for both years were right to the pound. ($0.050, 1 requests, 2.3 min)
- Right: Picked the consolidated figures, kept negative reserves and net assets negative, and returned interest receivable of 91 exactly.

### tier2-SC121467

**Tool calling: passed.** It made one call and every group figure matched, including the prior-year tax credit as -571000. ($0.038, 1 requests, 88 s)
- Right: Returned distribution costs and administrative expenses as positive amounts and the prior-year loss before tax as -1678000.

### tier3-05959188

**Tool calling: passed.** It made one call and kept the group and parent company balance sheets apart correctly for both years. ($0.038, 1 requests, 1.5 min)
- Right: Kept the parent's own investments (2467) and creditors after one year apart from the group's figures.

### tier3-09727592

**Tool calling: passed.** It made one call and every graded field passed, for both group and parent. ($0.059, 1 requests, 3.3 min)
- Right: Gave the parent's prior-year investments as 0 and caught the change in share capital and share premium between years.
- Mistake: It returned 0 for group `intangible_assets` and `investments` where the expected answer leaves those lines out (null would be the faithful value). They were not graded, so this did no harm.

### tier4-05840865

**Tool calling: passed.** It made one call. Staff costs and the creditor breakdown by category were right for group and parent, including the zero rows. ($0.058, 1 requests, 3.0 min)
- Right: Put each creditor line in the right category and `due` value, including after-one-year finance leases, and returned 0 where the comparative was shown as nil.

### tier4-NI626135

**Tool calling: passed.** It made one call and the creditor breakdown and staff costs for group and parent were all correct. ($0.062, 1 requests, 3.2 min)
- Right: Split bank loans and finance leases between within and after one year correctly for both entities.

### tier5-12026946

**Tool calling: passed.** It made one call and got the full extraction right: company details, directors, group and parent statements, staff costs and creditors. ($0.087, 1 requests, 5.0 min)
- Right: Returned the directors with their titles, which the grader matched, and gave `consolidated` as true and `accounts_type` as `full`.

### tier5-NI037684

**Tool calling: passed.** It made one call and passed the full extraction, including the `medium` accounts type. ($0.055, 1 requests, 2.9 min)
- Right: Identified the `medium` regime and gave parent and group creditors separately where they differed slightly.
- Mistake: It returned group `fixed_assets` as null even though tangible assets were the only fixed asset. The field was not graded.
