---
title: "Claude Opus 5.5 on Pydantic AI Combined"
description: "The mean of the six Pydantic AI benchmarks; code mode is compared over the four that have a code mode run. Tool calling 83.6%, code mode 85.5% over four benchmarks; rank 6 of 44."
canonical: https://pydantic.dev/models/list/claude-opus-5.5/pydantic_ai/
---

# Claude Opus 5.5 on Pydantic AI Combined

> The mean of the six Pydantic AI benchmarks; code mode is compared over the four that have a code mode run. Tool calling 83.6%, code mode 85.5% over four benchmarks; rank 6 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/claude-opus-5.5/pydantic_ai/. 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/pydantic_ai.md. The model's page: https://pydantic.dev/models/list/claude-opus-5.5.md

## Scores

Cost is the mean cost of one task. Code mode is compared with tool calling over the four benchmarks run in both modes (https://pydantic.dev/models/codemode.md).

|                                      | Tool calling | Code mode |
| ------------------------------------ | ------------ | --------- |
| Score, all six benchmarks            | 83.6%        | –         |
| Score, the four with a code mode run | 85.5%        | 85.5%     |
| Cost per task, all six               | $0.36        | –         |
| Cost per task, the four              | $0.50        | $0.35     |

## Each benchmark

| Benchmark                                                                                      | Tool calling | Code mode | Change | Cost per task | Cost per task, code mode | Rank     | Runs                                                                  |
| ---------------------------------------------------------------------------------------------- | ------------ | --------- | ------ | ------------- | ------------------------ | -------- | --------------------------------------------------------------------- |
| [Pydantic AI - Billing ops](https://pydantic.dev/models/benchmarks/billing_ops.md)             | 90%          | 100%      | +10    | $0.66         | $0.065                   | 4 of 44  | https://pydantic.dev/models/list/claude-opus-5.5/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 60%          | 60%       | ±0     | $0.089        | $0.12                    | 3 of 44  | https://pydantic.dev/models/list/claude-opus-5.5/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 100%         | 90%       | −10    | $0.26         | $0.18                    | 1 of 44  | https://pydantic.dev/models/list/claude-opus-5.5/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 91.9%        | 91.9%     | ±0     | $0.99         | $1.02                    | 6 of 44  | https://pydantic.dev/models/list/claude-opus-5.5/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 90%          | –         | –      | $0.16         | –                        | 15 of 44 | https://pydantic.dev/models/list/claude-opus-5.5/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 70%          | –         | –      | $0.032        | –                        | 18 of 44 | https://pydantic.dev/models/list/claude-opus-5.5/llm_judge.md         |

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
Across five benchmarks the model scored 90–100% on data and planning tasks (Billing ops, SQL data analysis, Structured output, Research & deck) and 70% on LLM Judge, where its misses came from over-strict judging. Code mode was much cheaper on large data scans and fixed a shortcut that tool calling took on one audit, but its hand-written code introduced the only SQL data analysis failure. Most failures came from narrow habits: stopping early, treating a dash as a number, or reading 'strictly' too hard. They did not come from misreading large figures or from tool errors.

#### Strengths
- In Billing ops both modes got the void-and-reissue correction and the oldest-first payment split exactly right, and checked an earlier same-day payment before ruling out a duplicate.
- In Structured output it answered every case in a single request at $0.13–$0.20 each, applied bracket sign rules and £000 scaling correctly in all cases, and kept group and parent figures apart.
- In SQL data analysis tool calling it read DATA.md and implemented interpolation and round-based routing in SQL with window functions, passing 10 of 10 cases with optimal arrival times.
- In Research & deck both runs found the planted problems before asking the user: restated revenue, a supply minimum shortfall, and an unsigned agreement found via `view_pdf`. Both then asked one batched question list and produced decks that passed `check_deck` on the first try.
- In LLM Judge its verdicts cited specific slide numbers, invoice IDs and dates, and caught contradictions with account data such as an integration mention on an account with none.

#### Weaknesses
- In Billing ops tool calling on `large-wrong_invoices-1` it opened only 3 of 394 invoices and answered, missing 9 of 12 overcharges.
- In Structured output its only failure came from treating dash entries as values: it returned 100 for nil share capital and omitted a dashed prior-year line instead of returning 0.
- In LLM Judge all 3 failures were false negatives from applying 'strictly' harder than the reference judges, for example rejecting a reply that said 'some may' instead of 'most will'.
- In SQL data analysis code mode it anchored interpolation on computed times and used a 09:00 cutoff instead of 08:00, returning 24 journeys instead of 12 without sanity-checking the result.
- In Research & deck both runs left the ambiguous '12 signed' funnel figure unresolved, and both runs wasted steps, such as a full rewrite after `check_deck` returned ok.

#### Tool calling compared with code mode
- In Billing ops code mode was as accurate or better in every case and cost about $0.65 in total against $6.60 for tool calling, for example $0.05 against $2.45 on `large-duplicate_lines-1`.
- In SQL data analysis tool calling was more reliable (10/10 against 9/10), while code mode took about 28% fewer requests and cost $1.78 against $2.58.
- In SQL data analysis code mode also returned looser departure fields that the grader accepted only because the arrival times were correct.
- In Research & deck both modes passed at nearly equal cost ($0.99 against $1.02). Tool calling took 15 requests against 26 for code mode, which spent extra turns on sandbox limits such as unsupported `os.walk`.
