---
title: "GPT-6 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 75.2%, code mode 80.8% over four benchmarks; rank 12 of 32."
canonical: https://models.pydantic.dev/models/gpt-6-astra/pydantic_ai/
---

# GPT-6 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 75.2%, code mode 80.8% over four benchmarks; rank 12 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/gpt-6-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-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            | 75.2%        | –         |
| Score, the four with a code mode run | 77.9%        | 80.8%     |
| Cost per task, all six               | $0.69        | –         |
| Cost per task, the four              | $0.96        | $0.49     |

## 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.82         | $0.15                    | 2 of 32  | https://models.pydantic.dev/models/gpt-6-astra/accounting_platform.md |
| [Pydantic AI Support Inbox](https://models.pydantic.dev/benchmarks/support_inbox.md)     | 40%          | 50%       | +10    | $0.13         | $0.12                    | 17 of 32 | https://models.pydantic.dev/models/gpt-6-astra/support_inbox.md       |
| [Pydantic AI Transit Planner](https://models.pydantic.dev/benchmarks/transit_planner.md) | 100%         | 100%      | ±0     | $0.50         | $0.40                    | 1 of 32  | https://models.pydantic.dev/models/gpt-6-astra/transit_planner.md     |
| [Pydantic AI Seed Deck](https://models.pydantic.dev/benchmarks/seed_deck.md)             | 81.5%        | 93.3%     | +11.8  | $1.38         | $1.30                    | 15 of 32 | https://models.pydantic.dev/models/gpt-6-astra/seed_deck.md           |
| [Pydantic AI Companies House](https://models.pydantic.dev/benchmarks/companies_house.md) | 90%          | –         | –      | $0.26         | –                        | 14 of 32 | https://models.pydantic.dev/models/gpt-6-astra/companies_house.md     |
| [Pydantic AI Judge Accuracy](https://models.pydantic.dev/benchmarks/judge_accuracy.md)   | 50%          | –         | –      | $0.044        | –                        | 21 of 32 | https://models.pydantic.dev/models/gpt-6-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 scored strongly on rule-heavy computation and extraction (transit_planner 100% in both modes, companies_house 90%, accounting_platform 90% tools / 80% code mode, seed_deck 81% tools / 93% code mode) and weakly on calibrated judgment (judge_accuracy 50%). Runs had no provider failures, and most failures came from incomplete audit logic or borderline interpretation, not execution errors. Code mode cut cost substantially on bulk-data tasks but did not raise pass rates.

#### Strengths
- In accounting_platform, both modes passed all payment, debt, correction and margin cases, including oldest-due-first allocation, integer-pence conversion and explicit `ROUND_HALF_UP` handling.
- In transit_planner, all 20 runs reached optimal answers on complex objectives such as backward latest-departure routing, two-person meetings and tours with opening windows.
- In companies_house, it kept group and parent figures and comparative periods separate, converted `£000` amounts correctly, and chose the lease liability over a nearby future-payment figure.
- In seed_deck, both runs reconciled conflicting revenue evidence, fell back to `view_pdf` when text extraction failed, and passed `check_deck` on the first call.
- In judge_accuracy, it extracted concrete evidence accurately and caught location mismatches, such as milestones on slide 7 not meeting a last-slide requirement.

#### Weaknesses
- In accounting_platform, only one of four general overcharge audits passed, because runs checked attendance selectively or did not enforce one charge per student per lesson.
- In judge_accuracy, it agreed with the references on only 3 of 7 support reviews, and its misses came from literal readings of semantic coverage and assurances.
- In transit_planner, all 20 runs first used unquoted `at` in SQL and needed to recover from parser errors, and four more syntax errors followed.
- In companies_house, a passing run left group `investment_property` as `null` even though a note disclosed the value, so unchecked fields can still be wrong.
- In seed_deck, both modes gathered evidence they never used, such as unused market pages and extra calculated metrics.

#### Tool calling compared with code mode
- In accounting_platform, code mode cost $1.4627 against $18.1597 for tools (about 92% less) with half the model requests, but passed one fewer case.
- In accounting_platform, the largest savings came on bulk scans, with duplicate detection falling from $4.4135 to $0.1701, while small lookups sometimes cost more in code mode.
- In transit_planner, code mode used 22.9% fewer requests and cost 20.2% less, yet one tour run still made 325 paginated SQL reads.
- In seed_deck, code mode used 60% more requests than tools but cost about 5.9% less, and neither mode needed validation fixes.
- In transit_planner, tools mode bundled several `SELECT`s of which only the last returned, while code mode sometimes ran fixed iteration counts past convergence.
