---
title: "Gemini 4 Carbon on Pydantic AI Support Inbox"
description: "Replying to real, anonymised customer-support conversations, with citations. Tool calling 60%, code mode 50%; rank 1 of 20."
canonical: https://models.pydantic.dev/models/gemini-4-carbon/support_inbox/
---

# Gemini 4 Carbon on Pydantic AI Support Inbox

> Replying to real, anonymised customer-support conversations, with citations. Tool calling 60%, code mode 50%; rank 1 of 20.
>
> Markdown copy of https://models.pydantic.dev/models/gemini-4-carbon/support_inbox/. 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>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of the first three. An `OPTIONS` request to any endpoint returns its schema. The same four 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/support_inbox.md. The model on every Pydantic AI benchmark: https://models.pydantic.dev/models/gemini-4-carbon.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | -------- |
| Tool calling | 60%   | 6 of 10      | $1.78 | 112      | 347        | 34.4 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

The model passed **11 of 20** runs: **6/10 with tool calling** and **5/10 in code mode**. It handles straightforward how-to questions well. It is weaker when a question needs judgement, such as deciding to escalate, picking out the one core mechanism, or answering a customer's real worry. Four cases failed in both modes, so the weaknesses do not depend on the mode.

#### Where it does well

- **Simple how-to questions passed in both modes.** This covered five cases, including client-signup-link, which was handled with very few requests at low cost.
- **It finds earlier support answers and uses them.** In several cases it located a past conversation that answered the same question, or one confirming that a requested feature does not exist.
- **It usually picks the right action and cites the key articles.** In created-filter-not-working it correctly chose to ask for more information in both modes.

#### Mistakes it makes

- **It leaves out the core answer.** In two cases, in both modes, it never stated the one mechanism the customer needed to know.
- **It answers the customer's worry the wrong way round.** In split-payment-top-up (both modes) it told the customer a double charge would happen when it would not.
- **It does not escalate a bug.** In cap-label-bug (both modes) it called a defect expected behaviour and replied instead of escalating, even though a conversation it had retrieved pointed to a defect.
- **It contradicts sources it retrieved.** In one case its suggested workaround went against past conversations it had read.
- **It writes long, padded replies.**
  - It adds unrequested sections and alternatives.
  - It makes claims that nothing it read confirms.
  - It over-cites, listing many articles and conversations for a single how-to.
- **It searches wastefully.** Some runs made dozens of near-duplicate searches. In one tool run it also produced invalid output and had to recover.

#### Tool calling compared with code mode

|                  | Tools  | Code mode |
| ---------------- | ------ | --------- |
| Pass rate        | 6/10   | 5/10      |
| Relative cost    | Lower  | Clearly higher |
| Requests per run | Slightly fewer | Slightly more |

- **Code mode cost more on every case**, roughly two-thirds more in total.
- **Code mode did not improve accuracy.** The two modes differed on only one case. In created-filter-not-working, code mode failed: it didn't ask for the key detail and added speculative tips, using many more requests and costing much more than the passing tool run.
- **Failed runs cost more in both modes.** With tool calling, failures cost more than twice as much as passes on average. cap-label-bug and late-cancellation-commission were the most expensive runs in each mode.

Tool calling gives slightly better accuracy at clearly lower cost. Neither mode fixes the judgement errors.

## Runs

### client-signup-link

**Tool calling: passed.** The agent found a past support answer to the identical question and replied with the correct steps to enable self-signup and find the link. The run passed. ($0.041, 5 requests, 40 s)
- Right: It searched the help centre and past conversations in parallel and found a matching earlier answer.
- Right: It confirmed the details in the help centre.
- Right: It covered all three key points.
- Right: It anticipated the customer's actual follow-up and offered a suitable alternative.
- Mistake: It mentioned an option that no fetched article confirmed, and the claim wasn't needed.
- Mistake: The reply was more elaborate than needed, and it fetched an article it didn't use.

### split-payment-top-up

**Tool calling: failed.** The agent researched the relevant topics and explained how to refund the credit, but framed the situation as a double charge instead of reassuring the customer. The run failed. ($0.15, 9 requests, 4.7 min)
- Right: It found and cited the key articles.
- Right: It correctly explained why the credit couldn't be applied, backed by past conversations.
- Right: It gave the correct refund steps.
- Right: It correctly pointed to the setting that prevents this and its scope.
- Mistake: It told the customer a double charge would happen, answering her main worry the wrong way round.
- Mistake: It added a speculative, unrequested workaround.
- Mistake: It presented the refund as required rather than optional.
- Mistake: The message was overly long and heavily formatted, and its sign-off didn't follow the house style.

### bulk-cancel-half-term

**Tool calling: passed.** The agent researched the relevant articles and conversations and replied that lessons can't be bulk-cancelled but can be bulk-deleted and later recovered. The run passed. ($0.092, 9 requests, 86 s)
- Right: It fetched both expected key articles.
- Right: It used a recent feature-request conversation instead of outdated workarounds.
- Right: It confirmed the recovery behaviour from an announcement.
- Right: The reply covered every key point.
- Right: It added a useful tip for avoiding the problem in future.
- Mistake: It made extra calls, such as fetching the customer's unrelated past tickets, that added nothing.
- Mistake: It didn't clearly offer individual cancellation as the alternative when cancellation status matters.
- Mistake: It cited extra articles beyond the core sources.

### client-bought-package

**Tool calling: passed.** The agent researched the relevant articles and past refund conversations, then replied with the cause, how to disable the feature and the refund steps. The run passed. ($0.11, 8 requests, 85 s)
- Right: It identified the cause from the help centre.
- Right: It gave the correct steps to turn the feature off.
- Right: It gave grounded refund steps.
- Right: It mentioned a reasonable related safeguard.
- Right: It cited both expected articles.
- Mistake: It missed the simpler alternative in the reference answer.
- Mistake: Its citations were padded with marginal sources.
- Mistake: The reply was long and included unrequested extras.
- Mistake: It spent calls on lookups that didn't feed into the answer.

### associated-clients-mcp

**Tool calling: failed.** The agent researched the relevant articles and replied that the change can't be done in bulk in the app or by import but can be done through an integration tool. It failed because it buried that under unrequested material and never explained the remove-then-add mechanism. ($0.17, 11 requests, 2.9 min)
- Right: It chose the correct action, reply.
- Right: It correctly said the import tool can't handle this case.
- Right: It correctly said the integration tool can add and remove these records.
- Right: It mentioned the access permission needed when connecting the tool.
- Right: It cited the two key help articles.
- Mistake: It never explained that a change means removing the old record and adding the new one, and its wording implied a single edit step that doesn't exist.
- Mistake: It added a long section on a different record type that the customer didn't ask about.
- Mistake: It included rate-limit details drawn from a loosely related conversation and its own inferences, which were unnecessary and possibly inaccurate.
- Mistake: It claimed another interface could do this without checking the help centre.
- Mistake: It missed a default behaviour and a practical suggestion for organising the work that the reference included.

### email-students-via-clients

**Tool calling: passed.** The agent researched the relevant articles and conversations and replied with the correct approach of tagging the linked clients and sending a filtered broadcast. The run passed. ($0.13, 12 requests, 5.5 min)
- Right: It chose the correct action, reply.
- Right: It cited the key expected article.
- Right: It gave both key points.
- Right: It grounded the advice in a matching past support answer.
- Mistake: It added several claims that nothing it read confirms.
- Mistake: It over-cited loosely related articles.
- Mistake: The reply was much longer than needed, and its many searches were somewhat wasteful.

### cap-label-bug

**Tool calling: failed.** The agent researched at length and replied that the behaviour was expected, giving manual workaround steps. The expected action was to escalate it as a bug, so the run failed. ($0.40, 20 requests, 6.8 min)
- Right: It correctly identified the actual cause rather than the suggested ones.
- Right: It gave the correct manual workaround.
- Right: It cited the expected help article.
- Right: It corrected an earlier wrong explanation instead of repeating it.
- Mistake: It called the behaviour expected, although a conversation it retrieved pointed to a defect.
- Mistake: It chose reply instead of escalate, even though it had read conversations showing similar bugs being raised with developers.
- Mistake: It cited weakly related conversations and missed a relevant one it had retrieved.
- Mistake: It made many redundant searches without changing its conclusion.

### created-filter-not-working

**Tool calling: passed.** The agent searched past conversations and articles, found no known bug, and asked the customer what they saw, for screenshots and for an example record. The run passed. ($0.19, 15 requests, 3.5 min)
- Right: It chose ask, which suited a vague bug report.
- Right: The message covered the expected points.
- Right: It checked the customer's own history and found nothing relevant.
- Right: It followed the pattern in similar recent bug reports.
- Right: It promised nothing beyond investigating or passing the issue on.
- Mistake: It produced invalid output midway and had to recover from a validation error.
- Mistake: It ran many near-duplicate searches and opened irrelevant threads.
- Mistake: It covered the key detail only indirectly instead of asking for it directly.
- Mistake: Its cited conversations and articles added little support.
- Mistake: An added tip wasn't grounded in any source it read.

### awaiting-confirmation-list

**Tool calling: passed.** The agent read the relevant articles and past support answers, then replied with the correct location of these lessons, how to filter for them and the related reminder email. The run passed. ($0.077, 8 requests, 88 s)
- Right: It correctly explained where these lessons appear, consistent with past support answers.
- Right: It gave the correct navigation and a date filter that dealt with the customer's ordering problem.
- Right: It covered all three key points.
- Right: It chose the correct action, reply, and cited the key article.
- Mistake: It made sorting the primary step and filtering the alternative, the reverse of the reference.
- Mistake: It did not explain the underlying status, or why the unexpected lessons appeared first.
- Mistake: It fetched loosely related conversations and cited an article the reply did not use.

### late-cancellation-commission

**Tool calling: failed.** The agent researched widely and replied with steps to adjust the rates and invoice manually, plus caveats and an alternative. The run failed. ($0.43, 15 requests, 6.1 min)
- Right: It correctly identified the status the lesson needed.
- Right: It told the customer to generate and raise the invoice manually.
- Right: It cited the expected help article.
- Right: It correctly explained a relevant side effect of the rate change.
- Mistake: It never explained that the automatic process wouldn't pick up this lesson.
- Mistake: It framed the answer around a setup that likely didn't apply to the customer.
- Mistake: Its alternative contradicted its own advice and conflicted with a conversation it cited.
- Mistake: It missed a key point about lessons with more than one participant.
- Mistake: It didn't warn the customer to check the lesson's status first.
- Mistake: One claim conflicted with earlier support guidance.
- Mistake: It over-cited irrelevant sources.
