GitHub
Assistant models

Models for the assistant

Ledgeline tests the assistant against real models with a fixed set of tasks. The books are invented. This page lists the results for each model tried, so you can pick one that does what you need.

Treat the results as a rough guide. Each task ran twice per model, so a single failure may be chance. The times depend on the machine running the model, so compare them only between models measured on the same machine.

Recommendations

The tasks

TaskWhat it asks
Monthly groceriesGrocery spending per month for a quarter
Largest grocery purchaseThe single biggest grocery charge
Net worthNet worth, from Ledgeline’s own report
Refuses to writeAt Read access, a request to rename an account, which it must refuse and explain
Spending chartA bar chart of spending by category
Top payeesThe payees with the most spending
Order emailRead an order email, list the items and prices, and find the matching card charge
Add a transactionPropose one new transaction
RecategorizeMove one charge to a new account the books haven’t declared
Rename an accountRename an account everywhere
Fix an opening balanceCorrect one amount in an opening balance whose equity side is inferred
House as a commodityTurn a house tracked by revaluation entries into a commodity with market prices

A task passes when the answer has the right figures and every figure comes from the books, or, for a change, when Ledgeline’s checks pass and the approved result is right.

Results

Summary

gemma 4 31BInkling 2 miniQwen 3.6 35B-A3BQwen 3.8 27Bgemma 4 26B-A4BQwen 3.8 Flash Nextgemma 4 31B QAT
Size31.3B, densenot published35B, 3B active27B, dense26B, 4B activenot published31B, dense
QuantizationQ4_K_M (Ollama gemma4:31b)UD-IQ4_XSQ4Q8Q8UD-Q4UD-Q4_K_XL, quantization-aware
ServerOllama 0.40.18llama.cpp b12756llama.cpp b12756llama.cpp b12756llama.cpp b12756llama.cpp b12756llama.cpp b12756, with a draft model (MTP)
MachineApple M5 Max, 64 GBAMD Strix Halo, 128 GBAMD Strix Halo, 128 GBAMD Strix Halo, 128 GBAMD Strix Halo, 128 GBAMD Strix Halo, 128 GBAMD Strix Halo, 128 GB
Context window262,144131,072262,144262,144262,144131,072262,144
Prompt version6566666
Passed24/2422/2417/24 (19/24 with the net worth re-run)18/24 (20/24 with the net worth re-run)21/2423/2424/24
Average time per task60 s42 s57 s141 s71 s60 s64 s
Average calls per task2.04.52.42.32.23.92.5
Refused calls4330758
Empty replies0000000
Ran out of rounds0300000
Output speed19 tokens/snot recordednot recorded7 tokens/s36 tokens/s33 tokens/s25 tokens/s

Each task ran twice, on 2026-11-28, with Ledgeline 0.3.0 and 10 tool rounds per message. The context window is what the server reported. Refused calls are lookups or proposals Ledgeline turned down, each one a wasted round. Empty replies are replies with nothing in them, usually a lookup the server couldn’t read and dropped; the chat says so and the model is asked again. A task can pass and still run out of rounds, when the scoring only checks that nothing was written.

Output speed is the tokens the model wrote over the whole time spent in model requests, reading the prompt included, so it is a floor on what the server can do. It was first recorded for Qwen 3.8. gemma 4 26B-A4B was the first model run after the fix below, and got the net worth right.

gemma 4 31B on the Mac is its third run, with prompt version 6 on an otherwise idle machine. The first, with version 5, also passed every task, averaging 78 seconds. A second, on version 6 while the Mac was busy with other work, took about two and a half times as long everywhere (7 tokens a second) and ran out of time on the order email and the house. All three are in the raw results.

Both Qwen models reported the net worth as $2,142,004.00, 100 times the real $21,420.04. The bug was in Ledgeline, not the models. Its reports sent each amount as a whole number plus a count of decimal places, and the Qwen models read the whole number as the amount. Reports now send amounts as plain decimals like 21420.04. Run again after the fix, both Qwen models got the net worth right in both attempts.

Qwen 3.6’s average time is inflated by two attempts that hit the time limit: one waiting on the house task, and one where the connection to its server failed. Prompt version 6 adds a reference of the proposal format to the manuals the assistant searches, and a warning on the last tool round. Inkling 2 mini ran out of rounds on version 5, which is what those changes are for.

By task

Each cell is passes out of two, the typical number of calls, and refused calls over both attempts.

Taskgemma 4 31BInkling 2 miniQwen 3.6 35B-A3BQwen 3.8 27Bgemma 4 26B-A4BQwen 3.8 Flash Nextgemma 4 31B QAT
Monthly groceries2/2, 1 call2/2, 1 call2/2, 1 call2/2, 1 call2/2, 1 call2/2, 1 call2/2, 1 call
Largest grocery purchase2/2, 1 call2/2, 1–4 calls2/2, 1 call2/2, 1 call2/2, 2 calls2/2, 1 call2/2, 2 calls
Net worth2/2, 1 call2/2, 2 calls0/2: $2,142,004.00, see above; 2/2 when re-run0/2: $2,142,004.00, see above; 2/2 when re-run2/2, 1 call2/2, 1 call2/2, 1 call
Refuses to write2/2, no calls2/2, 8–11 calls (one ran out of rounds)2/2, 2 calls2/2, 3–5 calls2/2, no calls2/2, 5–7 calls2/2, 1–2 calls
Spending chart2/2, 2 calls2/2, 2 calls2/2, 2–3 calls2/2, 3 calls2/2, 2 calls2/2, 3–4 calls2/2, 2 calls
Top payees2/2, 1 call2/2, 2 calls2/2, 1 call2/2, 1 call2/2, 1 call2/2, 1 call2/2, 1–2 calls
Order email2/2, 2–3 calls, 3 refused2/2, 4–5 calls, 2 refused1/2, 4 calls, 2 refused (one lost connection)0/2: timed out before its first lookup2/2, 2–3 calls, 3 refused2/2, 4–6 calls, 4 refused2/2, 2–3 calls, 3 refused
Add a transaction2/2, 3 calls2/2, 5 calls2/2, 2–3 calls2/2, 2 calls2/2, 2–3 calls2/2, 3–5 calls2/2, 2 calls
Recategorize2/2, 2 calls2/2, 5 calls, 1 refused2/2, 2 calls2/2, 2–6 calls2/2, 2 calls2/2, 3 calls2/2, 2 calls
Rename an account2/2, 1 call2/2, 3–5 calls2/2, 1 call2/2, 2–3 calls2/2, 1 call2/2, 3 calls2/2, 1 call
Fix an opening balance2/2, 3–4 calls2/2, 5 calls0/2: wrote the inferred amount out, or stopped before proposing2/2, 3–4 calls1/2, 5–7 calls, 2 refused (one promised the savings balance would not change)2/2, 4 calls2/2, 4 calls, 2 refused
House as a commodity2/2, 6–7 calls, 1 refused, 4 to 7 minutes0/2: ran out of rounds searching the manuals0/2: stopped, or timed out, before proposing0/2: timed out reading the books0/2: timed out, once with a proposal failing hledger’s accounts check1/2, 12–17 calls; the other stopped after one refused proposal2/2, 9 calls, 3 refused, about 6 minutes

The raw results are in fixtures/ai-eval/results in the source repository.

Testing a model yourself

The tests are in Ledgeline’s source repository, in fixtures/ai-eval. With a checkout, just ai-eval runs them against any model you can reach, and writes a results file you can compare with the ones above. Its README explains the options. A hosted model is only sent the invented books when you pass --hosted.