---
title: "GPT-6.2 Astra 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 71%, code mode 79.6% over four benchmarks; rank 17 of 32."
canonical: https://models.pydantic.dev/models/gpt-6.2-astra/pydantic_ai/
---

# GPT-6.2 Astra 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 71%, code mode 79.6% over four benchmarks; rank 17 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/gpt-6.2-astra/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/gpt-6.2-astra.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            | 71%          | –         |
| Score, the four with a code mode run | 76.6%        | 79.6%     |
| Cost per task, all six               | $0.33        | –         |
| Cost per task, the four              | $0.44        | $0.24     |

## 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)  | 70%          | 100%      | +30    | $0.55         | $0.065                   | 19 of 32 | https://models.pydantic.dev/models/gpt-6.2-astra/accounting_platform.md |
| [Pydantic AI Support Inbox](https://models.pydantic.dev/benchmarks/support_inbox.md)     | 40%          | 40%       | ±0     | $0.10         | $0.096                   | 17 of 32 | https://models.pydantic.dev/models/gpt-6.2-astra/support_inbox.md       |
| [Pydantic AI Transit Planner](https://models.pydantic.dev/benchmarks/transit_planner.md) | 100%         | 100%      | ±0     | $0.20         | $0.17                    | 1 of 32  | https://models.pydantic.dev/models/gpt-6.2-astra/transit_planner.md     |
| [Pydantic AI Seed Deck](https://models.pydantic.dev/benchmarks/seed_deck.md)             | 96.3%        | 78.5%     | −17.8  | $0.90         | $0.63                    | 1 of 32  | https://models.pydantic.dev/models/gpt-6.2-astra/seed_deck.md           |
| [Pydantic AI Companies House](https://models.pydantic.dev/benchmarks/companies_house.md) | 90%          | –         | –      | $0.20         | –                        | 14 of 32 | https://models.pydantic.dev/models/gpt-6.2-astra/companies_house.md     |
| [Pydantic AI Judge Accuracy](https://models.pydantic.dev/benchmarks/judge_accuracy.md)   | 30%          | –         | –      | $0.033        | –                        | 31 of 32 | https://models.pydantic.dev/models/gpt-6.2-astra/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 was strong on structured extraction and rule-heavy computation, and weak on full-coverage audits in tool calling and on judging tasks. It passed every case in transit_planner and 9 of 10 in companies_house. accounting_platform tool-calling audits failed when it sampled records instead of checking all of them. In judge_accuracy it was stricter than the reference judges and passed 3 of 10 cases.

#### Strengths
- In transit_planner it passed 20 of 20 runs, read `/data/DATA.md` first, and encoded the interpolation, repeat-expansion and walk-margin rules directly in DuckDB SQL.
- In transit_planner it re-ran searches bounded by its candidate answer, which in one tool-calling case corrected `meeting_point` from 33780 to 33701.
- In companies_house it completed each case in a single request with no validation errors, with £000 scaling, signs, and group-versus-parent figures handled correctly.
- In accounting_platform single-record lookups, writes and margin cases passed in both modes in 2 to 5 requests, with correct allocation order and rounding.
- In seed_deck both modes computed figures from DuckDB tables, used the restated September revenue, and read the kit price from a scanned PDF.

#### Weaknesses
- In accounting_platform tool calling, all 3 failures came from sampling: in one case it opened 4 of 384 invoices and returned 3 of 12 rows with no caveat.
- In judge_accuracy all 9 disagreements with the reference-judge majority were false "no" verdicts, 5 of them from treating offers to help as promises under `no_false_promise`.
- In companies_house it took share capital from a note instead of the balance sheet line, and it often returned 0 where `null` may have been expected.
- In seed_deck code mode it asked the founder narrower questions, so the deck ignored stated slide-order and typography preferences and labelled an October-only gross margin loosely.
- In transit_planner it made SQL slips that needed resends: 7 failed statements in tools mode, and repeated bundling of several SELECTs where only the last result came back.

#### Tool calling compared with code mode
- In accounting_platform code mode passed all four audit cases by loading every record in batches, at $0.38 against $5.12 for tool calling.
- In transit_planner both modes scored 10/10, and code mode was about 16% cheaper with 28% fewer requests, while tool calling applied slightly better tie-breaks.
- In seed_deck tool calling produced the deck that followed the founder's brief more closely but cost 43% more ($0.90 against $0.63).
- In accounting_platform code mode wasted one request in each of the 4 invoice audit cases on a type-check failure from passing a dict to `list_invoices`.
