---
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 88.1%, code mode 82.2% over four benchmarks; rank 3 of 32."
canonical: https://models.pydantic.dev/models/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 88.1%, code mode 82.2% over four benchmarks; rank 3 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/gemini-4-argon/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/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://models.pydantic.dev/codemode.md).

|                                      | Tool calling | Code mode |
| ------------------------------------ | ------------ | --------- |
| Score, all six benchmarks            | 88.1%        | –         |
| Score, the four with a code mode run | 84.7%        | 82.2%     |
| Cost per task, all six               | $0.38        | –         |
| Cost per task, the four              | $0.56        | $0.45     |

## 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%          | 90%       | ±0     | $0.54         | $0.063                   | 2 of 32 | https://models.pydantic.dev/models/gemini-4-argon/accounting_platform.md |
| [Pydantic AI Support Inbox](https://models.pydantic.dev/benchmarks/support_inbox.md)     | 60%          | 50%       | −10    | $0.067        | $0.12                    | 2 of 32 | https://models.pydantic.dev/models/gemini-4-argon/support_inbox.md       |
| [Pydantic AI Transit Planner](https://models.pydantic.dev/benchmarks/transit_planner.md) | 100%         | 100%      | ±0     | $0.37         | $0.37                    | 1 of 32 | https://models.pydantic.dev/models/gemini-4-argon/transit_planner.md     |
| [Pydantic AI Seed Deck](https://models.pydantic.dev/benchmarks/seed_deck.md)             | 88.9%        | 88.9%     | ±0     | $1.26         | $1.26                    | 6 of 32 | https://models.pydantic.dev/models/gemini-4-argon/seed_deck.md           |
| [Pydantic AI Companies House](https://models.pydantic.dev/benchmarks/companies_house.md) | 100%         | –         | –      | $0.055        | –                        | 1 of 32 | https://models.pydantic.dev/models/gemini-4-argon/companies_house.md     |
| [Pydantic AI Judge Accuracy](https://models.pydantic.dev/benchmarks/judge_accuracy.md)   | 90%          | –         | –      | $0.0086       | –                        | 2 of 32 | https://models.pydantic.dev/models/gemini-4-argon/judge_accuracy.md      |

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
This model passed most cases across five benchmarks: 100% on companies_house and transit_planner, 90% on accounting_platform and judge_accuracy, and 89% on seed_deck in both modes. Its failures came from incomplete or unsystematic checking rather than tool-use errors: an unfinished large audit, a missed duplicate-line check, and a rubber-stamped contradiction verdict. Code mode matched tool calling on accuracy everywhere it was tested, and it cost far less only on bulk data work.

#### Strengths
- On companies_house it extracted all 10 filings in a single request each, scaling £000 figures, applying signs and keeping group and parent figures separate, with no validation retries.
- On transit_planner it applied every routing rule (distance interpolation, `repeats` expansion, 400 m walks, previous-day shift) and checked alternatives before finalising in 18 of 20 runs.
- On accounting_platform it got all change, lookup and margin cases exact, including margin arithmetic over 75 lessons in tool calling without code.
- On seed_deck both runs reconciled cost figures, used restated revenue and avoided every data-room trap, reaching `check_deck` = `ok`.
- It batches parallel calls well, issuing up to 16 `read_file` calls in one seed_deck turn and grouping invoice, client and attendance reads on accounting_platform.

#### Weaknesses
- On accounting_platform's `large-wrong_invoices-1` it sampled invoices ad hoc in tool calling until it timed out at 1200 s, and in code mode it skipped a duplicate-line check it had used on the small case, returning 9 of 12 invoices.
- On judge_accuracy it gave generic reasons for `no_contradiction` and `no_false_promise` in 4 of 7 support cases, which caused its one failure, and it was lenient where the handbook says strict.
- On seed_deck its first drafts overflowed (7 of 8 slides in tool calling), and both runs included unsupported claims such as a self-derived TAM or '100% Repeat-Ordering'.
- On transit_planner 17 of 20 runs hit a DuckDB error on the unquoted `at` keyword, and the tool-calling tour cases spent 10 to 15 calls re-checking legs already chosen.
- On companies_house it returned null or omitted rows where 0 was expected in 3 of 10 cases, and these passed only because the scorer treats null as zero.

#### Tool calling compared with code mode
- On accounting_platform pass rates were equal at 90%, but the three large audits cost $0.92 to $1.85 in tool calling against $0.07 to $0.12 in code mode, because the 384 invoices stayed in sandbox variables.
- On accounting_platform code mode used more requests on small cases (11 against 5 on `small-wrong_invoices-1`) and guessed nonexistent response keys three times.
- On transit_planner code mode matched tool calling in accuracy and cost, because most `run_code` calls only wrapped `run_sql` under a 200-row cap; it helped on tours and hurt on `departure_profile`.
- On seed_deck cost was identical and code mode used 5 fewer requests, patching a single slide instead of rewriting a 62-66k-character file, but it asked the founder generic questions up front and missed specific guidance.
