---
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 26 of 32."
canonical: https://models.pydantic.dev/models/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 26 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/claude-haiku-5.5/pydantic_ai/. Index for agents: https://models.pydantic.dev/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://models.pydantic.dev/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://models.pydantic.dev/select.md
- Search models by name: `GET https://models.pydantic.dev/api/search?query=<text>`
- List, filter and sort models: `GET https://models.pydantic.dev/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://models.pydantic.dev/api/models/<slug>`
- Any other question about the models: `GET https://models.pydantic.dev/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://models.pydantic.dev/mcp`. More: https://models.pydantic.dev/usage.md

About the benchmark: https://models.pydantic.dev/benchmarks/pydantic_ai.md. The model's page: https://models.pydantic.dev/models/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://models.pydantic.dev/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 Accounting](https://models.pydantic.dev/benchmarks/accounting_platform.md)  | 60%          | 80%       | +20    | $0.013        | $0.0056                  | 27 of 32 | https://models.pydantic.dev/models/claude-haiku-5.5/accounting_platform.md |
| [Pydantic AI Support Inbox](https://models.pydantic.dev/benchmarks/support_inbox.md)     | 30%          | 50%       | +20    | $0.0029       | $0.0031                  | 26 of 32 | https://models.pydantic.dev/models/claude-haiku-5.5/support_inbox.md       |
| [Pydantic AI Transit Planner](https://models.pydantic.dev/benchmarks/transit_planner.md) | 80%          | 80%       | ±0     | $0.029        | $0.037                   | 15 of 32 | https://models.pydantic.dev/models/claude-haiku-5.5/transit_planner.md     |
| [Pydantic AI Seed Deck](https://models.pydantic.dev/benchmarks/seed_deck.md)             | 73.3%        | 83%       | +9.7   | $0.035        | $0.023                   | 23 of 32 | https://models.pydantic.dev/models/claude-haiku-5.5/seed_deck.md           |
| [Pydantic AI Companies House](https://models.pydantic.dev/benchmarks/companies_house.md) | 60%          | –         | –      | $0.0048       | –                        | 28 of 32 | https://models.pydantic.dev/models/claude-haiku-5.5/companies_house.md     |
| [Pydantic AI Judge Accuracy](https://models.pydantic.dev/benchmarks/judge_accuracy.md)   | 50%          | –         | –      | $0.0011       | –                        | 21 of 32 | https://models.pydantic.dev/models/claude-haiku-5.5/judge_accuracy.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 (accounting_platform 60%/80%, seed_deck 73%/83%, transit_planner 80%/80%, companies_house 60% tools only, judge_accuracy 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 companies_house, 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 accounting_platform, 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 seed_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 transit_planner, every run read `DATA.md` first, and seven question types passed in both modes with identical arrival times.
- In judge_accuracy, 22 of 23 factual key-point verdicts matched the reference majority, and output was valid with one-sentence reasons every time.

#### Weaknesses
- In accounting_platform 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 companies_house, 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 judge_accuracy, all 6 disagreements were false negatives, half of them from treating offers of follow-up as unsupported promises under `no_false_promise`.
- In transit_planner, 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 seed_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 accounting_platform, 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 accounting_platform, tool calling passed `small-tutor_margin-3` and `small-wrong_invoices-1`, which code mode failed through unchecked bugs in its own scripts.
- In seed_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 transit_planner, 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 accounting_platform, seed_deck and transit_planner, code mode lost requests to sandbox mechanics such as missing imports, `heapq`, the nested-call cap and a session reset.
