---
title: "Claude Fable 5.1 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 91%, code mode 75.6% over four benchmarks; rank 1 of 32."
canonical: https://models.pydantic.dev/models/claude-fable-5.1/pydantic_ai/
---

# Claude Fable 5.1 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 91%, code mode 75.6% over four benchmarks; rank 1 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/claude-fable-5.1/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-fable-5.1.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            | 91%          | –         |
| Score, the four with a code mode run | 86.6%        | 75.6%     |
| Cost per task, all six               | $1.04        | –         |
| Cost per task, the four              | $1.42        | $1.02     |

## 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)  | 90%          | 80%       | −10    | $1.73         | $0.15                    | 2 of 32 | https://models.pydantic.dev/models/claude-fable-5.1/accounting_platform.md |
| [Pydantic AI Support Inbox](https://models.pydantic.dev/benchmarks/support_inbox.md)     | 60%          | 50%       | −10    | $0.31         | $0.40                    | 2 of 32 | https://models.pydantic.dev/models/claude-fable-5.1/support_inbox.md       |
| [Pydantic AI Transit Planner](https://models.pydantic.dev/benchmarks/transit_planner.md) | 100%         | 90%       | −10    | $1.00         | $0.77                    | 1 of 32 | https://models.pydantic.dev/models/claude-fable-5.1/transit_planner.md     |
| [Pydantic AI Seed Deck](https://models.pydantic.dev/benchmarks/seed_deck.md)             | 96.3%        | 82.2%     | −14.1  | $2.65         | $2.74                    | 1 of 32 | https://models.pydantic.dev/models/claude-fable-5.1/seed_deck.md           |
| [Pydantic AI Companies House](https://models.pydantic.dev/benchmarks/companies_house.md) | 100%         | –         | –      | $0.43         | –                        | 1 of 32 | https://models.pydantic.dev/models/claude-fable-5.1/companies_house.md     |
| [Pydantic AI Judge Accuracy](https://models.pydantic.dev/benchmarks/judge_accuracy.md)   | 100%         | –         | –      | $0.098        | –                        | 1 of 32 | https://models.pydantic.dev/models/claude-fable-5.1/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 passed most runs: 100% in tools mode on companies_house, judge_accuracy and transit_planner, 96% on seed_deck and 90% on accounting_platform, with code mode scoring lower on every benchmark where both modes ran. It handles focused calculations, structured extraction and checklist-style judgement reliably. Its failures cluster around completeness checks in exhaustive audits, displayed zeros versus missing values, and narrative or qualifier strictness. No provider failures were reported.

#### Strengths
- On accounting_platform, both modes passed all 16 runs outside the wrong-invoice audits, including oldest-first payment allocation and margin calculations with per-line half-up rounding.
- On companies_house, it passed 10/10 extraction cases with one submission each and no retries, separated group from parent figures, and scaled £000 figures correctly.
- On transit_planner, both modes recovered the same 12 departure/arrival frontier pairs and tour return times, and tools mode caught a nullable-join bug with `COALESCE(every,0)`.
- On judge_accuracy, it linked account facts to policy, such as a $1,990 refund requested 8 days after renewal and an empty `integrations` array contradicting claims.
- On seed_deck, both runs used correct revenue, rounded 77% YoY growth, retained a restatement, and visually inspected a scanned PDF when text extraction failed.

#### Weaknesses
- On accounting_platform, the large tools audit inspected only 67/384 invoice details, and both code audits omitted duplicate-line detection, returning 9/12 and 3/4 errors.
- On companies_house, four cases returned `null` or omitted rows where a dash denoted zero, and one case reported an aggregate debtors figure the accounts never showed.
- On judge_accuracy, it credited "some may" as meeting a "most" requirement and accepted "always" despite a 30-day deletion rule.
- On seed_deck, decks contained unsourced claims such as superior payload, and both final responses ignored the requested founder note.
- On transit_planner, all 10 tools runs hit SQL errors from unquoted `at`, and five code runs attempted unsupported `time.time()`.

#### Tool calling compared with code mode
- On accounting_platform, code mode cost $1.50 versus $17.30 (about 91% less) with 61 versus 81 requests, but scored 80% versus 90%.
- On transit_planner, code mode used about 29% fewer requests and cost about 23% less, but its one failure was a silent SQL data-loss bug that tools mode fixed.
- On seed_deck, code mode used 85% more requests and about 3.7% higher cost, and showed more self-review without changing the pass outcome.
- On accounting_platform, code-mode savings were concentrated in bulk inspection, such as duplicate detection at $0.12 versus $5.12.
- On companies_house and judge_accuracy, only tools mode was run, so they provide no comparison.
