---
title: "GPT-6 Luna 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.4%, code mode 54.8% over four benchmarks; rank 27 of 32."
canonical: https://models.pydantic.dev/models/gpt-6-luna/pydantic_ai/
---

# GPT-6 Luna 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.4%, code mode 54.8% over four benchmarks; rank 27 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/gpt-6-luna/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-luna.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.4%        | –         |
| Score, the four with a code mode run | 55.1%        | 54.8%     |
| Cost per task, all six               | $0.0078      | –         |
| Cost per task, the four              | $0.011       | $0.012    |

## 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)  | 40%          | 80%       | +40    | $0.0043       | $0.0034                  | 31 of 32 | https://models.pydantic.dev/models/gpt-6-luna/accounting_platform.md |
| [Pydantic AI Support Inbox](https://models.pydantic.dev/benchmarks/support_inbox.md)     | 30%          | 40%       | +10    | $0.0013       | $0.0020                  | 26 of 32 | https://models.pydantic.dev/models/gpt-6-luna/support_inbox.md       |
| [Pydantic AI Transit Planner](https://models.pydantic.dev/benchmarks/transit_planner.md) | 80%          | 40%       | −40    | $0.018        | $0.028                   | 15 of 32 | https://models.pydantic.dev/models/gpt-6-luna/transit_planner.md     |
| [Pydantic AI Seed Deck](https://models.pydantic.dev/benchmarks/seed_deck.md)             | 70.4%        | 59.3%     | −11.1  | $0.020        | $0.015                   | 24 of 32 | https://models.pydantic.dev/models/gpt-6-luna/seed_deck.md           |
| [Pydantic AI Companies House](https://models.pydantic.dev/benchmarks/companies_house.md) | 90%          | –         | –      | $0.0027       | –                        | 14 of 32 | https://models.pydantic.dev/models/gpt-6-luna/companies_house.md     |
| [Pydantic AI Judge Accuracy](https://models.pydantic.dev/benchmarks/judge_accuracy.md)   | 40%          | –         | –      | $0.0006       | –                        | 29 of 32 | https://models.pydantic.dev/models/gpt-6-luna/judge_accuracy.md      |

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
The model's pass rate depends on the task and the mode. Tool calling did well on document extraction (companies_house 90%) and transit_planner (80%). Code mode did better on accounting_platform (80% against 40%) because it computed and matched records in Python. Its main recurring weaknesses are stopping after a sample of the data, accepting checks or answers it should have questioned, and asking too few clarifying questions.

#### Strengths
- In companies_house it scaled £000 filings correctly, handled bracketed signs, and kept near-identical group and parent columns apart, including two tier 5 cases with roughly 150 fields each.
- In accounting_platform it passed all write tasks in both modes, with correct operation order, today's date, and oldest-due-first payment allocation net of existing allocations.
- In seed_deck both decks passed `check_deck` on the first write and used no planted values, with caveats added for unaudited figures.
- In transit_planner it modelled previous-service-day shifts, repeat runs, walk limits and change margins correctly, and caught its own errors such as a 439 m walk and negative arrival times.
- In judge_accuracy it disagreed with the majority only once in 24 key-point verdicts and checked replies against account data such as an empty integrations list.

#### Weaknesses
- In accounting_platform tool mode it opened only 1, 11 and 4 of 384 invoices on the large audits before answering, and it summed margins by hand incorrectly (118,416 vs 120,741).
- In transit_planner it tested for untimed calls with `=''` instead of `IS NULL`, so it skipped interpolation in 6 runs, 5 of which failed.
- In judge_accuracy it was too strict on `no_false_promise`, treating ordinary statements and offers as promises, which caused 4 of its 6 failures.
- In seed_deck it asked the founder one or two questions, all before reading the data room, and in code mode it guessed colours and slide order instead of asking.
- In companies_house its one failure came from subtracting a director-loan figure mentioned in narrative text instead of returning the line as printed.

#### Tool calling compared with code mode
- In accounting_platform code mode passed 80% against 40% with tools, because arithmetic and matching ran in Python and all invoices were fetched in batches, and it was also cheaper ($0.034 vs $0.043).
- In transit_planner code mode passed half as often (40% vs 80%) at about 1.5 times the cost, mostly because it wrapped single SQL calls and hit sandbox memory, nested-call and timeout limits.
- In seed_deck code mode scored lower on the brief (59% vs 70%) because it asked one question instead of two, though it cost less and checked figures with SQL.
- Across accounting_platform and transit_planner the 100-nested-call sandbox limit was hit repeatedly on large data, forcing resets and re-fetches.
- In companies_house and judge_accuracy only tool calling was run, each case taking a single request.
