---
title: "Qwen3.5 Plus 2026-04-20 on Pydantic AI - Structured output"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 50%; rank 39 of 44."
canonical: https://pydantic.dev/models/list/qwen3.5-plus-20260420/structured_output/
---

# Qwen3.5 Plus 2026-04-20 on Pydantic AI - Structured output

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

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | -------- |
| Tool calling | 50%   | 5 of 10      | $0.23 | 10       | 10         | 14.2 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

Qwen3.5-plus passed 5 of 10 cases. Every case used exactly one request and cost $0.018–0.033, and the model never retried. It read the figures well. Its failures came from what it put in the final `accounts` tool call, not from misreading the accounts.

#### Where it does well

- **Simpler cases:** it passed the tier 1–2 single-company and group statements (3 of 4) and both tier 4 note-extraction cases (staff costs and creditor breakdowns for group and parent).
- **Rules:** it scaled £000 figures by 1,000 and got brackets and signs right everywhere, including tax credits (`-571000`, `-138000`, `-51830`).
- **Group vs parent:** it kept the two sets of figures apart.
- **Reading the documents:** in every failed case, its reasoning drafted the correct numbers.

#### Mistakes it makes

- **Dropped fields in the final call (2 cases):** tier2-SC121467 and tier3-09727592. The reasoning held complete balance sheets, but the tool arguments kept only the equity lines (share capital, share premium, P&L reserve, shareholders' funds). Assets, current assets, creditors and net assets defaulted to null. Its reasoning ended with loops like "Output matches function call… Proceeds" and never checked the emitted JSON against the draft.
- **Missing sub-fields (1 case):** tier5-12026946 sent every creditor entry without `prior_amount`.
- **Nulling printed subtotals (2 cases):**
  - tier3-05959188: it took "do not compute a figure" as a reason to null `fixed_assets` and `current_assets`, even though it had seen "Total current assets: 7,840,295" on the face of the balance sheet.
  - tier5-NI037684: it nulled `fixed_assets` despite noting the total. It also took `investment_property` from a note when the balance sheet shows only tangible assets.
- **No recovery:** none of the failures produced a validation error, so the model never got feedback and never went back to fix anything.

So all five failures are omissions or nulls. None are wrong numbers. The model would do much better if it compared its final JSON with its draft field by field before calling the tool.

## Runs

### tier1-07054261

**Tool calling: passed.** It extracted the single-company balance sheet and P&L in £000, multiplied by 1,000, in one `accounts` call. Passed. ($0.023, 1 requests, 74 s)
- Right: Scaled the £000 figures correctly
- Right: Signs were right for the deficits and for the prior-year tax credit (`-138000`)

### tier1-11022760

**Tool calling: passed.** Got the full balance sheet and P&L right in one call. Passed. ($0.021, 1 requests, 83 s)
- Right: Called-up share capital of `0` returned correctly
- Right: Prior-year `total_assets_less_current_liabilities` was positive (`26107000`) while net assets were negative, and both were right

### tier2-11600506

**Tool calling: passed.** Got the group balance sheet and P&L for both years right in one call. Passed. ($0.018, 1 requests, 63 s)
- Right: Exact pound figures, including the very small `interest_receivable` of `91`

### tier2-SC121467

**Tool calling: failed.** Its reasoning had a full group balance sheet (£000 ×1,000), but the `accounts` arguments kept only share capital, the P&L reserve and shareholders' funds. Fixed assets, cash, current assets, creditors and net assets all came back null. Failed. ($0.022, 1 requests, 84 s)
- Right: The P&L for both years was correct, including the `-571000` tax credit
- Right: It drafted the right balance-sheet values in its reasoning (e.g. `current_assets` 13197000, `net_current_assets` 4393000)
- Mistake: In the final tool call it left out about 15 balance-sheet fields per year that it had already drafted. The emitted JSON should have matched the draft.
- Mistake: It wrote 'Output generation… Proceeds' over and over but never compared the actual call against the draft

### tier3-05959188

**Tool calling: failed.** Got most group and parent figures right, but deliberately set `fixed_assets` and `current_assets` to null for both entities and both years, even though the accounts show those subtotals. Failed. ($0.023, 1 requests, 79 s)
- Right: Net, deficit and reserve signs were correct
- Right: Parent and group were kept apart correctly
- Mistake: Its reasoning read 'Do not compute a figure the accounts do not show' as a reason to null out subtotals that are printed on the balance sheet (it even noted 'Total current assets: 7,840,295'). It should have taken the printed totals.

### tier3-09727592

**Tool calling: failed.** Its reasoning drafted every balance-sheet line for group and parent, both years, and checked them twice. The `accounts` call then sent only share capital, share premium, the P&L reserve and shareholders' funds, so everything else came back null. Failed. ($0.020, 1 requests, 75 s)
- Right: The figures drafted in its reasoning matched the expected values (e.g. parent `investments` 40275, group `cash` 2720339)
- Mistake: The final tool call dropped about 15 fields per balance sheet that were in its draft. It had written 'Output matches function call' without checking.

### tier4-05840865

**Tool calling: passed.** Staff costs and creditor breakdowns for group and parent, current and prior year, all came back right. Passed. ($0.020, 1 requests, 76 s)
- Right: Classified the creditors correctly, including zero rows such as `amounts_owed_to_group` 0
- Right: Kept the parent's separate after-one-year finance leases

### tier4-NI626135

**Tool calling: passed.** Got the creditor and staff-cost notes for group and parent right in one call. Passed. ($0.021, 1 requests, 76 s)
- Right: Included the after-one-year bank loans with `amount` 0 and `prior_amount` 5836

### tier5-12026946

**Tool calling: failed.** Company details, directors, balance sheets, P&L and staff costs were all correct. But every creditor entry for group and parent was sent without `prior_amount`, so they defaulted to null. Failed. ($0.032, 1 requests, 2.2 min)
- Right: The full consolidated and parent balance sheets were correct
- Right: The P&L and staff costs for both years were correct
- Mistake: In the `creditors` arrays it left out `prior_amount` on every entry, even though the note shows comparatives (e.g. accruals prior 11152486). It should have filled them in.

### tier5-NI037684

**Tool calling: failed.** Most figures were right. But `fixed_assets` was null for group and parent in both years, although its reasoning listed 'Fixed assets: 4,122,359'. It also split `investment_property` 523300 out of tangible assets using a note. Failed on the parent `fixed_assets` (3599359 / 3656398). ($0.027, 1 requests, 1.9 min)
- Right: The creditor notes with prior amounts, staff costs and the P&L were all correct
- Right: Parent and group figures were kept apart
- Mistake: It set `fixed_assets` to null in the final call even though the balance sheet shows the total
- Mistake: It took `investment_property` from note 15 when the balance sheet itself shows only tangible assets
