---
title: "MiMo-V2.6-Pro on Pydantic AI - Billing ops"
description: "Questions about and changes to a tutoring agency's books, checked to the penny. Tool calling 70%, code mode 90%; rank 21 of 44."
canonical: https://pydantic.dev/models/list/mimo-v2.6-pro/billing_ops/
---

# MiMo-V2.6-Pro on Pydantic AI - Billing ops

> Questions about and changes to a tutoring agency's books, checked to the penny. Tool calling 70%, code mode 90%; rank 21 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/mimo-v2.6-pro/billing_ops/. 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/billing_ops.md. The model on every Pydantic AI benchmark: https://pydantic.dev/models/list/mimo-v2.6-pro/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost   | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ------ | -------- | ---------- | -------- |
| Tool calling | 70%   | 7 of 10      | $1.07  | 83       | 1040       | 28.4 min |
| Code mode    | 90%   | 9 of 10      | $0.087 | 92       | 97         | 18.2 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

MiMo-v2.6-pro passed 16 of 20 cases: 7 of 10 in tool calling and 9 of 10 in code mode. All six write tasks (correction and payment recording) and all simple lookups passed in both modes. Every failure was on a calculation over many records or an audit of many invoices.

#### Where it does well

- **Write tasks:** in `large-correction-2` it marked the student `missed`, voided INV-06372 with a 22800 credit note, released allocation LE-013390, and raised a new 17100 invoice paid from credit. Every change matched in both modes. In `large-record_payment-1` it applied the payment oldest due date first (37626 then 12500), also exact in both modes.
- **Rules:** it applies the handbook carefully: split rounding (1312.5→1313), backing gross tax out with cost/6, non-taxable gross lines taken at full cost, and tutor pay for lessons where the student missed.
- **Code-mode habits:** it computes with `Decimal` ROUND_HALF_UP and checks the result a second way.

#### Mistakes it makes

- **Hand arithmetic over long lists (2 tool-mode failures):** both tutor-margin failures came from doing the sums by hand in its reasoning. In `small-tutor_margin-3` it filed LS-001690 (1.5h, 3750) among the 1-hour 4500 lessons, which is off by exactly 288. In `large-tutor_margin-3` it dropped an 8250 line from 67 lessons. Its "double-checks" re-added the same hand-built list, so they didn't catch either error.
- **Incomplete audits (both `large-wrong_invoices-1` runs):** in tool mode it checked tax status and attendance globally but only spot-checked line pricing. It found 6 of 12 and still claimed every other invoice was correct. Code mode recomputed every line and found 9 of 12, but missed the three duplicate-line invoices because it never checked for repeated (lesson, student) pairs. It did find exactly those invoices in the separate `large-duplicate_lines-1` case.
- **Output format:** in code mode it once answered in plain text instead of calling `final_result`, which caused a validation retry.

#### Tool calling compared with code mode

On the same 10 questions, code mode was both more accurate (9 vs 7) and far cheaper:

- **Tutor margin:** both cases flipped from fail to pass in code mode, because Python did the sums.
- **Cost on the large audits:** tool mode cost $0.15–$0.42 each (`large-missed_billed-1` $0.373, `large-wrong_invoices-1` $0.416). Code mode cost about $0.01–$0.02 for the same cases, because long tool results filled the context in tool mode.
- **Total cost:** about $1.06 in tool mode against $0.09 in code mode.
- **Where tool mode was fine:** small lookups and the write tasks cost about the same in either mode.

## Runs

### small-invoice_total-1

**Tool calling: passed.** It returned 89700, which was correct, in 2 requests. ($0.0024, 2 requests, 2 s)
- Right: Direct and cheap

**Code mode: passed.** It returned 89700, which was correct, in 2 requests. ($0.0009, 2 requests, 2 s)
- Right: Cheap and direct

### small-owed_on_invoices-1

**Tool calling: passed.** It returned 85204, which was correct, in 3 requests. ($0.0010, 3 requests, 4 s)
- Right: Correctly subtracted allocations from the unpaid invoices

**Code mode: passed.** It returned 85204, which was correct. ($0.0019, 5 requests, 2.9 min)
- Right: Correct in 5 requests

### large-tutor_margin-3

**Tool calling: failed.** It worked through all 67 billable lessons by hand in its reasoning. Tutor pay of 239575 was right, but net charges came to 352066 instead of 360316, giving 112491 instead of 120741. ($0.027, 5 requests, 69 s)
- Right: Tutor pay total matched code mode (239575)
- Right: Applied the split rounding (1312.5→1313), gross tax backed out at /6, and non-taxable gross lines at full cost
- Mistake: In the final message (msg 9) it under-counted net charges by exactly 8250, one 5500×1.5 line for ST-0310. Code mode, working from the same data, got 360316. It most likely treated one of ST-0310's lessons as `missed` when it was charged
- Mistake: Its 'independent' re-check re-summed the same hand-built list, so the transcription error survived. It should have rebuilt the figure from the attendance records instead

**Code mode: passed.** It computed the margin in Python with `Decimal` half-up rounding: net charges 360316, tutor pay 239575, margin 120741. Correct. ($0.0099, 9 requests, 2.7 min)
- Right: Computing in code avoided the transcription error tool mode made
- Right: Cross-checked the result with two methods
- Mistake: Its first final answer was plain text instead of a `final_result` call, which caused a JSON validation retry (msg 16)

### small-tutor_margin-3

**Tool calling: failed.** It worked out Kai Iyer's October margin by hand and got 65333 instead of 65045. ($0.012, 5 requests, 56 s)
- Right: Correct billable set (37 lessons), the 4 missed lessons excluded from charges, and tutor pay included for them
- Right: Handled non-taxable gross lines correctly
- Mistake: In msg 9 it grouped LS-001690 (CL-0002, Piano, 1.5h at 3750, tutor rate 2350, `missed_chargeable`) with CL-0008's 1-hour 4500 lessons. That counted net 3750 instead of 4687 and tutor pay 2300 instead of 3525, which explains the 288 difference exactly (-937 + 1225)
- Mistake: Its double-check re-added the same mis-grouped list

**Code mode: passed.** It computed in Python: 187435 net charged, 122390 tutor pay, margin 65045. Correct. ($0.0086, 6 requests, 2.1 min)
- Right: Used `Decimal` with ROUND_HALF_UP, looked up taxability per client, and re-verified the gross lines in a second pass

### large-duplicate_lines-1

**Tool calling: passed.** It found the 3 invoices with duplicated lines (INV-06060, INV-06073, INV-06097). Passed. ($0.15, 16 requests, 86 s)
- Right: Correct set of ids
- Mistake: Expensive: 16 requests and $0.154, against $0.01 in code mode

**Code mode: passed.** It found INV-06060, INV-06073 and INV-06097 correctly. ($0.0100, 11 requests, 1.8 min)
- Right: Correct, in 11 requests for $0.01

### large-missed_billed-1

**Tool calling: passed.** It found the 3 invoices that billed `missed` students (INV-05821, INV-05846, INV-06080). Passed. ($0.37, 16 requests, 9.1 min)
- Right: Correct ids
- Mistake: Very expensive: 16 requests and $0.373, against $0.011 in code mode

**Code mode: passed.** It found INV-05821, INV-05846 and INV-06080 correctly. ($0.011, 12 requests, 2.4 min)
- Right: Correct, in 12 requests for $0.011

### large-wrong_invoices-1

**Tool calling: failed.** It returned 6 of the 12 overcharged invoices: three `missed` students who were billed and three non-taxable clients charged tax. It missed three wrong-rate invoices (INV-05791, INV-05877, INV-06017) and three duplicate-line invoices (INV-06060, INV-06073, INV-06097). ($0.42, 16 requests, 13.5 min)
- Right: All 6 overcharges it reported were exactly right
- Right: Scanned the attendance of all 2957 September lessons for missed-but-billed students
- Mistake: It checked tax status and attendance across all invoices but only spot-checked line pricing on about 10 invoices, then claimed 'all other October invoices charge the correct amounts'
- Mistake: It never checked for duplicate lines, even though that is a known fault type on this dataset
- Mistake: Used 16 requests and cost $0.416

**Code mode: failed.** It recomputed every line of all 384 non-void October invoices and found 9 of 12, including the three wrong-rate invoices. It missed the three duplicate-line invoices (INV-06060, INV-06073, INV-06097). ($0.019, 18 requests, 55 s)
- Right: All 9 amounts it reported were correct (for example INV-05791 600 and INV-06017 500)
- Right: Recomputed every line rather than spot-checking
- Mistake: Its line-by-line recompute compared each line with its own expected price, so a lesson and student billed twice on one invoice looked correct. It should also have checked each invoice for repeated (lesson_id, student_id) pairs

### small-wrong_invoices-1

**Tool calling: passed.** It found all 4 overcharged invoices with the correct amounts in 7 requests. ($0.073, 7 requests, 1.6 min)
- Right: Exact rows, including the 863 split-rounding case

**Code mode: passed.** It found all 4 overcharged invoices with the correct amounts. ($0.017, 17 requests, 80 s)
- Right: Correct rows
- Mistake: Took 17 requests, against 7 in tool mode

### large-correction-2

**Tool calling: passed.** It marked ST-0332 `missed` on LS-045235, voided INV-06372 with a 22800 credit note, released allocation LE-013390 and re-invoiced the 3 remaining lessons for 17100, paid from credit. Every change matched the expected diff. ($0.0027, 6 requests, 21 s)
- Right: All five tables (attendance, invoices, invoice_lines, ledger_entries, allocations) matched exactly
- Right: Took only 6 requests and cost $0.0027

**Code mode: passed.** It made the same full correction as tool mode (attendance change, void plus credit note, released allocation, new 17100 invoice paid from credit). Matched exactly. ($0.0040, 6 requests, 3.4 min)
- Right: Correct in 6 requests for $0.004

### large-record_payment-1

**Tool calling: passed.** It recorded the 50126 payment for CL-0294 and applied it oldest due date first: 37626 to INV-02840 (now paid) and 12500 to INV-03247. Matched exactly. ($0.0058, 7 requests, 16 s)
- Right: Allocation order and amounts were right
- Right: Its summary correctly said 12504 is still owed on INV-03247

**Code mode: passed.** It recorded the 50126 payment and allocated 37626 to INV-02840 and 12500 to INV-03247. Matched exactly. ($0.0037, 6 requests, 37 s)
- Right: Correct in 6 requests
