---
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 11 of 32."
canonical: https://models.pydantic.dev/models/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 11 of 32.
>
> Markdown copy of https://models.pydantic.dev/models/kimi-k3.1-pro/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/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://models.pydantic.dev/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 Accounting](https://models.pydantic.dev/benchmarks/accounting_platform.md)  | 90%          | 80%       | −10    | $0.28         | $0.074                   | 2 of 32  | https://models.pydantic.dev/models/kimi-k3.1-pro/accounting_platform.md |
| [Pydantic AI Support Inbox](https://models.pydantic.dev/benchmarks/support_inbox.md)     | 50%          | 40%       | −10    | $0.15         | $0.18                    | 10 of 32 | https://models.pydantic.dev/models/kimi-k3.1-pro/support_inbox.md       |
| [Pydantic AI Transit Planner](https://models.pydantic.dev/benchmarks/transit_planner.md) | 80%          | 90%       | +10    | $0.74         | $0.57                    | 15 of 32 | https://models.pydantic.dev/models/kimi-k3.1-pro/transit_planner.md     |
| [Pydantic AI Seed Deck](https://models.pydantic.dev/benchmarks/seed_deck.md)             | 67.4%        | 74.8%     | +7.4   | $0.84         | $0.73                    | 27 of 32 | https://models.pydantic.dev/models/kimi-k3.1-pro/seed_deck.md           |
| [Pydantic AI Companies House](https://models.pydantic.dev/benchmarks/companies_house.md) | 100%         | –         | –      | $0.067        | –                        | 1 of 32  | https://models.pydantic.dev/models/kimi-k3.1-pro/companies_house.md     |
| [Pydantic AI Judge Accuracy](https://models.pydantic.dev/benchmarks/judge_accuracy.md)   | 70%          | –         | –      | $0.022        | –                        | 14 of 32 | https://models.pydantic.dev/models/kimi-k3.1-pro/judge_accuracy.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 accounting_platform, 67%/75% on seed_deck, 100% on companies_house (tools only), 70% on judge_accuracy (tools only) and 80%/90% on transit_planner. 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 companies_house it applied sign rules, £000 scaling and group-versus-parent columns correctly in all 10 cases, nine of them in a single request.
- On accounting_platform 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 transit_planner 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 seed_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 judge_accuracy 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 accounting_platform 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 seed_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 judge_accuracy 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 companies_house it used null and 0 inconsistently on unscored fields, and once summed debtors because the checker 'likely expects' it, against the handbook.
- On transit_planner 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 accounting_platform 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 accounting_platform code mode lost requests to seven failed scripts across five runs, from missing imports and `next(generator)`.
- On transit_planner 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 seed_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.
- companies_house and judge_accuracy were run in tool-calling mode only, so there is no comparison for them.
