---
title: "Kimi K3.1 Pro 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 76.2%, code mode 71.2% over four benchmarks; rank 12 of 44."
canonical: https://pydantic.dev/models/list/kimi-k3.1-pro/pydantic_ai/
---

# Kimi K3.1 Pro 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 76.2%, code mode 71.2% over four benchmarks; rank 12 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/kimi-k3.1-pro/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/kimi-k3.1-pro.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            | 76.2%        | –         |
| Score, the four with a code mode run | 71.9%        | 71.2%     |
| Cost per task, all six               | $0.35        | –         |
| Cost per task, the four              | $0.50        | $0.39     |

## 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)             | 90%          | 80%       | −10    | $0.28         | $0.074                   | 4 of 44  | https://pydantic.dev/models/list/kimi-k3.1-pro/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 50%          | 40%       | −10    | $0.15         | $0.18                    | 12 of 44 | https://pydantic.dev/models/list/kimi-k3.1-pro/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 80%          | 90%       | +10    | $0.74         | $0.57                    | 16 of 44 | https://pydantic.dev/models/list/kimi-k3.1-pro/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 67.4%        | 74.8%     | +7.4   | $0.84         | $0.73                    | 31 of 44 | https://pydantic.dev/models/list/kimi-k3.1-pro/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 100%         | –         | –      | $0.067        | –                        | 1 of 44  | https://pydantic.dev/models/list/kimi-k3.1-pro/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 70%          | –         | –      | $0.022        | –                        | 18 of 44 | https://pydantic.dev/models/list/kimi-k3.1-pro/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: 90%/80% (tools/code mode) on Billing ops, 67%/75% on Research & deck, 100% on Structured output (tools only), 70% on LLM Judge (tools only) and 80%/90% on SQL data analysis. It reads source material thoroughly and follows domain rules closely. Its failures come from incomplete checks it has already noticed, from guessing what the grader wants, and from repeated avoidable errors in the code-mode sandbox.

#### Strengths
- On Structured output it applied sign rules, £000 scaling and group-versus-parent columns correctly in all 10 cases, nine of them in a single request.
- On Billing ops it passed all 4 changes to the books (oldest-first payment allocation, void and reissue in the right order) and all 4 margin runs, including half-up rounding and non-taxable clients.
- On SQL data analysis it implemented repeats, service-day bitmasks, interpolation and walking margins in every run, and usually iterated until no state improved rather than stopping at the first feasible journey.
- On Research & deck both runs read the whole data room and avoided every planted trap (cancelled-order revenue, delivered vs in-service bikes, the prototype photo).
- On LLM Judge it caught concrete factual conflicts such as an integration claim against an empty integrations list, and matched the panel on key points in 6 of 7 support cases.

#### Weaknesses
- On Billing ops all three failures were the multi-check wrong-invoices audit, and in each one its notes named the missing error types before it answered anyway.
- On Research & deck it asked the founder too few, poorly targeted questions, so each run met only half the brief and failed `kestrel-cargo` in both modes.
- On LLM Judge it was lenient on `no_contradiction`/`no_false_promise` and inconsistent in strictness, and in at least five cases its reasoning tried to infer the expected labels.
- On Structured output it used null and 0 inconsistently on unscored fields, and once summed debtors because the checker 'likely expects' it, against the handbook.
- On SQL data analysis it ran out of the 80-request limit on the tools `tour` run, and it repeated the same errors across runs: the DuckDB `at` keyword and unsupported sandbox modules (`heapq`, `time`).

#### Tool calling compared with code mode
- On Billing ops code mode was much cheaper on large data ($0.07 vs $1.19 for duplicate lines), but on the small wrong-invoices case tool calling passed where the code-mode script tested only what it was written to test.
- On Billing ops code mode lost requests to seven failed scripts across five runs, from missing imports and `next(generator)`.
- On SQL data analysis code mode cost $5.73 vs $7.41 and was faster when the search ran in Python (`arrive_by` 18 vs 35 requests), but slower when it only wrapped single SQL calls (`one_vehicle` 31 vs 19).
- On Research & deck code mode cost $0.73 vs $0.84 and interpolated computed figures into the HTML, while tool calling had to re-send the whole ~35k-character deck for a one-rule CSS fix.
- Structured output and LLM Judge were run in tool-calling mode only, so there is no comparison for them.
