---
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 19 of 44."
canonical: https://pydantic.dev/models/list/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 19 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gpt-6.2-astra/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/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://pydantic.dev/models/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 - Billing ops](https://pydantic.dev/models/benchmarks/billing_ops.md)             | 70%          | 100%      | +30    | $0.55         | $0.065                   | 21 of 44 | https://pydantic.dev/models/list/gpt-6.2-astra/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 40%          | 40%       | ±0     | $0.10         | $0.096                   | 22 of 44 | https://pydantic.dev/models/list/gpt-6.2-astra/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 100%         | 100%      | ±0     | $0.20         | $0.17                    | 1 of 44  | https://pydantic.dev/models/list/gpt-6.2-astra/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 96.3%        | 78.5%     | −17.8  | $0.90         | $0.63                    | 1 of 44  | https://pydantic.dev/models/list/gpt-6.2-astra/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 90%          | –         | –      | $0.20         | –                        | 15 of 44 | https://pydantic.dev/models/list/gpt-6.2-astra/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 30%          | –         | –      | $0.033        | –                        | 43 of 44 | https://pydantic.dev/models/list/gpt-6.2-astra/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 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 SQL data analysis and 9 of 10 in Structured output. Billing ops tool-calling audits failed when it sampled records instead of checking all of them. In LLM Judge it was stricter than the reference judges and passed 3 of 10 cases.

#### Strengths
- In SQL data analysis 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 SQL data analysis it re-ran searches bounded by its candidate answer, which in one tool-calling case corrected `meeting_point` from 33780 to 33701.
- In Structured output it completed each case in a single request with no validation errors, with £000 scaling, signs, and group-versus-parent figures handled correctly.
- In Billing ops single-record lookups, writes and margin cases passed in both modes in 2 to 5 requests, with correct allocation order and rounding.
- In Research & deck both modes computed figures from DuckDB tables, used the restated September revenue, and read the kit price from a scanned PDF.

#### Weaknesses
- In Billing ops 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 LLM Judge 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 Structured output 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 Research & 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 SQL data analysis 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 Billing ops code mode passed all four audit cases by loading every record in batches, at $0.38 against $5.12 for tool calling.
- In SQL data analysis 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 Research & deck tool calling produced the deck that followed the founder's brief more closely but cost 43% more ($0.90 against $0.63).
- In Billing ops 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`.
