---
title: "GPT-6.1 Sol on Pydantic AI Accounting"
description: "Questions about and changes to a tutoring agency's books, checked to the penny. Tool calling 90%, code mode 80%; rank 2 of 20."
canonical: https://models.pydantic.dev/models/gpt-6.1-sol/accounting_platform/
---

# GPT-6.1 Sol on Pydantic AI Accounting

> Questions about and changes to a tutoring agency's books, checked to the penny. Tool calling 90%, code mode 80%; rank 2 of 20.
>
> Markdown copy of https://models.pydantic.dev/models/gpt-6.1-sol/accounting_platform/. 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/accounting_platform.md. The model on every Pydantic AI benchmark: https://models.pydantic.dev/models/gpt-6.1-sol.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | -------- |
| Tool calling | 90%   | 9 of 10      | $2.77 | 98       | 975        | 14.2 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

The model passed 17 of 20 runs: 9/10 with tool calling and 8/10 in code mode. Every failure was a "wrong invoices" audit (find all overcharged invoices). Lookups, corrections, payments and margin calculations all passed in both modes. Totals: tool calling used 98 requests for $2.77, and code mode used 63 requests for $0.26.

#### Where it does well

- **Write tasks are precise and cheap.** In large-correction-2 it set attendance to missed, voided and reissued the invoice in the right order, dated everything today, and got a 17100 total. Each mode spent about $0.008–0.009 on this. In large-record_payment-1 it converted £501.26 to 50126 and allocated oldest due date first (37626 + 12500), allowing for an earlier 21152 allocation.
- **Business rules are applied correctly.** In both tutor_margin cases it got exact answers (120741, 65045). It filtered to billable statuses, split charges among charged students, rounded half up, and removed tax only for taxable gross lines. In owed_on_invoices it subtracted only the unreleased 3563 allocation.
- **Small lookups take minimal calls.** small-invoice_total-1 took 2 requests in each mode.

#### Mistakes it makes

- **Incomplete audits.** In every wrong_invoices failure it found most overcharges with correct amounts but missed one class of error:

  - In code mode it only re-priced each existing line. It never checked for duplicate (lesson, student) pairs, so it missed INV-00158 (small) and INV-06060/06073/06097 (large).
  - With tool calling on the large case, it checked only about 9 hand-picked lessons. It missed INV-05821/05846/06080, the missed-but-billed invoices.

  In each case the model had already solved these exact sub-problems in the separate duplicate_lines and missed_billed cases.

- **It submits without sanity checks.** After the first pass it did not go back to check line uniqueness or attendance.

- **Its working is often hidden.** In the tool-calling margin and missed_billed runs, the arithmetic and matching are not visible, so correct answers cannot be audited.

- **Minor fragility.** In code mode it hard-coded the gross tax divisor as 6, which is only right at a 20% tax rate. It also made a few wasted calls, such as about 20 stray get_invoice calls in tool-calling missed_billed.

#### Tool calling compared with code mode

On small and write tasks the two modes perform about the same. On bulk data sweeps code mode is far cheaper:

| Case                    | Tools         | Code mode    |
| ----------------------- | ------------- | ------------ |
| large-duplicate_lines-1 | $0.72, 16 req | $0.03, 8 req |
| large-missed_billed-1   | $0.96, 36 req | $0.04, 8 req |
| large-wrong_invoices-1  | $0.77 (fail)  | $0.05 (fail) |

Code mode reliably hit the 100-nested-call limit on its first attempt and recovered by batching, which cost one extra step each time. Tool calling relied on manually scanning long, truncated outputs. That passed duplicate_lines but was risky. It was more thorough on small-wrong_invoices-1 (passed, $0.21), where code mode's narrower check failed. For large data audits, code mode is the better choice on cost, but neither mode can be trusted to cover every class of error without explicit prompting.

## Runs

### small-invoice_total-1

**Tool calling: passed.** The agent called get_invoice for INV-00084, read the 'total' field (89700), and submitted it. That matches the expected answer and the run passed. ($0.0085, 2 requests, 3 s)
- Right: Took the stored invoice total (89700) straight from the get_invoice record with one tool call, which is the minimal path to the answer.
- Right: Gave the answer in integer pence as the handbook requires.

### small-owed_on_invoices-1

**Tool calling: passed.** The agent found client CL-0007, listed its two unpaid invoices (39452 + 49315) and its allocations, subtracted the one unreleased allocation on INV-00155 (3563), and answered 85204, which is correct. ($0.0093, 3 requests, 7 s)
- Right: Called list_invoices and list_allocations in parallel, so the answer took only three tool calls.
- Right: Applied only the unreleased allocation (id 169, 3563) on INV-00155 and ignored the allocations on invoices that are already paid.
- Right: Arithmetic is correct: 39452 - 3563 + 49315 = 85204.

### large-tutor_margin-3

**Tool calling: passed.** The agent found tutor TU-002, listed the 67 October lessons and their attendance, checked three clients' tax status and gave a margin of 120741 pence, which matches the expected answer. ($0.039, 5 requests, 26 s)
- Right: Used search_tutors, then list_lessons with the correct date range (2026-10-01 to 2026-10-31) and pulled attendance for every lesson in a single list_attendance call.
- Right: Got get_settings for the tax rate, which matters for net vs gross lines.
- Right: Looked up is_taxable for clients CL-0097, CL-0269 and CL-0065. This would matter for gross-priced lessons, where the net amount depends on whether tax is taken out.
- Right: Arrived at the exact expected figure of 120741.
- Mistake: The transcript shows no working for the calculation: no code or itemised sum of the 67 lessons appears before final_result. The answer cannot be audited from the transcript, though it is correct.
- Mistake: It is unclear whether every client on a gross-priced lesson had its is_taxable flag checked. Only three get_client calls were made, so if other gross lessons existed the result may partly rest on assumption.

### small-tutor_margin-3

**Tool calling: passed.** The agent looked up tutor Kai Iyer, the settings, his October lessons and their attendance, then checked taxable status for the three clients with gross-priced lessons. It answered 65045 pence, which matches the expected figure. ($0.023, 5 requests, 20 s)
- Right: Narrowed the lesson query to tutor TU-001 and the full month (2026-10-01 to 2026-10-31).
- Right: Pulled attendance for all 37 lessons in one list_attendance call, which shows which students were charged ('missed' students like the one in LS-001419 are not).
- Right: Checked is_taxable only for the clients with gross-priced lessons (CL-0037 false; CL-0002 and CL-0008 true), since that changes the net amount on gross lines. Net-priced lines need no check because their net is the cost either way.
- Right: Counted lessons by the date they took place, regardless of invoiced status, as the margin rule says.
- Right: Took only the calls it needed, with no wasted steps.
- Mistake: No real errors. All the arithmetic was done in hidden reasoning with no visible working, so the many per-line roundings and the tutor-pay sum across 37 lessons cannot be checked from the transcript. The answer matched, so this was not a problem here.

### large-duplicate_lines-1

**Tool calling: passed.** The agent listed all October 2026 invoices over 4 pages, fetched each non-void invoice with get_invoice (around 390 calls), and found the three invoices with a repeated (lesson_id, student_id) line: INV-06060, INV-06073 and INV-06097. This matched the expected answer. ($0.72, 16 requests, 2.6 min)
- Right: Paginated list_invoices with sent_from/sent_to covering all of October, including the late-sent invoices INV-06145 to INV-06154.
- Right: Skipped void invoices (e.g. INV-05811, INV-05817, INV-06144 were not fetched; INV-06069 shown void on page 4).
- Right: Treated a duplicate as the same lesson_id and the same student_id on one invoice, not just the same lesson shared across clients (e.g. LS-042661 appears on INV-05800, INV-05801 and INV-06109 for different students, which is legitimate).
- Right: Gave a clear table naming the student, lesson and date for each duplicate.
- Mistake: The method was expensive: it fetched nearly every invoice one by one. That was unavoidable given the tools, but the transcript shows no attempt to cheapen it, for example by first checking whether an invoice's line count looked anomalous.
- Mistake: The duplicate detection happened in the agent's own reasoning over very long truncated outputs, so a missed duplicate was a real risk. It passed, but the run leaned on careful manual scanning.

### large-missed_billed-1

**Tool calling: passed.** The agent listed the October 2026 invoices across 4 pages and swept attendance for lesson IDs LS-041700 to LS-044699 in batches of 100, looking for 'missed' rows. It then pulled INV-05821, INV-05846 and INV-06080 and returned those three IDs, which match the expected answer. ($0.96, 36 requests, 5.8 min)
- Right: Paged through every October invoice (pages 1–4) rather than stopping at the first page.
- Right: Used batched list_attendance calls of 100 lesson IDs each to cover the September lesson range efficiently instead of querying per invoice.
- Right: Confirmed the candidates by fetching their invoice lines (get_invoice for INV-05846, INV-06080, INV-05821).
- Right: Gave the final answer in the requested IDs format.
- Mistake: The transcript never shows how the three invoices were matched to 'missed' attendance rows. The candidates appear abruptly after the attendance sweep, so the reasoning cannot be checked from the visible record.
- Mistake: It made about 20 individual get_invoice calls (INV-05762 to INV-05780) before switching to the bulk attendance sweep. These were wasted effort.
- Mistake: Its final get_lessons and list_lessons calls (LS-041700, LS-041734, the lessons on 2026-09-01) were not visibly used and look like unfinished checking.
- Mistake: It did not explicitly confirm that the void invoices (e.g. INV-06069) were excluded, though the answer turned out correct.

### large-wrong_invoices-1

**Tool calling: failed.** The agent paged through every October 2026 invoice, opened each one, checked a few suspicious lessons and attendances, and reported 9 overcharged invoices. It missed three that were expected (INV-05821 4875, INV-05846 11700, INV-06080 4050), so the run failed. ($0.77, 15 requests, 3.2 min)
- Right: Listed all four pages of October invoices and fetched the settings (20% tax).
- Right: Fetched invoice details across the whole range, so it had the line data it needed.
- Right: The 9 invoices it reported, and the amounts it gave for them, all match the expected answer.
- Right: Checked attendance and client taxability for the suspicious lessons (e.g. it found that CL-0125 is not taxable, which explains the 1050 tax on INV-05851).
- Mistake: It missed INV-05821 (overcharged by 4875), INV-05846 (11700) and INV-06080 (4050). These were probably lines for lessons that should not have been billed at all: a duplicate line, a missed or non-billable lesson, or a lesson already invoiced. It did not systematically compare every line against the lesson status and attendance records.
- Mistake: Its checks were selective. It called get_lessons and list_attendance only on a few hand-picked lesson IDs (about 9 lessons) instead of checking every invoice line against the lesson status, attendance and charge rules.
- Mistake: It spent a very large number of separate get_invoice calls, yet still did not check every line against the records.

### small-wrong_invoices-1

**Tool calling: passed.** The agent pulled every October 2026 invoice, all September lessons, attendance and client tax status, then found four overcharged invoices. INV-00158 had a duplicated line (4050), INV-00162 charged tax to a non-taxable client (863), INV-00172 had one line priced 6500 against the expected 6000 net, so 7800 vs 7200 (600), and INV-00176 appears to bill a lesson that should not be charged (6000). The answer matched the expected output and passed. ($0.21, 7 requests, 76 s)
- Right: Listed October invoices with the sent_from/sent_to filters and fetched the settings (20% tax) first.
- Right: Fetched the detail of all 37 invoices, so every line could be checked against the rules.
- Right: Read all four pages of September lessons and the attendance for every lesson, which allowed checks on statuses, charge types and attendance.
- Right: Checked each client's is_taxable flag, which caught the wrong 863 tax line on non-taxable CL-0014's INV-00162.
- Right: Spotted the duplicated LS-001226 line in INV-00158 and reported the overcharge as that line's total, 4050.
- Right: Gave overcharges as line totals including tax (e.g. 600 for INV-00172 rather than the 500 net difference), which matches the expected answer.
- Mistake: The run was costly: 37 get_invoice calls and 37 get_client calls, each made one at a time. Calling list_lessons and list_attendance first and fetching only the invoices that looked wrong would have saved many calls.
- Mistake: It gave no explanation of how it reached each overcharge figure, so a colleague could not easily check the result.

### large-correction-2

**Tool calling: passed.** The agent looked up the invoice, set Yara's 7 Oct lesson (LS-045235) to missed, voided INV-06372 dated today and reissued INV-06548 for the remaining three lessons (17100), which credit paid automatically. The state changes match the expected answer and the run passed. ($0.0080, 5 requests, 13 s)
- Right: Got the lesson ID LS-045235 and student ST-0332 straight from the INV-06372 lines instead of searching lessons separately.
- Right: Did the steps in the asked order: update_attendance to missed, then void_invoice dated 2026-11-13, then create_invoice dated 2026-11-13.
- Right: Reissued with exactly the three remaining lines (LS-045914, LS-046583, LS-047246), so the total was 17100.
- Right: Kept tool calls to a minimum, and the summary correctly said the new invoice was paid from the released credit.
- Mistake: The search_clients call for 'Yara Baker' returned client Freya Baker (CL-0234), and the agent never checked that Yara is a student of that client. It turned out fine because the invoice confirmed ST-0332 / CL-0234.
- Mistake: The agent did not check whether CL-0234 had other uninvoiced billable lessons up to the end of October that should also go on the reissue. The task only asked to reissue INV-06372 minus that lesson, so this did not matter here.

### large-record_payment-1

**Tool calling: passed.** The agent found Jane Kelly (CL-0294), listed her unpaid invoices and allocations, and recorded a 50126 payment dated 2026-11-13. It applied 37626 to INV-02840 and 12500 to INV-03247, which matches the expected changes exactly. ($0.013, 4 requests, 10 s)
- Right: Converted £501.26 to 50126 pence and dated the payment today, 2026-11-13.
- Right: Applied the payment oldest due date first. It worked out that INV-02840 (total 58778) still had 37626 outstanding after earlier allocations, then put the remaining 12500 on INV-03247.
- Right: Recorded everything in one record_payment call with explicit allocations, and kept the tool calls to a minimum.
- Mistake: The list_allocations result was cut off in the transcript, so the existing allocations against INV-02840 cannot be checked. The 37626 outstanding figure therefore cannot be confirmed from what is shown, although the agent's allocation matched the expected answer.
