---
title: "GPT-5.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 45.1%, code mode 53% over four benchmarks; rank 39 of 44."
canonical: https://pydantic.dev/models/list/gpt-5.6-luna/pydantic_ai/
---

# GPT-5.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 45.1%, code mode 53% over four benchmarks; rank 39 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gpt-5.6-luna/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-5.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://pydantic.dev/models/codemode.md).

|                                      | Tool calling | Code mode |
| ------------------------------------ | ------------ | --------- |
| Score, all six benchmarks            | 45.1%        | –         |
| Score, the four with a code mode run | 37.7%        | 53%       |
| Cost per task, all six               | $0.0093      | –         |
| Cost per task, the four              | $0.012       | $0.015    |

## 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)             | 30%          | 70%       | +40    | $0.0094       | $0.0050                  | 40 of 44 | https://pydantic.dev/models/list/gpt-5.6-luna/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 40%          | 50%       | +10    | $0.0033       | $0.0046                  | 22 of 44 | https://pydantic.dev/models/list/gpt-5.6-luna/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 20%          | 20%       | ±0     | $0.025        | $0.033                   | 30 of 44 | https://pydantic.dev/models/list/gpt-5.6-luna/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 60.7%        | 71.9%     | +11.2  | $0.012        | $0.018                   | 35 of 44 | https://pydantic.dev/models/list/gpt-5.6-luna/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 70%          | –         | –      | $0.0053       | –                        | 34 of 44 | https://pydantic.dev/models/list/gpt-5.6-luna/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 50%          | –         | –      | $0.0011       | –                        | 32 of 44 | https://pydantic.dev/models/list/gpt-5.6-luna/llm_judge.md         |

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
gpt-5.6-luna is a very cheap model (single-request cases cost about $0.001–0.006, and no accounting case exceeded $0.03) that handles simple lookups and short, well-defined tasks reliably. It falls short on work that needs exhaustive scanning, careful arithmetic, or checking its output before finishing. Scores ranged from 20% on SQL data analysis to 70% on Structured output. Code mode matched or beat tool calling on every benchmark that ran both modes.

#### Strengths
- On Structured output it converted £000 to pounds correctly in every case, kept group and parent figures separate in all tier-3/tier-5 cases, and passed every tier 2, 3 and 5 case in one request each.
- On Billing ops it completed the multi-step `large-correction-2` (update attendance, void, reissue) exactly in both modes and passed the simple lookups in 2–4 requests.
- On Research & deck it asked the founder one useful question up front, addressed the recall trap with the £58k cost and certificate, and got the use-of-funds, margin and YTD arithmetic right.
- On LLM Judge each verdict cited specific evidence, and it correctly flagged missing key points such as the absent refund timeline and the missing market slide.

#### Weaknesses
- On Billing ops in tools mode it abandoned large scans (about 130 of ~394 invoices, or only 3 opened) and returned `[]`, and it computed tutor margins mentally and got them wrong.
- On Research & deck both runs drew line charts from hand-written coordinates that hid the Jan/Feb 2026 revenue drop, skipped `view_pdf` on a scanned contract, and finished as soon as `check_deck` returned ok.
- On Structured output all 3 failures came from treating '-' lines as missing instead of 0, and in one case it derived a figure from narrative text that the accounts do not show.
- On SQL data analysis it filtered out untimed calls instead of interpolating, broke walk and transfer margins, and submitted empty or unverified answers when its search failed.
- On LLM Judge it was too strict on acceptable follow-up offers and paraphrased pitches, and too loose on slide position and on contradictions with account data.

#### Tool calling compared with code mode
- On Billing ops code mode scored 70% against 30%, fixing 3 tools failures by looping over all invoices in the sandbox and checking allocations before recording a payment, often at lower cost despite using more requests.
- On Research & deck code mode scored 72% against 61% and computed derived metrics correctly in SQL, but it skipped the investor updates that tools mode read and lost a turn to a sandbox error.
- On SQL data analysis both modes scored 20%, with code mode costing about 30% more; it rarely wrote a real routing algorithm and produced the largest errors (9000 s for 09:00, empty tours).
- Across these benchmarks code mode helped most when the task needed bulk data processing, and helped little when the task needed algorithm design or a review pass.
