---
title: "Gemini 4 Argon 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 89.8%, code mode 82.2% over four benchmarks; rank 2 of 44."
canonical: https://pydantic.dev/models/list/gemini-4-argon/pydantic_ai/
---

# Gemini 4 Argon 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 89.8%, code mode 82.2% over four benchmarks; rank 2 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gemini-4-argon/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/gemini-4-argon.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            | 89.8%        | –         |
| Score, the four with a code mode run | 87.2%        | 82.2%     |
| Cost per task, all six               | $0.42        | –         |
| Cost per task, the four              | $0.61        | $0.45     |

## 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)             | 100%         | 90%       | −10    | $0.75         | $0.063                   | 1 of 44  | https://pydantic.dev/models/list/gemini-4-argon/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 60%          | 50%       | −10    | $0.067        | $0.12                    | 3 of 44  | https://pydantic.dev/models/list/gemini-4-argon/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 100%         | 100%      | ±0     | $0.37         | $0.37                    | 1 of 44  | https://pydantic.dev/models/list/gemini-4-argon/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 88.9%        | 88.9%     | ±0     | $1.26         | $1.26                    | 11 of 44 | https://pydantic.dev/models/list/gemini-4-argon/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 100%         | –         | –      | $0.055        | –                        | 1 of 44  | https://pydantic.dev/models/list/gemini-4-argon/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 90%          | –         | –      | $0.0086       | –                        | 2 of 44  | https://pydantic.dev/models/list/gemini-4-argon/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 passed most cases in both modes: Billing ops (tools 100%, code mode 90%), Research & deck (89% both), Structured output (tools 100%), LLM Judge (tools 90%) and SQL data analysis (100% both). It reads rules and data closely and checks figures rather than quoting them. Its failures come from checks it plans but does not carry out, lenient or generic judgments, and verbose or overfull output. Code mode was much cheaper on large-data tasks, but it gave no gain where the tools already limit what code can do.

#### Strengths
- In Structured output it extracted complete accounts in one request per case, scaling £000 filings by 1,000, keeping signs correct and keeping group and parent figures separate.
- In Billing ops it used `Decimal` with `ROUND_HALF_UP` and per-line tax, every reported amount was exact, and all four changes to the books matched the expected ones in 3–4 requests.
- In SQL data analysis it applied the handbook rules in every run (interpolation, `repeats` expansion, previous-day shift, walks within 400 m), and 18 of 20 runs searched beyond the answer before finalising.
- In Research & deck both runs used the restated September revenue, left out the trap images, reconciled COGS and computed gross margin in SQL.
- In LLM Judge its key-point reasons quoted concrete details such as invoice numbers and dates, with no retries or malformed output.

#### Weaknesses
- In Billing ops's failed code-mode `wrong_invoices` run, it checked each line against itself and missed three duplicated-line invoices, even though a code comment had planned that check.
- In LLM Judge it gave generic reasons for `no_contradiction` and `no_false_promise` in 4 of 7 support cases, which caused its one failure against a unanimous 6-judge panel.
- In Research & deck its first drafts overflowed (7 of 8 slides in tools mode), it added unsupported claims such as a self-derived TAM and '100% Repeat-Ordering', and it ignored the 'no team slide' instruction.
- In SQL data analysis 17 of 20 runs hit a DuckDB parser error on the unquoted `at`, and one code-mode pass came after an uncaught `IndexError`.
- In Structured output it returned null instead of 0 for three fields and omitted one zero row; these passed only because the scorer treats them as equal.

#### Tool calling compared with code mode
- In Billing ops tools mode was more accurate (10/10 vs 9/10) but far more expensive on large cases, for example $3.92 vs $0.12 on `wrong_invoices` and $1.85 vs $0.08 on `missed_billed`.
- In SQL data analysis both modes passed 10/10 at nearly equal cost ($3.71 vs $3.67), because the 200-row `run_sql` cap made most `run_code` calls thin SQL wrappers.
- In SQL data analysis code mode helped on the tours (`timed_tour` $0.73 vs $1.17) and hurt on `departure_profile` ($0.52 vs $0.22).
- In Research & deck the cost was identical ($1.26) and code mode used 5 fewer requests, but it asked the founder generic questions up front and missed guidance that the tools run got by asking after reading.
