---
title: "Gemma 4 31B on Pydantic AI - Customer support"
description: "Replying to real, anonymised customer-support conversations, with citations. Tool calling 20%, code mode 20%; rank 38 of 44."
canonical: https://pydantic.dev/models/list/gemma-4-31b-it/customer_support/
---

# Gemma 4 31B on Pydantic AI - Customer support

> Replying to real, anonymised customer-support conversations, with citations. Tool calling 20%, code mode 20%; rank 38 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/gemma-4-31b-it/customer_support/. 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/customer_support.md. The model on every Pydantic AI benchmark: https://pydantic.dev/models/list/gemma-4-31b-it/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost   | Requests | Tool calls | Time    |
| ------------ | ----- | ------------ | ------ | -------- | ---------- | ------- |
| Tool calling | 20%   | 2 of 10      | $0.055 | 94       | 127        | 3.0 min |
| Code mode    | 20%   | 2 of 10      | $0.012 | 26       | 26         | 1.7 min |

Each task was run once per mode.

## Runs

### client-signup-link

**Tool calling: passed.** Not reviewed. ($0.010, 15 requests, 19 s)

**Code mode: failed.** Not reviewed. ($0.0015, 4 requests, 21 s)

### split-payment-top-up

**Tool calling: failed.** Not reviewed. ($0.0020, 6 requests, 10 s)

**Code mode: failed.** Not reviewed. ($0.0008, 2 requests, 8 s)

### bulk-cancel-half-term

**Tool calling: failed.** Not reviewed. ($0.0049, 10 requests, 17 s)

**Code mode: failed.** Not reviewed. ($0.0020, 5 requests, 18 s)

### client-bought-package

**Tool calling: failed.** Not reviewed. ($0.0025, 8 requests, 18 s)

**Code mode: failed.** Not reviewed. ($0.0009, 2 requests, 8 s)

### associated-clients-mcp

**Tool calling: failed.** Not reviewed. ($0.013, 18 requests, 24 s)

**Code mode: failed.** Not reviewed. ($0.0013, 2 requests, 8 s)

### email-students-via-clients

**Tool calling: failed.** Not reviewed. ($0.0013, 5 requests, 10 s)

**Code mode: passed.** Not reviewed. ($0.0009, 2 requests, 8 s)

### cap-label-bug

**Tool calling: failed.** Not reviewed. ($0.0019, 5 requests, 13 s)

**Code mode: failed.** Not reviewed. ($0.0018, 3 requests, 10 s)

### created-filter-not-working

**Tool calling: passed.** Not reviewed. ($0.017, 19 requests, 54 s)

**Code mode: passed.** Not reviewed. ($0.0014, 3 requests, 10 s)

### awaiting-confirmation-list

**Tool calling: failed.** Not reviewed. ($0.0018, 5 requests, 11 s)

**Code mode: failed.** Not reviewed. ($0.0010, 2 requests, 8 s)

### late-cancellation-commission

**Tool calling: failed.** Not reviewed. ($0.0015, 3 requests, 6 s)

**Code mode: failed.** Not reviewed. ($0.0005, 1 requests, 3 s)
