---
title: "Claude Haiku 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 58.9%, code mode 73.2% over four benchmarks; rank 30 of 44."
canonical: https://pydantic.dev/models/list/claude-haiku-5.5/pydantic_ai/
---

# Claude Haiku 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 58.9%, code mode 73.2% over four benchmarks; rank 30 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/claude-haiku-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-haiku-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            | 58.9%        | –         |
| Score, the four with a code mode run | 60.8%        | 73.2%     |
| Cost per task, all six               | $0.014       | –         |
| Cost per task, the four              | $0.020       | $0.017    |

## 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)             | 60%          | 80%       | +20    | $0.013        | $0.0056                  | 31 of 44 | https://pydantic.dev/models/list/claude-haiku-5.5/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 30%          | 50%       | +20    | $0.0029       | $0.0031                  | 33 of 44 | https://pydantic.dev/models/list/claude-haiku-5.5/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 80%          | 80%       | ±0     | $0.029        | $0.037                   | 16 of 44 | https://pydantic.dev/models/list/claude-haiku-5.5/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 73.3%        | 83%       | +9.7   | $0.035        | $0.023                   | 27 of 44 | https://pydantic.dev/models/list/claude-haiku-5.5/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 60%          | –         | –      | $0.0048       | –                        | 35 of 44 | https://pydantic.dev/models/list/claude-haiku-5.5/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 50%          | –         | –      | $0.0011       | –                        | 32 of 44 | https://pydantic.dev/models/list/claude-haiku-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 50–80% with tool calling and 80–83% in code mode where both were run (Billing ops 60%/80%, Research & deck 73%/83%, SQL data analysis 80%/80%, Structured output 60% tools only, LLM Judge 50% tools only). It handles small lookups, write workflows and data transcription reliably at low cost per case. Its failures are mostly rule slips, incomplete coverage on large data sets, and few checks of its own answers.

#### Strengths
- In Structured output, every figure placed in a correctly named field matched the accounts apart from scale, including a 130-field case, and group and parent columns were kept apart in all tier 3 and tier 4 cases.
- In Billing ops, small lookups passed in both modes in 2–4 requests at about $0.001, and `large-correction-2` passed in both modes with the right write order and dates.
- In Research & deck, both modes found the planted traps (restated revenue, recall, 250-kit minimum) and fell back to `view_pdf` when a PDF had no text layer.
- In SQL data analysis, every run read `DATA.md` first, and seven question types passed in both modes with identical arrival times.
- In LLM Judge, 22 of 23 factual key-point verdicts matched the reference majority, and output was valid with one-sentence reasons every time.

#### Weaknesses
- In Billing ops with tool calling, it sampled 1–10 of 384 invoices on three audit cases and answered as if it had finished, twice returning empty ID lists.
- In Structured output, it ignored `£000` headings in 3 of 4 failures, returning `1687` instead of `1687000`, and it never checked units or field names in its single request per case.
- In LLM Judge, all 6 disagreements were false negatives, half of them from treating offers of follow-up as unsupported promises under `no_false_promise`.
- In SQL data analysis, the `tour` search left out legal moves in both modes, and the model accepted implausible results such as a departure before the stated start.
- In Research & deck with tool calling, it miscounted customers by eye (16 active against 17) and asked the founder no questions about style or branding.

#### Tool calling compared with code mode
- In Billing ops, code mode passed all three large audit cases that tool calling failed, because its loops fetched every invoice, and it cost $0.056 against $0.136.
- In Billing ops, tool calling passed `small-tutor_margin-3` and `small-wrong_invoices-1`, which code mode failed through unchecked bugs in its own scripts.
- In Research & deck, code mode counted customers with SQL `group by` and passed `check_deck` the first time, while tool calling miscounted and had to rewrite a 23,000-character SVG.
- In SQL data analysis, pass rates were equal, and code mode used fewer requests on 9 of 10 cases, but sandbox limits pushed `tour` to 60 requests and $0.19.
- Across Billing ops, Research & deck and SQL data analysis, code mode lost requests to sandbox mechanics such as missing imports, `heapq`, the nested-call cap and a session reset.
